๐Ÿง  AI/ML Tutorial Projects Repository

Your Complete Journey from Zero to AI Hero ๐Ÿš€

Python TensorFlow PyTorch Colab License

A comprehensive, hands-on collection of AI & Machine Learning tutorials covering everything from fundamentals to cutting-edge techniques

Quick Start โ€ข Topics Covered โ€ข Project Structure โ€ข Contribute


๐ŸŽฏ About This Repository

Welcome to the ultimate AI learning repository! This carefully crafted collection takes you on a complete journey through the fascinating world of Artificial Intelligence and Machine Learning. Whether you're a complete beginner or looking to master advanced techniques, this repository has you covered.

๐Ÿ’ก What Makes This Special?

  • ๐ŸŽ“ Structured Learning Path: Follow a progressive curriculum from basics to advanced topics
  • ๐Ÿ’ป Hands-On Projects: Real, working code you can run and modify
  • ๐ŸŒ Google Colab Ready: Most notebooks include Colab links for GPU-powered training
  • ๐Ÿ‡น๐Ÿ‡ท Turkish & English: Bilingual support for better understanding
  • ๐Ÿ“Š Real Datasets: Work with actual data including images, text, and time series
  • ๐ŸŽจ Visual Learning: Rich visualizations and examples throughout

โšก Pro Tip: For computationally intensive projects, use Google Colab with GPU enabled. Don't forget to save your trained models locally before your session expires!


๐Ÿ“š Topics Covered

๐Ÿ”ฐ Foundations & Prerequisites

Click to expand core fundamentals

1-Prerequisites

Master the essential Python libraries for data science:

  • ๐Ÿ“Š NumPy Tutorial: Mathematical operations and array manipulation
  • ๐Ÿผ Pandas Tutorial: Data manipulation and analysis with real datasets (Northwind, JSON)
  • ๐Ÿ“ˆ Matplotlib: Data visualization fundamentals

2-MachineLearningBasics

  • Statistical Foundations (Temelฤฐstatistik.ipynb)
  • Regression Analysis (Regresyon.ipynb)
  • Practical examples with car datasets

3-YapayZekaTeorikBilgi (AI Theoretical Knowledge)

  • ๐Ÿงช Lesson 1: What is AI? History and fundamentals (Perceptron, Neural Networks)
  • ๐Ÿงช Lesson 2: Deep dive into ML concepts (Supervised, Unsupervised, Reinforcement Learning)
  • Rich visualizations of AI/ML/DL relationships

๐ŸŽฏ Classification & Machine Learning

Click to expand ML & classification projects

4-MathValClass (Numerical Classification)

Learn classical ML algorithms for numerical data:

  • โœ… Logistic Regression (LR) - Binary classification with sigmoid functions
  • โœ… Linear Discriminant Analysis (LDA) - Feature combination for separation
  • โœ… K-Nearest Neighbors (KNN) - Simple yet powerful neighbor-based classification
  • โœ… Classification & Regression Trees (CART) - Decision tree methods
  • โœ… Gaussian Naive Bayes (NB) - Probabilistic classification with Bayes theorem
  • โœ… Support Vector Machines (SVM) - Hyperplane-based classification

Projects:

  • ๐ŸŒธ Iris Classification - The classic ML introduction
  • ๐Ÿ“Š Complete classification comparisons

๐Ÿ–ผ๏ธ Computer Vision & Deep Learning

Click to expand CV projects

5-ImageClass (Image Classification)

Master CNNs and modern architectures:

  • ๐Ÿš—โœˆ๏ธ Car vs Plane Classifier: Binary image classification with CNNs
  • ๐Ÿฑ๐Ÿฐ๐Ÿฟ๏ธ Cat-Rabbit-Squirrel: Multi-class classification with ResNet
  • ๐Ÿฑ๐Ÿถ Cat vs Dog: Classic computer vision challenge
  • ๐Ÿ˜Š๐Ÿ˜ข๐Ÿ˜ก Facial Expression Recognition (FER): Emotion detection from faces (FER2013 dataset)
  • ๐ŸŽฏ YOLOv11 Classification: Modern classification with YOLO
๐Ÿ—๏ธ ArchitecturesAdv - Complete Model Zoo Comparison โญ

A comprehensive comparison of 6 cutting-edge architectures on FER2013 dataset:

  • ๐Ÿงฑ Basic CNN: Classic convolutional architecture baseline
  • ๐Ÿ”— ResNet: Residual connections for deeper networks
  • ๐ŸŒณ DenseNet121: Dense connectivity patterns
  • โšก EfficientNetB0: Compound scaling for efficiency
  • ๐Ÿ‘๏ธ CNN + SE Attention: Squeeze-and-Excitation blocks for channel attention
  • ๐Ÿ”ฎ Vision Transformer (ViT): Transformer architecture for images

Features:

  • Side-by-side performance comparison
  • FLOPs and parameter count analysis
  • Training time benchmarks
  • Visual architecture diagrams (visualkeras + plot_model)
  • Validation accuracy plots across all models
  • Random prediction comparisons

6-ObjectDetection (Object Detection)

Go beyond classification - locate objects in images:

  • ๐ŸŽฏ YOLOv7 + RoboFlow: Industry-standard object detection
  • ๐ŸŽฏ YOLOv11 Training: Latest YOLO architecture
  • ๐Ÿ“ฆ Custom Dataset Training: Train on your own data with Kaggle datasets

๐Ÿค– Advanced Deep Learning

Click to expand advanced topics

7-LSTM (Long Short-Term Memory Networks)

Time series and sequential data:

  • ๐Ÿ“ˆ Univariate LSTM: Flight data prediction
  • ๐Ÿ”ฎ Sequential pattern learning

8-Generative (Generative AI)

Create new content with AI:

  • ๐ŸŽจ DCGAN: Deep Convolutional Generative Adversarial Networks
  • ๐Ÿ‘— Fashion MNIST generation
  • ๐ŸŽญ Generator vs Discriminator training dynamics
  • Multiple architecture variations (28x28, custom sizes)

9-NeuralStyleTransfer

  • ๐ŸŽจ Transfer artistic styles between images
  • Neural networks as artists

10-Pix2Pix (Image-to-Image Translation)

Revolutionary paired image translation:

  • ๐ŸŽจ Image Colorization AI: Turn grayscale to color automatically
  • ๐Ÿ”„ Complete Pix2Pix implementation
  • ๐Ÿ–ผ๏ธ Paired image dataset processing

๐Ÿ“ Natural Language Processing

Click to expand NLP projects

11-TextClass (Text Classification)

  • ๐Ÿ“š RNN Text Classification: Sentiment and text categorization using Recurrent Neural Networks

13-RAG (Retrieval Augmented Generation)

Modern AI chatbot techniques:

  • ๐Ÿค– Ollama on Colab: Run local LLMs in the cloud
  • ๐Ÿ“– RAG implementation for document Q&A
  • PDF processing and knowledge retrieval

14-WordEmbeddings

The foundation of modern NLP:

  • ๐Ÿ”ค Text โ†’ Embedding โ†’ Cosine Similarity
  • ๐Ÿง  Semantic search implementation
  • ๐Ÿ’พ Memory systems for RAG applications
  • Integration with sentence-transformers

๐Ÿ“Š Additional Topics

Click to expand extra content

12-VideoSources (Data Analysis & Visualization)

  • ๐ŸŒŠ CalCOFI Ocean Data: Marine ecosystem analysis
  • ๐Ÿ“Š Seaborn Visualizations: Advanced plotting techniques
  • ๐Ÿ’ฐ Tips Dataset: Regression and correlation analysis
  • ๐ŸŽฅ Hand Controls: Computer vision control systems

999-BonusBilgiler (Bonus Knowledge)

  • ๐Ÿงช A/B Testing: Statistical hypothesis testing
  • ๐ŸŽฒ German Tank Problem: Bayesian inference example
  • ๐Ÿ’ผ Interview Q&A: ML interview preparation (mulakat_soru_cevaplarฤฑ.py)
  • ๐Ÿ Python Recap: Complete Python refresher (python_recap.py)
  • ๐Ÿ“š PyCharm cheat sheets and environment setup

DatabaseGen

  • ๐Ÿ—„๏ธ ImageNet dataset management
  • ๐Ÿ”„ Data preprocessing utilities
  • ๐Ÿ“ฆ Archive management tools

๐Ÿ—‚๏ธ Project Structure

MlAiTutorialProjects/
โ”‚
โ”œโ”€โ”€ 1-Prerequisites/              # NumPy, Pandas, Matplotlib fundamentals
โ”œโ”€โ”€ 2-MachineLearningBasics/      # Statistics, Regression basics
โ”œโ”€โ”€ 3-YapayZekaTeorikBilgi/       # AI theory and concepts (Turkish)
โ”œโ”€โ”€ 4-MathValClass/               # Classical ML algorithms
โ”œโ”€โ”€ 5-ImageClass/                 # CNN & image classification
โ”œโ”€โ”€ 6-ObjectDetection/            # YOLO models & object detection
โ”œโ”€โ”€ 7-LSTM/                       # Time series with LSTM
โ”œโ”€โ”€ 8-Generative/                 # GANs & generative models
โ”œโ”€โ”€ 9-NeuralStyleTransfer/        # Style transfer techniques
โ”œโ”€โ”€ 10-Pix2Pix/                   # Image-to-image translation
โ”œโ”€โ”€ 11-TextClass/                 # NLP & text classification
โ”œโ”€โ”€ 12-VideoSources/              # Data analysis & visualization
โ”œโ”€โ”€ 13-RAG/                       # Retrieval Augmented Generation
โ”œโ”€โ”€ 14-WordEmbeddings/            # Text embeddings & semantic search
โ””โ”€โ”€ 999-BonusBilgiler/            # Bonus content & interview prep

