Course Creation at DataCamp
Kelsey McNeillie
Instructor Success Manager
Don't | Do |
---|---|
Manipulating Time Series Data in Python | course on time series manipulation in Python |
I'm a Data Scientist at Data Company X | I'm a Data Scientist |
I'm writing a book on Machine Learning | Follow me on Twitter for updates |
The current version of this package... | <Focus on the utility, not the implementation> |
Machine learning workflow
Machine Learning workflow
Machine Learning workflow
# Define trainControl function
fitControl <- trainControl(method = "adaptive_cv", number = 3, repeats = 3,
adaptive = list(min = 3, alpha = 0.05, method = "BT", complete = FALSE),
search = "random")
# Start timer
tic()
# Train model
svm_model_voters_ar <- train(turnout16_2016 ~ ., data = voters_train_data,
method = "svmPoly", trControl = fitControl,
verbose = FALSE, tuneLength = 6)
# Stop timer
toc()
1.675 sec elapsed
# Define trainControl function fitControl <- trainControl(method = "adaptive_cv", number = 3, repeats = 3, adaptive = list(min = 3, alpha = 0.05, method = "BT", complete = FALSE), search = "random")
# Start timer tic()
# Train model svm_model_voters_ar <- train(turnout16_2016 ~ ., data = voters_train_data, method = "svmPoly", trControl = fitControl, verbose = FALSE, tuneLength = 6)
# Stop timer toc()
1.675 sec elapsed
Course Creation at DataCamp