Skip to content

About

This repository is for code acitivites about the Machine Learning class from Yachay Tech University

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Machine Learning Course — Yachay Tech University

Code activities and projects developed for the Machine Learning course at Yachay Tech University. Each module explores a different aspect of the ML workflow, from data preprocessing to model evaluation.


Repository Structure

Machine-learning-course-Yachay/
├── pipeline_automatic_preprocess/          # Automatic preprocessing & classification pipeline
└── credit_card_fraud_detection_implementation/  # EDA & fraud classification on imbalanced data

Modules

A modular, scikit-learn-compatible pipeline that automates the full preprocessing workflow for tabular datasets — imputation, encoding, and scaling — through a single configurable object. Raw pandas DataFrames can be fed directly into a LogisticRegression classifier without any manual transformation.

Key components:

File Description
tools/transform.py DataFramePreparer transformer and build_full_pipeline factory
tools/preprocessing.py Train / val / test split and label separation utilities
main.ipynb Experiments: 6 preprocessing configurations compared by Accuracy, Precision, Recall, and F1-score
Tests/ Pytest suite with 4 AI-generated synthetic datasets covering missing values, all-numeric, outliers, and binary categorical edge cases

Exploratory data analysis and binary classification on the Kaggle Credit Card Fraud Detection dataset (284,807 transactions, ~0.17% fraud). Covers initial data inspection, KDE/box/scatter plots for feature exploration, correlation heatmaps, and Logistic Regression experiments comparing 2 selected features vs all features — with emphasis on handling severe class imbalance.

Key components:

File Description
main.ipynb Full EDA, feature selection analysis, and Logistic Regression experiments with stratified splits

Tech Stack

  • Language: Python 3
  • Core libraries: scikit-learn, pandas, NumPy
  • Testing: pytest

About

This repository is for code acitivites about the Machine Learning class from Yachay Tech University

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages