Didactic Visualization of Convergence Dynamics in Neural Networks: A Geometric Approach to Teaching Machine Learning

Vol 57, 2025 - 340997
Poster
Favorite this paper
How to cite this paper?
Abstract

The teaching of Artificial Neural Networks (ANNs) in engineering courses often comes up against the mathematical abstraction of their hyperparameters, resulting in a 'black box' perception on the part of students. This work presents the development of a didactic tool in Python aimed at the geometric visualization of convergence and the Universal Approximation Theorem. The methodology employed a Multilayer Perceptron (MLP) network with 50 neurons in the hidden layer to approximate a noisy sinusoidal function. The Sigmoid, Hyperbolic Tangent (Tanh) and ReLU activation functions were compared over 1000 training epochs. The qualitative and quantitative results show the particularities of each function: Tanh demonstrated superiority in the modeling of oscillatory signals, while ReLU stood out for its piecewise nature and sensitivity to noise. The integrated analysis of predictions and loss curves consolidates the tool as an effective pedagogical resource for practical Machine Learning laboratories.

Share your ideas or questions with the authors!

Did you know that the greatest stimulus in scientific and cultural development is curiosity? Leave your questions or suggestions to the author!

Sign in to interact

Have a question or suggestion? Share your feedback with the authors!

Institutions
  • 1 Universidade do Estado do Amazonas - UEA-EST
  • 2 Universidade do Estado do Amazonas
Track
  • IA- OR and AI
Keywords
Artificial Neural Networks
Activation Functions
Didactic Tool