How anchal27sri/ml-gui-using-pyqt5 works
This is a desktop GUI for training and evaluating classification models from CSV datasets. Users choose SVM, Decision Tree, or MLP, select a file and parameters, then run training and view classification metrics and a confusion-matrix visualization. The MLP flow also offers a layer-configuration window. The graph separates GUI entry and model selection, configuration, and model execution/results. Relationships are based on the README and shown source excerpts; unsampled modules are represented only where the source index documents their connection.
Main entry points: MLPRunner.py MLP controls · MainRunner.py Model menu · SVMRunner.py SVM controls · DecisionTreeRunner.py Tree controls
Components 17
Application entry
- Model menu
scripts/MainRunner.py - SVM controls
scripts/SVMRunner.py - Tree controls
scripts/DecisionTreeRunner.py - MLP controls
scripts/MLPRunner.py - Results dialog
scripts/SVMRunner.py
Model configuration
- Layer configuration
scripts/make_model.py
Training and results
- SVM training
scripts/svm.py - Tree training
scripts/DecesionTree.py - MLP training
scripts/MLP.py - Split and scale
scripts/svm.py - Split and scale
scripts/DecesionTree.py - Split and scale
scripts/MLP.py - Metrics and matrix
scripts/svm.py - Metrics and matrix
scripts/DecesionTree.py - Metrics and plots
scripts/MLP.py
Other components
- User
- CSV dataset
Connections 20
- User → Model menu: chooses model
scripts/MainRunner.py - Model menu → SVM controls: opens SVM
scripts/MainRunner.py - Model menu → Tree controls: opens tree
scripts/MainRunner.py - Model menu → MLP controls: opens MLP
scripts/MainRunner.py - User → CSV dataset: selects file
- SVM controls → SVM training: runs
scripts/SVMRunner.py - Tree controls → Tree training: runs
scripts/DecisionTreeRunner.py - MLP controls → Layer configuration: configures model
scripts/MLPRunner.py - Layer configuration → MLP controls: enables window
scripts/make_model.py - MLP controls → MLP training: runs
scripts/MLPRunner.py - MLP controls → Layer configuration: supplies model
scripts/MLPRunner.py - SVM training → Split and scale: splits and scales
scripts/svm.py - Tree training → Split and scale: splits and scales
scripts/DecesionTree.py - MLP training → Split and scale: splits and scales
scripts/MLP.py - SVM training → Metrics and matrix: computes
scripts/svm.py - Tree training → Metrics and matrix: computes
scripts/DecesionTree.py - MLP training → Metrics and plots: computes and plots
scripts/MLP.py - SVM controls → Results dialog: shows results
scripts/SVMRunner.py - Tree controls → Results dialog: shows results
- MLP controls → Results dialog: shows results