๐Ÿš€ Quick Start

1๏ธโƒฃ Clone the Repository

git clone https://github.com/onuralpArsln/MlAiTutorialProjects.git
cd MlAiTutorialProjects

2๏ธโƒฃ Choose Your Path

๐ŸŒŸ For Beginners:

Start here โ†’ 1-Prerequisites โ†’ 2-MachineLearningBasics โ†’ 3-YapayZekaTeorikBilgi โ†’ 4-MathValClass

๐Ÿ”ฅ For Computer Vision Enthusiasts:

5-ImageClass โ†’ 5-ImageClass/ArchitecturesAdv (โญ Model Zoo) โ†’ 6-ObjectDetection โ†’ 9-NeuralStyleTransfer โ†’ 10-Pix2Pix

๐Ÿ“ For NLP Lovers:

11-TextClass โ†’ 14-WordEmbeddings โ†’ 13-RAG

๐ŸŽจ For Generative AI Fans:

8-Generative โ†’ 10-Pix2Pix โ†’ 13-RAG

3๏ธโƒฃ Run with Google Colab (Recommended)

Most notebooks include a "Open in Colab" badge at the top. Click it to run with free GPU!

# Notebooks are ready to run - just execute cells sequentially
# Colab provides free GPU/TPU access for training

4๏ธโƒฃ Run Locally

# Create virtual environment
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate

# Install dependencies (varies by project)
pip install numpy pandas matplotlib tensorflow pytorch scikit-learn

# Launch Jupyter
jupyter notebook

๐Ÿ’ป Technologies & Frameworks

Category Technologies
Languages Python 3.8+
Deep Learning TensorFlow, Keras, PyTorch
Classical ML scikit-learn, XGBoost
Data Science NumPy, Pandas, Matplotlib, Seaborn
Computer Vision OpenCV, PIL, YOLOv7, YOLOv11
NLP sentence-transformers, Ollama
Development Jupyter Notebooks, Google Colab

๐ŸŽ“ Learning Path Recommendations

๐ŸŒฑ Complete Beginner (0-3 months)

  1. Prerequisites (NumPy, Pandas, Matplotlib)
  2. Machine Learning Basics
  3. AI Theoretical Knowledge
  4. Math Value Classification (start with Logistic Regression)
  5. Simple Image Classification (Car vs Plane)

๐ŸŒฟ Intermediate (3-6 months)

  1. Advanced Image Classification (Multi-class, ResNet)
  2. Object Detection (YOLO)
  3. LSTM for time series
  4. Text Classification with RNN
  5. Basic GANs

๐ŸŒณ Advanced (6+ months)

  1. Architecture Model Zoo (CNN, ResNet, DenseNet, EfficientNet, ViT comparison) โญ
  2. Pix2Pix & Image Translation
  3. Neural Style Transfer
  4. RAG & Modern NLP
  5. Custom model architecture design & benchmarking

๐Ÿ“ Key Features of Each Section

Section Difficulty Time Estimate Key Takeaway
Prerequisites โญ Beginner 1-2 weeks Master Python data science libraries
ML Basics โญโญ Beginner 2-3 weeks Understand regression & statistics
Theory โญโญ Intermediate 1 week Learn AI fundamentals deeply
Classification โญโญ Intermediate 2-3 weeks Master classical ML algorithms
Image Class โญโญโญ Intermediate 3-4 weeks Build CNNs from scratch
Architectures Adv โญโญโญโญโญ Expert 2-3 weeks Compare 6 architectures scientifically
Object Detection โญโญโญโญ Advanced 2-3 weeks Deploy YOLO models
LSTM โญโญโญ Intermediate 2 weeks Predict time series data
GANs โญโญโญโญ Advanced 3-4 weeks Generate synthetic images
Pix2Pix โญโญโญโญโญ Expert 3-4 weeks Master image translation
RAG โญโญโญโญ Advanced 2-3 weeks Build modern AI chatbots
Text/NLP โญโญโญ Intermediate 2-3 weeks Process and classify text
Embeddings โญโญโญโญ Advanced 1-2 weeks Understand semantic search

๐Ÿ”ฅ Highlighted Projects

๐Ÿ† NEW: Complete Architecture Model Zoo โญโญโญ

The ultimate deep learning architecture comparison guide!

๐Ÿ“ Location: 5-ImageClass/ArchitecturesAdv/architec.ipynb
๐ŸŽฏ Architectures: 6 models (CNN, ResNet, DenseNet, EfficientNet, CNN+SE, ViT)
๐Ÿ”ฌ Metrics: Parameters, FLOPs, training time, validation accuracy
๐Ÿ’พ Dataset: FER2013 (28,709 train + 7,178 test images)
๐Ÿ“Š Visualizations: Architecture diagrams, performance plots, prediction comparisons
๐ŸŽ“ Perfect for: Understanding trade-offs between model complexity and performance

What makes it special:

  • ๐Ÿงช Scientific comparison with consistent methodology
  • ๐Ÿ“Š Quantitative metrics (not just accuracy!)
  • ๐ŸŽจ Beautiful architecture visualizations using visualkeras
  • ๐Ÿ” Includes modern architectures (Vision Transformers!)
  • โšก Performance profiling with FLOPs calculation
  • ๐ŸŽฏ Real-world emotion detection task

๐ŸŽจ Image Colorization with Pix2Pix

Transform black & white images to color automatically using conditional GANs!

๐Ÿ“ Location: 10-Pix2Pix/colorAI.ipynb
๐ŸŽฏ Technique: Conditional GAN, U-Net architecture
๐Ÿ’พ Dataset: Paired grayscale/color images

๐Ÿค– RAG with Ollama

Build a document-aware chatbot that answers questions based on your PDFs!

๐Ÿ“ Location: 13-RAG/OllmaaOnColab.ipynb
๐ŸŽฏ Technique: Retrieval Augmented Generation, LLM
๐Ÿ’พ Includes: Turkish document processing

๐Ÿ˜Š Facial Expression Recognition + Architecture Comparison

Detect emotions from facial images and compare 6 different architectures!

๐Ÿ“ Location: 5-ImageClass/CNN_FER.ipynb
๐Ÿ“ Advanced: 5-ImageClass/ArchitecturesAdv/architec.ipynb
๐ŸŽฏ Techniques: CNN, ResNet, DenseNet, EfficientNet, SE Attention, ViT
๐Ÿ’พ Dataset: FER2013 (48x48 grayscale emotion faces, 7 classes)
๐Ÿ”ฌ Comparison: Parameters, FLOPs, training time, validation accuracy

๐ŸŽฏ YOLOv11 Object Detection

State-of-the-art real-time object detection and localization!

๐Ÿ“ Location: 6-ObjectDetection/roboflowAndYolov11/
๐ŸŽฏ Technique: YOLO architecture, Transfer learning
๐Ÿ’พ Custom dataset support via RoboFlow

๐Ÿ› ๏ธ Datasets Included

  • ๐ŸŒธ Iris Dataset - Classic ML dataset for classification
  • ๐Ÿš— Car/Plane Images - Binary classification challenge
  • ๐Ÿฑ๐Ÿถ Cats & Dogs - Famous Kaggle competition
  • ๐Ÿ˜Š FER2013 - Facial expressions (7 emotions)
  • ๐Ÿช Northwind Database - Business data analysis
  • ๐Ÿ“ˆ Flight Data - Time series prediction
  • ๐Ÿ‘— Fashion MNIST - Clothing image generation
  • ๐ŸŒŠ CalCOFI - Ocean temperature & marine data
  • ๐Ÿ’ฐ Tips Dataset - Restaurant tipping analysis
  • ๐Ÿ“ธ Custom ImageNet subsets - Transfer learning

๐ŸŽฏ Prerequisites

Knowledge Requirements

  • โœ… Basic Python programming
  • โœ… High school mathematics (algebra, basic calculus helpful)
  • โœ… Curiosity and patience! ๐Ÿš€

Software Requirements

  • ๐Ÿ Python 3.8 or higher
  • ๐Ÿ““ Jupyter Notebook / JupyterLab
  • ๐ŸŒ Web browser for Google Colab
  • ๐Ÿ’พ Git for cloning the repository

Optional but Recommended

  • ๐ŸŽฎ GPU for faster training (or use Google Colab)
  • ๐Ÿ’ป 8GB+ RAM for local execution
  • ๐Ÿ”ง Basic terminal/command line knowledge

๐ŸŽ“ How to Use This Repository

For Students ๐Ÿ‘จโ€๐ŸŽ“๐Ÿ‘ฉโ€๐ŸŽ“

  • Follow the numbered folders sequentially
  • Read theory notebooks before diving into code
  • Experiment with hyperparameters
  • Try modifying datasets and see what happens
  • Complete each project before moving to the next

For Educators ๐Ÿ‘จโ€๐Ÿซ๐Ÿ‘ฉโ€๐Ÿซ

  • Use as course material or supplementary content
  • Notebooks are ready for classroom presentation
  • Mix and match topics based on curriculum needs
  • Turkish content available for Turkish-speaking students
  • All code is well-commented and educational

For Practitioners ๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘ฉโ€๐Ÿ’ป

  • Quick reference for implementing specific techniques
  • Copy and adapt code for your projects
  • Use datasets as templates for your own data
  • Benchmark your models against provided examples

โšก What's New & Hot

  • ๐Ÿ†• Complete Model Zoo: Compare 6 architectures side-by-side on FER2013!
  • ๐Ÿ”ฎ Vision Transformers: Learn the latest in image classification
  • ๐ŸŽฏ Attention Mechanisms: Squeeze-and-Excitation blocks explained
  • ๐Ÿ“Š Scientific Benchmarking: Not just accuracy - FLOPs, params, and time!

๐Ÿ’ก Pro Tips

๐Ÿš€ Performance Tips

  • Always use GPU when available (Colab: Runtime โ†’ Change runtime type โ†’ GPU)
  • Start with small epochs to test your pipeline, then increase
  • Save checkpoints regularly during long training sessions
  • Use data augmentation to improve model generalization

๐Ÿ› Debugging Tips

  • Print tensor shapes frequently during development
  • Visualize your data before training
  • Start with a small batch size to catch errors early
  • Check for NaN losses - indicates learning rate or data issues

๐Ÿ“Š Best Practices

  • Always split your data: Train/Validation/Test
  • Monitor both training and validation metrics
  • Use callbacks: EarlyStopping, ModelCheckpoint, ReduceLROnPlateau
  • Document your experiments and results

๐ŸŒŸ Contributing

Contributions are welcome! Whether it's:

  • ๐Ÿ› Bug fixes
  • ๐Ÿ“ Documentation improvements
  • โœจ New tutorial additions
  • ๐ŸŒ Translations
  • ๐Ÿ’ก Better explanations

How to Contribute:

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingTutorial)
  3. Commit your changes (git commit -m 'Add amazing tutorial')
  4. Push to the branch (git push origin feature/AmazingTutorial)
  5. Open a Pull Request

๐Ÿ“ž Contact & Support

  • ๐Ÿ“ง Issues: Open an issue on GitHub for bugs or questions
  • ๐ŸŒŸ Stars: If you find this helpful, give it a star!
  • ๐Ÿ”„ Share: Help others discover this resource

๐Ÿ“„ License

This repository is created for educational purposes. Feel free to use the code for learning and teaching.


๐Ÿ™ Acknowledgments

  • ๐ŸŽ“ Built with passion for AI education
  • ๐Ÿ“š Inspired by leading AI/ML courses and research
  • ๐ŸŒ Community-driven and continuously improving
  • ๐Ÿ’ป Powered by open-source frameworks and tools

๐Ÿ“ˆ Repository Stats

  • ๐Ÿ“‚ 14+ Major Topics
  • ๐Ÿ““ 50+ Jupyter Notebooks
  • ๐ŸŽฏ 10+ Different Datasets
  • ๐Ÿ—๏ธ 6 Architecture Comparison (CNN, ResNet, DenseNet, EfficientNet, SE, ViT)
  • ๐Ÿ’ป Multiple ML/DL Frameworks (TensorFlow, PyTorch, scikit-learn)
  • ๐ŸŒ Colab Ready Projects
  • ๐Ÿ‡น๐Ÿ‡ท Bilingual Content (Turkish & English)
  • ๐Ÿ”ฌ Scientific Methodology (FLOPs, params, benchmarking)

๐ŸŽฏ Ready to Start Your AI Journey?

Pick a topic, open a notebook, and start learning! ๐Ÿš€

Open in Colab


โญ Don't forget to star this repo if you find it helpful! โญ

Made with โค๏ธ for AI learners everywhere


๐Ÿ—บ๏ธ Quick Navigation

Beginner Intermediate Advanced
Prerequisites Image Classification ๐Ÿ† Architecture Zoo
ML Basics Object Detection GANs
Theory LSTM Pix2Pix
Classification Text Classification RAG

Happy Learning! ๐ŸŽ“ Let's build amazing AI together! ๐Ÿค–