Skip to content

Overview of some of the most popular classification algorithms.

Notifications You must be signed in to change notification settings

nprithviraj24/Classification-KNN-Bayes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Classification-KNN-Bayes

Overview on some of the most popular classification algorithms.

Getting Started

Clone the project into your-workspace/project-folder.

Prerequisites

  • Classification algorithms, specifically Bayes and K-Nearest Neighbour(hereafter referred as KNN).
  • Since project is written in JAVA, you need Java SE Development Kit in order to run it, although we can have other versions too but this is the fundamental kit. Personally I'd recommend to use any IDE.
  • Object-relational database management system (ORDBMS) so that we can obtain data from it inorder to find unique pattern. Postgres is recommended.

Running the tests

Initially select any Database, since I've worked with Postgres; screenshot of sample database.


Database

Assumptions

    In KNN: There are two classes: A and B.
    
    In Bayes: Table consists of details like income and age of customers who buy the computer and who don't. This data help us to classify whether new customer will buy a computer, given his income and age.

Procedure

1. Set the path of the database accordingly.

2. Run the main class that is Classification.java.

3. Select either "1" for Bayes, anything but "1" for KNN Classification.

Author

~ Prithvi Raj .

About

Overview of some of the most popular classification algorithms.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages