Skip to content

redmojo7/Data_Mining_Classification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Data_Mining_Classification

Synopsis

Practical of Claasification

Contents

  • README – readme file for the Classification project
  • Assignment2022.sqlite - Original data, including train and test two tables.
  • main.py - Read data, do data prepaeration and train models(KNN, Decision Tree, Naive Bayes and Support vector machines(SVM))
  • main2.py - edited version of main.py
  • threshold.py - Loop for each threshold of correlation to run main2.py to get best accuracy

Dependencies

  • sqlite3
  • numpy
  • pandas
  • seaborn
  • matplotlib
  • sklearn
  • statistics
  • time

Version information

12 Oct 2022 - last version of Practical of Claasification

How to run

Find the best threshold

python3 threshold.py

Run the main program

python3 main.py

Result

  • Accrucacy with different thresholds

accuracy_with_diff_thresholds

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages