This project houses an Artificial Neural Network (ANN) built to predict gaming addiction risk levels based on various behavioral and mental health metrics. It includes a complete machine learning pipeline from data preprocessing to model evaluation.
ANN.ipynb: The core Jupyter Notebook containing the data analysis, data scaling, categorical encoding, model architecture definition, and training loops using Deep Learning.Gaming and Mental Health.csv: The dataset containing metrics such as primary game played, gaming patterns, and related mental health outcomes.
- Data Preprocessing: Utilizes
StandardScalerfor continuous features and One-Hot Encoding (get_dummies) alongsideLabelEncoderfor categorical alignment. - Neural Network Architecture: Uses
MLPClassifierwith customized hyperparameters (e.g., hidden layers, sigmoid or ReLU activations) designed to classify varying risk levels. - Performance Evaluation: Validates the model utilizing hold-out test sets to generate robust accuracy, precision, recall, F1 scores, and Confusion Matrices.
- Hyperparameter Tuning: Involves strategies like
GridSearchCVto locate optimal node sizes and learning paths.
- Clone this repository:
git clone https://github.com/BassemRamdan/ANN.git cd ANN - Boot up Jupyter:
jupyter notebook
- Open
ANN.ipynband run all cells to evaluate the predictions against the bundled dataset.
Ensure the following packages are installed:
python3.xpandasnumpyscikit-learnmatplotlib/seaborn(for visualization of the confusion metrics)