Skip to content

Instantly share code, notes, and snippets.

@Harshit1694
Created June 21, 2019 09:20
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 Harshit1694/e89e3a52731be27226bff1f80420d517 to your computer and use it in GitHub Desktop.
Save Harshit1694/e89e3a52731be27226bff1f80420d517 to your computer and use it in GitHub Desktop.
#Reading the test and train data
#Giving column names to both the data
#Reading train data
data_train<-read.csv(file.choose(),sep = '\t',header = F,
col.names = c('user_id', 'movie_id', 'rating', 'unix_timestamp'))
#Reading test data
data_test<-read.csv(file.choose(),sep = '\t',header = F,
col.names = c('user_id', 'movie_id', 'rating', 'unix_timestamp'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment