Spaces:
Sleeping
Sleeping
A newer version of the Streamlit SDK is available:
1.49.1
metadata
title: Interactive MLP Learning Platform
emoji: 🧠
colorFrom: blue
colorTo: indigo
sdk: streamlit
sdk_version: 1.32.0
app_file: app.py
pinned: false
Interactive MLP Learning Platform
This is an interactive web application designed to help students learn about Multi-Layer Perceptrons (MLPs) and deep learning concepts. The application allows users to:
- Generate synthetic datasets with customizable features and classes
- Split data into training, validation, and test sets
- Design and visualize MLP architectures (including per-layer activation functions)
- Train MLPs and observe the learning process with real-time training and validation metrics
- Visualize the results and model performance, including:
- Training/validation loss and accuracy curves
- Weight and bias visualization
- Weight optimization over epochs
- Network architecture diagram
- Confusion matrix and classification metrics after testing
Setup Instructions
- Install the required dependencies:
pip install -r requirements.txt
- Run the Streamlit application:
streamlit run app.py
Features
- Interactive dataset generation and splitting
- Customizable MLP architecture (layers, nodes, activations)
- Real-time training and validation visualization
- Performance metrics and plots
- Weight and bias visualization
- Network architecture visualization
- Confusion matrix and classification report on test data
Usage
- Start by configuring your dataset parameters and data split
- Design your MLP architecture (choose layers, nodes, and activations)
- Confirm the network to visualize the architecture
- Train the model and observe both training and validation metrics
- Test the model on unseen data and analyze the confusion matrix and classification metrics
Requirements
- Python 3.8+
- See requirements.txt for package dependencies (including: streamlit, numpy, pandas, scikit-learn, matplotlib, torch, networkx, seaborn)