Skip to content

ManishSreerangam/ClassificationAlgorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ClassificationAlgorithms

this repositiory holds code for 7 classification algotihms namely

  • Logistic regression
  • K nearest neighbors
  • Support vector machine
  • Kernal SVM
  • Naive bayes
  • Decision Trees
  • Random Forest

Dataset

I have used a dataset titled "Social Network Ads" taken from Kaggle. dataset consists of 3 features

  1. age of the customer
  2. salary of the customer
  3. did he buy the product or not

Evaluation

For evaluation i have used confusion matrix and then calculated accuracy.

visualization

I have used Listed color maps to seperate the classified areas