Skip to content

Danieldotcomcoder/React-2d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KNN Classification Visualization in React

Project Description

This project is a visualization of the K-Nearest Neighbors (KNN) classification algorithm. It uses colored balls to represent data points in clusters. Each color represents a different class. A new ball (data point) is added to the specific cluster based on its color (class).

Features

  • Visual representation of KNN classification.
  • Interactive interface to add new data points.
  • Color-coded data points for easy distinction between classes.

Live Link

https://danieldotcomcoder.github.io/React-2d/#/knn

Installation and Setup

  1. Clone the repository:

    git clone https://github.com/Danieldotcomcoder/React-2d
    
  2. Navigate into the project directory:

    cd React-2d
    
  3. Install the dependencies:

    npm install
    
  4. Start the development server:

    npm run dev
    

Usage

After starting the development server, open your browser and navigate to http://localhost:3000/React-2d/#/knn to view the KNN application.

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.

About

KNN classification with React

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages