This project demonstrates the use of Support Vector Machines (SVM) with the Iris dataset, including k-fold cross-validation.
This repository provides a simple demonstration of applying SVM on the Iris dataset with k-fold cross-validation to validate the model's performance.
- Implementation of SVM on Iris dataset
- k-fold cross-validation to ensure model robustness
-
Clone the repository:
git clone https://github.com/sarojshakya01/svm-demo.git cd svm-demo
-
Install the required dependencies:
pip install -r requirements.txt
-
Open the Jupyter Notebook:
jupyter notebook svm.ipynb
-
Run the notebook cells to execute the SVM demo with k-fold cross-validation.
svm.ipynb
: Jupyter Notebook containing the SVM implementation and k-fold cross-validation on the Iris dataset.
Contributions are welcome! Please fork the repository and create a pull request with your changes.
This project is licensed under the MIT License. See the LICENSE file for more details.