Understanding Neural Networks: A Minimalist Implementation from Scratch

This paper explores the foundations of neural networks by implementing a multi-layer perceptron (MLP) from scratch using only NumPy. The primary objective is to gain a deep understanding of the behavior of activation functions (Sigmoid, ReLU) and loss functions (MSE, Binary Cross-Entropy) in the training process. Experiments were conducted on a binary classification dataset for up to 10,000 epochs. Results reveal that while all combinations of activation and loss functions yield comparable accuracy (95-97%), ReLU combined with Binary Cross-Entropy demonstrates the most stable and consistent convergence.

Authors

Publication Details

Published
2025-09-25
DOI
https://doi.org/10.36227/techrxiv.175877760.01940380/v1
Primary Topic
Neural Networks and Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Understanding Neural Networks: A Minimalist Implementation from Scratch

Vin Sharma
Neural Networks and Applications
article

Understanding Neural Networks: A Minimalist Implementation from Scratch

Vin Sharma
article en

Abstract

This paper explores the foundations of neural networks by implementing a multi-layer perceptron (MLP) from scratch using only NumPy. The primary objective is to gain a deep understanding of the behavior of activation functions (Sigmoid, ReLU) and loss functions (MSE, Binary Cross-Entropy) in the training process. Experiments were conducted on a binary classification dataset for up to 10,000 epochs. Results reveal that while all combinations of activation and loss functions yield comparable accuracy (95-97%), ReLU combined with Binary Cross-Entropy demonstrates the most stable and consistent convergence.

Openalex Percentile: Top 86%
Neural Networks and Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Understanding Neural Networks: A Minimalist Implementation from Scratch — Vin Sharma · (2025) | TGRS Research Map | TGRS