原创 《快學Scala》, 習題第二章

1. The signum of a number is 1 if the number is positive, -1 if it is negative, and 0 if it is zero. Write a functi

原创 《快學Scala》, 習題第一章

REPL: 1. In the scala REPL, type 3. followed by the Tab key. What methods can be applied? 在Scala REPL中鍵入3.然後按Tab鍵

原创 《快學Scala》, 習題第三章

1. Write a code snippet that sets a to an array of n random integers between 0 (inclusive) and n (exclusive). def

原创 搭建shadowsocks

購買雲主機 購買Amazon EC2,參考這篇文章 安裝服務端 參考這篇文章,配置/etc/shadowsocks.json,執行nohup ssserver -c /etc/shadowsocks.json &後臺啓動。 安裝客戶端 L

原创 【每日視野】2016-09-01

Maven Wget與Curl wget url -O outfile curl url -o outfile Hive Left outer join missing value 填充left outer join 的missing

原创 【今日視野】2016-12-23

【1】遷移學習綜述 鏈接內有機器學習研究會整理的相關乾貨 相關:tensorflow transfer learning 【2】對不起,支付寶AR紅包被虎嗅不小心破解了 訓練卷積神經網絡搶支付寶AR紅包 【3】演講 | 微軟亞洲研究院劉鐵

原创 《快學Scala》, <Scala For the Impatient>習題第二章

1. The signum of a number is 1 if the number is positive, -1 if it is negative, and 0 if it is zero. Write a function t

原创 【每日視野】2016-08-30

Kafka Kafka實戰:從RDBMS到Hadoop,七步實現實時傳輸 再加上Kafka, Flume, Storm,就可以算打通了大數據的生態系統了。 廣告Ctr預估 效果廣告點擊率預估實踐:深度學習 關於點擊率模型,你知道這三點

原创 Scala源碼探索之"::"

看這個表達式 val prg = "6 * 3 " :: "24-/*aaa*/4" :: "a+5" :: "21/3" :: Nil 打印出來,可以得到List(6 * 3 , 24-/*aaa*/4, a+5, 21/3) 找到:

原创 《快學Scala》, <Scala For the Impatient>習題第三章

1. Write a code snippet that sets a to an array of n random integers between 0 (inclusive) and n (exclusive). def gen

原创 【每日視野】2016-08-31

PaddlePaddle 百度開源了其內部深度學習框架

原创 面試常見問題-找中位數

本文將對這個問題進行深入分析。 正常數據量,O(n)的方法 http://www.lintcode.com/en/problem/median 可以用類似快排的方法以O(n) 的時間複雜度得到結果。 public class Solut

原创 【每日視野】2016-08-26

fm, ffm fm相對於一般的lr,它的好處在於 1. 引入了交叉項; 2. 對一些從未見過的例子也能做出預測。比如:以前只有女性看化妝品的例子,現在要求男性看化妝品的概率。 理論上講,如果完全擬合,兩個隱向量乘出來得到的值應該也是

原创 京東日誌記錄疑似實現

京東的日誌打點,似乎是用這個log請求完成的。 在線url轉換,得到 https://warriors.jd.com/log.gif?t=exp_log.100000&m=UA-J2011-1&pin=eiermkor&uid=

原创 《快學Scala》, <Scala For the Impatient>習題第一章

REPL: 1. In the scala REPL, type 3. followed by the Tab key. What methods can be applied? 在Scala REPL中鍵入3.然後按Tab鍵。有哪些