Skip to content
Multi-layer perceptron in C
C Makefile Shell
Branch: master
Clone or download
Cannot retrieve the latest commit at this time.
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Makefile
README.md
getdata.sh
mlp.c
rand.c

README.md

A 2-layer NN contained in 'main' using ANSI C

Quick start:

To build the executable:

make

To get MNIST data:

./get_data.sh

Run !

./mlp
[0.747 s] acc=89.62%, ce=0.031, 66927.24 samples/sec, 39.59 gflop/s
[1.486 s] acc=91.98%, ce=0.023, 67701.88 samples/sec, 40.05 gflop/s
[2.217 s] acc=93.41%, ce=0.026, 68405.16 samples/sec, 40.47 gflop/s
[2.948 s] acc=94.32%, ce=0.020, 68321.89 samples/sec, 40.42 gflop/s
[3.675 s] acc=94.32%, ce=0.018, 68779.01 samples/sec, 40.69 gflop/s
[4.403 s] acc=95.14%, ce=0.020, 68682.45 samples/sec, 40.63 gflop/s
[5.131 s] acc=94.54%, ce=0.014, 68748.83 samples/sec, 40.67 gflop/s
[5.859 s] acc=95.58%, ce=0.018, 68641.52 samples/sec, 40.61 gflop/s
You can’t perform that action at this time.