This repository includes my academic work in Machine Learning and Digital Image Processing. It consists of practical implementations, conceptual notebooks, and lab-style explorations developed as part of my coursework.
A neural network–based approach to detecting depressive sentiment in text data. Focuses on preprocessing, feature extraction, and model training using deep learning.
Exploratory Data Analysis (EDA) notebook using pandas, matplotlib, and seaborn. Analyzes data distributions, outliers, and trends.
A basic implementation for converting natural language questions into SQL queries. Includes tokenization, classification, and SQL query generation.
This section provides a concise overview of key cross-validation techniques used in model evaluation:
-
K-Fold Cross-Validation
- Splits the dataset into k equal-sized folds.
- Each fold is used once as the validation set, while the remaining k-1 folds form the training set.
-
Hold-Out Cross-Validation
- Splits the dataset into separate training and testing sets (e.g., 80/20 or 70/30).
- Simple and fast but less reliable due to single random split.
-
Stratified K-Fold Cross-Validation
- Extension of K-Fold that maintains class distribution across all folds.
- Especially useful for imbalanced datasets.
-
Leave-P-Out Cross-Validation (LPOCV)
- Repeatedly trains the model using all data except p samples, which are used for testing.
- Computationally intensive but exhaustive.
-
Leave-One-Out Cross-Validation (LOOCV)
- A special case of LPOCV where p = 1.
- Each sample is used once as a test set; best for small datasets.
-
Monte Carlo (Shuffle-Split) Cross-Validation
- Randomly splits data into training and testing sets multiple times.
- Flexible but may lead to test sets overlapping.
-
Time Series (Rolling) Cross-Validation
- Used when data is time-dependent.
- Training set includes past data, and the test set includes future data to preserve temporal order.
📘 Notebook : cross_validation_techniques.ipynb
This section includes foundational techniques used in image preprocessing and analysis.
- Image Enhancement: Histogram Equalization, Contrast Stretching
- Noise Removal: Gaussian Blur, Median Filtering
- Edge Detection: Sobel, Prewitt, Canny Operators
- Morphological Operations: Dilation, Erosion, Opening, Closing
- Color Space Conversions: RGB ↔ Grayscale, HSV
- Frequency Domain Analysis: Fourier Transform
- Image Segmentation: Thresholding, Region Growing, Contour Detection
📘 Notebook : dip_lab_experiments.ipynb
- Python
- Jupyter Notebook
- pandas, NumPy, matplotlib, seaborn
- scikit-learn, TensorFlow / PyTorch
- OpenCV (for image processing)
- Clone the repository:
git clone https://github.com/ReVuz/Machine_Learning.git
cd Machine_Learning