Giter Site home page Giter Site logo

ekplesovskaya / mnist-classification-using-tsvd-and-kde Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 10.96 MB

Code for the paper "Hierarchical Classification on the MNIST Dataset Using Truncated SVD and Kernel Density Estimation"

Python 100.00%
hierarchical-classification kernel-density-estimation mnist svd

mnist-classification-using-tsvd-and-kde's Introduction

Hierarchical Classification on the MNIST Dataset Using Truncated SVD and Kernel Density Estimation

The present paper introduces a novel approach based on a truncated SVD and kernel density estimation that outputs a comparable error rate on MNIST. In addition to that, a hierarchical classification framework is proposed, that allows to enhance the algorithm accuracy. The resulting algorithm outperforms the reproducible SVM accuracy, which is regarded as a state-of-the-art machine learning algorithm for MNIST. The key advantage of the proposed framework consists in a low computational cost: training on MNIST takes 5 seconds. Thus, the research results state that TSVD-KDE algorithm has the potential for being an efficient classification algorithm.

Comparison of different configurations of TSVD-KDE with other algorithms on the MNIST dataset

Model Error rate, %
TSVD-KDE with the default hyperparameters 2.93
TSVD-KDE after hyperparameters tuning 1.7
Hierarchical classification based on TSVD-KDE 1.53
Gaussian SVM with C = 5 and gamma = 0.05 1.63
Random Forest with the default hyperparameters 2.96
XGBoost with the default hyperparameters 2.2
CatBoost with the default hyperparameters 2.6

Computational time for different algorithms on the MNIST dataset

Model Training time, sec Prediction time, sec Tuning time, hours
Hierarchical classification algorithm 5 35 ~ 77
SVM 712 159 ~ 217
Random Forest 29 0.32 -
XGBoost 170 0.04 -
CatBoost 467 1.41 -

Research code description

MNIST dataset could be found at MNIST_dataset. Experiments with the different TSVD-KDE configurations could be run by tsvd_kde_experiment.py. Experiments with the state-of-the-art classificators ae available at baseline_experimants.py.

mnist-classification-using-tsvd-and-kde's People

Contributors

ekplesovskaya avatar

Watchers

 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.