-
Notifications
You must be signed in to change notification settings - Fork 1
Module1 ICE4
Ruthvicp edited this page Feb 18, 2019
·
2 revisions
Source Code : Here
Video : Youtube
1. Using Iris dataset, create Naive-bayes model and user cross-validation yo evaluate the model on test dataset
- Source Code:
- Output:
Accuracy : 92.10
2. Using iris dataset, create linear SVM model and evaluate the model on test data. also use cross-validation to split the data.
- Source Code
- Output
Accuracy : 96.67
The linear SVM model performs better with an accuracy of 96.67 when compared to Naive bayes model, which has an accuracy of 92.1. Also the comparison of precision, recall & F-measure are shown in the output images above.