Skip to content

sorki/mlp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MLP library

Provides flexible multi-layer perceptron implementation. Network is highly configurable, allows usage of numerous layers with different number of neurons.

Implementation is rather slow and should be used only for demonstration purposes.

Requirements:

For usage information, check provided examples in examples directory.

Examples:
  • xor.py (boolean xor function computation)
  • xor_bias.py (same as xor.py with added network bias)
  • img.py (recognition of font digits in examples/font_samples)
  • mn.py (recognition of digits from MNIST database [incomplete])

Examples require setting PYTHONPATH variable to '..' to be able to find mlp directory - use PYTHONPATH=.. ./xor.py to run xor example. MNIST example also requires placing python-mnist on PYTHONPATH.

Other features:
  • .dot graph output (as_graph method)
  • backpropagation moment
  • two training methods (defined desired error or number of iterations)
  • unit tests

About

mlp school project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages