diff --git a/data-raw/ml100k.R b/data-raw/ml100k.R index 64d4322..4c1b03d 100644 --- a/data-raw/ml100k.R +++ b/data-raw/ml100k.R @@ -1,6 +1,7 @@ -### code to prepare `ml100k` dataset goes here +### Code to prepare `ml100k` dataset goes here ## Movie rating data + u_data <- read.table( "https://files.grouplens.org/datasets/movielens/ml-100k/u.data", sep = "\t", header = FALSE @@ -24,6 +25,7 @@ u_data_matrix <- Matrix::sparseMatrix( # head(u_data_matrix) ## User information + u_user <- read.table( "https://files.grouplens.org/datasets/movielens/ml-100k/u.user", sep = "|", header = FALSE @@ -40,6 +42,7 @@ colnames(u_user) <- c("Age", "Gender", "Occupation") # dim(u_user) # Movie genre information + u_item <- read.csv( "https://files.grouplens.org/datasets/movielens/ml-100k/u.item", sep = "|", header = FALSE diff --git a/data-raw/neocortex.R b/data-raw/neocortex.R index fead466..29c2b50 100644 --- a/data-raw/neocortex.R +++ b/data-raw/neocortex.R @@ -1,4 +1,5 @@ -### code to prepare `neocortex` dataset goes here +### Code to prepare `neocortex` dataset goes here + # Bulk gene expression data (microarray platform) used in the MFAI paper # Set the path for raw data