Skip to content

jcajax/One-Shot-Learning-Demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

Overview

This is a One-Shot Learning Handwritten Character Classifer written in Python using the SciPy library. This is the code for the One-Shot Learning episode of Fresh Machine Learning on Youtube. The code trains against a few examples of handwritten characters and then tries to classify characters correctly. The error rate is around 38%. If you want to try a state-of-the-art, better-than-human, one-shot learning library that you can apply to all sorts of data, check out this repo.

Dependencies

Use pip to install any missing dependencies

Basic Usage

Step 1 - Run the code! It'll train against the handwritten character samples in the all_runs folder and then test it's classification ability. It should output an average error rate of around 38%.

python demo_classification.py

Credits

Credit for this demo code goes to the authors of the original BPL paper, this was the baseline demo code they used to compare their novel (much better) Matlab results against.

About

One-Shot Learning Demo for Fresh Machine Learning #1

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%