Skip to content

Latest commit

 

History

History
48 lines (37 loc) · 2.83 KB

README.md

File metadata and controls

48 lines (37 loc) · 2.83 KB

SVM Demo

This project demonstrates the use of Support Vector Machines (SVM) with the Iris dataset, including k-fold cross-validation.

Table of Contents

Introduction

This repository provides a simple demonstration of applying SVM on the Iris dataset with k-fold cross-validation to validate the model's performance.

Features

  • Implementation of SVM on Iris dataset
  • k-fold cross-validation to ensure model robustness

Installation

  1. Clone the repository:

    git clone https://github.com/sarojshakya01/svm-demo.git
    cd svm-demo
  2. Install the required dependencies:

    pip install -r requirements.txt

Usage

  1. Open the Jupyter Notebook:

    jupyter notebook svm.ipynb
  2. Run the notebook cells to execute the SVM demo with k-fold cross-validation.

Directory Structure

  • svm.ipynb: Jupyter Notebook containing the SVM implementation and k-fold cross-validation on the Iris dataset.

Contributing

Contributions are welcome! Please fork the repository and create a pull request with your changes.

License

This project is licensed under the MIT License. See the LICENSE file for more details.