ranking park reviews from 1 to 5 starting from plain english text
This repository contains my solutions for a university exam on Deep Learning.
The notebook demonstrates text preprocessing, feature extraction, and the implementation of neural networks with Keras for classification tasks.
501019_exam_session_june.ipynbβ the main notebook with all exercises and solutionsrequirements.txtβ Python dependencies for running the notebookREADME.mdβ project description
- Data loading and preprocessing
- Text feature extraction with CountVectorizer and TF-IDF
- Data scaling and encoding with scikit-learn
- Neural network modeling with Keras (Dense layers, Dropout, Regularization)
- Model training, evaluation, and F1-score reporting
- Exploration of different preprocessing strategies and model performance
The following main libraries were used in this project:
- numpy β numerical operations
- pandas β data manipulation
- scikit-learn β preprocessing, vectorization, train/test split, F1-score evaluation
- keras / tensorflow β neural network modeling and training
- re β regex-based text cleaning
Clone this repository and set up the environment:
git clone https://github.com/IvanAlKhayat/deep-learning-exam.git
cd deep-learning-exam
pip install -r requirements.txt