Git Product home page Git Product logo

sklearnmnist's Introduction

SklearnMNIST

Hello , In this Project, I have compared Six types of Classifiers with their own parameters on MNIST Handwritten Digits Datasets. The Classifiers are KNN, Logistic Regression, Neural Network, SVM (with SVC and NuSVC) , Decision Trees and Random Forest Classifiers

I have only used 1000 images out of 60000 images i.e. only 1.67% of data. But the result is Astonishing!

Knn Score 88.3% with Parameters {'n_neighbors': 7, 'weights': 'distance', 'algorithm': 'auto'}

Logistic Regression Score 78.6% with Parameters {'penalty': 'l2', 'tol': 0.0001}

NN Score 91.9% with Parameters {'activation': 'identity', 'learning_rate': 'invscaling', 'solver': 'lbfgs'}

Decision Tree Score 67.3% with Parameters {'splitter': 'best', 'criterion': 'entropy'}

RTrees Score 91.1% with Parameters {'max_features': 'auto', 'n_estimators': 21, 'criterion': 'gini'}

SVM 92.9% with NuSVC and Parameters {'kernel': 'linear','nu':'0.10000000000000001'}

I have tried the SVM with NuSVC and Parameters on the 1000 images from the Test Set. The Result is 919 out of 1000 images were predicted perfectly!

sklearnmnist's People

Contributors

sezan92 avatar

Watchers

Biranchi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.