Measuring the Test Performance

Machine Learning di Tidyverse

Dmitriy (Dima) Gorenshteyn

Lead Data Scientist, Memorial Sloan Kettering Cancer Center

Machine Learning Workflow

Machine Learning di Tidyverse

Machine Learning Workflow

Machine Learning di Tidyverse

Machine Learning Workflow

Machine Learning di Tidyverse

Machine Learning Workflow

Machine Learning di Tidyverse

Machine Learning Workflow

Machine Learning di Tidyverse

Machine Learning Workflow

Machine Learning di Tidyverse

Machine Learning Workflow

Machine Learning di Tidyverse

Machine Learning Workflow

Machine Learning di Tidyverse

Measuring the Test Performance

best_model <- ranger(formula = life_expectancy~., 
                     data = training_data,
                     mtry = 4, num.trees = 100, seed = 42)
test_actual <- testing_data$life_expectancy
test_predict <- predict(best_model, testing_data)$predictions
mae(test_actual, test_predict)
Machine Learning di Tidyverse

Let's practice!

Machine Learning di Tidyverse

Preparing Video For Download...