為了記錄在競賽中入門深度學習的過程,我開了一個新系列【從傳統(tǒng)方法到深度學習】。
1. 問題
Kaggle競賽Bag of Words Meets Bags of Popcorn是電影評論(review)的情感分析,可以視作為短文本的二分類問題(正向、負向)。標注數(shù)據(jù)集長這樣:
id sentiment review"2381_9" 1 "\"The Classic War of the Worlds\" by Timothy Hines is a very entertaining film that obviously goes to great effort and lengths to faithfully recreate H. G. Wells' classic book. Mr. Hines succeeds in doing so. ...""2486_3" 0 "What happens when an army of wetbacks, towelheads, and Godless Eastern European commies gather their forces south of the border? Gary Busey kicks their butts, of course. Another laughable example of Reagan-era cultural fallout, Bulletproof wastes a decent supporting cast headed by L Q Jones and Thalmus Rasulala."
評價指標是AUC。因此,在測試數(shù)據(jù)集上應該給出概率而不是類別;即為
延伸閱讀
學習是年輕人改變自己的最好方式