Skip to content

Releases: azimonti/MNIST-classification

Version 1.2

Choose a tag to compare

@azimonti azimonti released this 15 May 10:31
efb8336

What's Changed

  • Updated ma-libs to version 4.0
  • Removed dependency from hdf5
  • Add config with libconfig_loader
  • Moved training functions from the neural network library to local classes

Full Changelog: v1.1...v1.2

Version 1.1

Choose a tag to compare

@azimonti azimonti released this 19 Sep 23:25

What's Changed

Updated ma-libs to Version 3.0

Full Changelog: v1.0...v1.1

Version 1.0

Choose a tag to compare

@azimonti azimonti released this 12 Sep 07:40

New Features:

  • MNIST Dataset Programs:

    • Implemented two separate programs for neural network training and testing using:
      • Stochastic Gradient Descent (SGD): Efficient convergence with good accuracy on MNIST (92.16% after 5 epochs).
      • Genetic Algorithm (GA): Experimental approach showcasing slow convergence, highlighting the limitations of GA for MNIST, but providing flexibility for other potential tasks.
  • Command-Line Arguments:

    • --training_start: Start training from scratch.
    • --training_continue: Continue training from a saved state.
    • --testing: Run the trained model in testing mode.

Known Limitations:

  • GA Performance: Slow convergence (~30% accuracy after 3000 generations) on MNIST, as expected, due to the unsuitability of GA for this task. However, the library can be adapted for tasks where SGD isn't applicable, such as simulations of interactions in games.