Skip to content

Instantly share code, notes, and snippets.

@fonylew
Created May 2, 2016 09:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fonylew/c4940ce8388efd7957c88eee2ce40f78 to your computer and use it in GitHub Desktop.
Save fonylew/c4940ce8388efd7957c88eee2ce40f78 to your computer and use it in GitHub Desktop.
setwd("~/Dropbox/CPCU/CP-year4/LargeScale/data-analytics/data")
getwd()
traindekd<-read.csv('fav_story_train.txt')
save(traindekd)
#trainingtest
head(traindekd)
#traindekd
length(unique(traindekd$user_id))
length(unique(traindekd$story_id))
testdekd<-read.csv('fav_story_test.txt')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment