This is a test classifier for the sklearn descision tree ,svm ,and knn. To run this example you should install sklearn on your machine.
The main.py script do the following.
- Build three classifiers each one is based on a model (SVM, KNN, DT)
- Fit the three models using our learning data.
- Test a prediction value.
- Compare the accuracy of the three models and print the most accurate.
You should pip install sklearn library before executing the script.
Just type the following on your terminal
python main.py
This code was made while watching Siraj videos on machine learning.