Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 818 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 818 Bytes

Multi-Layer Perceptron

ann

This project is designed to create an artificial neural network model from scratch. It attempts to recoding the multilayer perceptron (MLP), one of the deep learning models. The model is evaluated on test data, calculating the accuracy and loss, and visualizing predictions.

Usage

from model import NeuralNet

# Building Model
model = NeuralNet(
    input_unit=784,
    hidden_units=[128, 256, 128],
    output_unit=10
)

# Training Model
model.train(x_train, y_train, epoch=2000, learning_rate=0.01)

# Testing Model
model.evulate(x_test, y_test)

Accuracy && Loss

acc_loss