Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multilayer Perceptron (MLP) for Image Classification

An example implementation of a Multilayer Perceptron in PHP 8.3, created for educational purposes.

To run the scripts, you need to install the php-gd library. It is used to parse PNG files.

sudo apt-get install php-gd

To train the model from scratch, delete the saved weights from the model folder and run the following script:

php train.php

The repository includes a pre-trained model. To verify its performance, run the command:

php test.php

The model is trained using the MNIST dataset. All external resources can be found in the References section.

References

About

An example implementation of a Multilayer Perceptron in PHP 8.3

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Contributors

Languages