Created
October 7, 2019 18:56
-
-
Save monogenea/031baf45899f35c6c842d98bcb08adaf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Load caret, install if necessary | |
library(caret) | |
arcene <- read.table("http://archive.ics.uci.edu/ml/machine-learning-databases/arcene/ARCENE/arcene_train.data", | |
sep = " ", | |
colClasses = c(rep("numeric", 10000), "NULL")) | |
# Add the labels as an additional column | |
arcene$class <- factor(scan("https://archive.ics.uci.edu/ml/machine-learning-databases/arcene/ARCENE/arcene_train.labels", | |
sep = "\t")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment