Skip to content

salaxieb/kaggle_digits

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kaggle digits preprocessing

Some trics for kaggle mnist data recognition competition

Dependencies:

  • python3
  • tensorflow
  • keras
  • marplotlib
  • scipy

Architechture

Input: (60000, 784, 1) (60000 images shape = 28x28)

Hidden: Iteratively changing hidden layer size

Output: One hot vector with 10 labels (0..9)

screenshot

Idea:

screenshot

Rotate digit to vertical and stretch

screenshot

For human it makes digits less recognisible, but for NN digits start to look more similar

Result:

screenshot

~5% improovement compare to same architechture, without preprocessing

!important: no improovement in case of usage CNN

About

Digits preprocessing for NN

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages