The blog post for this code is at SVM using scikit-learn
There are three types of data:
- Linear Data without noise.
- Linear Data with noise.
- Non-Linear Data with noise.
Steps:
cd <folder_name>
(e.g.cd Linear-Data-With-Noise
)- Run python file:
python3 <filename.py>
The data is in every folder. (Left and Right points)
Data Filenames:
points_class_0.txt
: Points of one class.points_class_1.txt
: Point of second class.
Want to become an expert in AI? AI Courses by OpenCV is a great place to start.