Use the training/testing method on 3 models – logistic regression,decision tree,

Too Tired? Too Anxious? Need More Time? We’ve got your back.

Submit Your Instructions

Use the training/testing method on 3 models – logistic regression,decision tree, and SVM. (You can use 80% for training, and 20% for testing)
[10pt] Train each model
[15pt] Print the accuracy score for each model
[5pt] Pick the best model based on accuray score of the testing dataset.
[15pt] Print the confusion matrix for each model, and get the Type I error (from the confusion matrix)
[5pt] Pick the best model based on confusion matrix.
[30pt] Use cross validation with 6 folds on 3 models – logistic regression,decision tree, and SVM.
[10pt] Train each model using cross validation.
[15pt] Get the accuracy score for each model
[5pt] Pick the best modelUse the training/testing method on 3 models – logistic regression,decision tree, and SVM. (You can use 80% for training, and 20% for testing)

Too Tired? Too Anxious? Need More Time? We’ve got your back.

Submit Your Instructions

Published
Categorized as Finance

Leave a comment