Skip to content

About

Step-by-step machine learning projects using Python and Jupyter notebooks with datasets for classification, regression, time series, and NLP.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

🤖 Machine Learning Levels

Python Jupyter License

📊 Overview

A comprehensive collection of machine learning projects organized by difficulty level, covering essential ML techniques from basics to advanced applications. This repository demonstrates practical implementation of ML algorithms using Python, Pandas, NumPy, Scikit-learn, and real-world datasets.

Perfect for aspiring data analysts and ML practitioners looking to build a strong foundation in:

  • ✅ Classification & Regression
  • ✅ Time Series Forecasting
  • ✅ Natural Language Processing (NLP)
  • ✅ Feature Engineering & Model Evaluation

📚 Project Structure

🎯 Level 1: Basic Notebook - Fundamentals

File: Level_1_Basic_Notebook.ipynb
Dataset: 1) iris.csv

Topics Covered:

  • Data loading and exploration with Pandas
  • Exploratory Data Analysis (EDA)
  • Data visualization (histograms, scatter plots, correlation matrices)
  • Basic classification using Scikit-learn
  • Train-test split methodology
  • Model evaluation metrics (accuracy, precision, recall)

Skills Demonstrated:

- pandas.read_csv(), .info(), .describe()
- matplotlib & seaborn visualizations
- sklearn.model_selection.train_test_split
- Basic classifiers (Logistic Regression, Decision Trees)
- Confusion matrix analysis

🔹 Level 2: Intermediate Notebook - Regression & Feature Engineering

File: Level_2_Intermediate_Notebook.ipynb
Dataset: 2) Stock Prices Data Set.csv

Topics Covered:

  • Stock price prediction using regression models
  • Feature engineering (moving averages, lag features)
  • Handling time-series data
  • Multiple regression techniques comparison
  • Cross-validation strategies
  • Model performance optimization

Skills Demonstrated:

- Feature scaling and normalization
- LinearRegression, Ridge, Lasso regression
- Time series feature creation
- Model comparison (R², RMSE, MAE)
- Hyperparameter tuning

🟢 Level 3: Advanced Notebook - NLP & Sentiment Analysis

File: Level_3_Advanced_Notebook.ipynb
Dataset: 3) Sentiment dataset.csv

Topics Covered:

  • Text preprocessing and cleaning
  • Natural Language Processing techniques
  • Sentiment analysis classification
  • TF-IDF vectorization
  • Advanced classification algorithms
  • Model ensemble methods

Skills Demonstrated:

- Text cleaning (regex, stopwords removal)
- CountVectorizer & TfidfVectorizer
- Naive Bayes, Random Forest, SVM
- Classification report analysis
- ROC-AUC curve interpretation

🏡 Bonus: House Price Prediction

Dataset: 4) house Prediction Data Set.csv

Topics Covered:

  • Real estate price prediction
  • Advanced feature engineering
  • Handling missing data
  • Categorical encoding techniques
  • Polynomial features
  • Ensemble methods (Gradient Boosting, XGBoost)

🚀 Getting Started

Prerequisites

python >= 3.8
jupyter notebook
pandas
numpy
scikit-learn
matplotlib
seaborn

Installation

  1. Clone the repository:
git clone https://github.com/Pradeepkarra1/machine-learning-levels.git
cd machine-learning-levels
  1. Install dependencies:
pip install pandas numpy scikit-learn matplotlib seaborn jupyter
  1. Launch Jupyter Notebook:
jupyter notebook
  1. Open any notebook and run cells sequentially!

💻 Technologies & Libraries

Technology Purpose
Python 3.8+ Primary programming language
Pandas Data manipulation & analysis
NumPy Numerical computing
Scikit-learn Machine learning algorithms
Matplotlib Data visualization
Seaborn Statistical visualizations
Jupyter Interactive notebooks

📈 Learning Path

Recommended order for beginners:

  1. ➡️ Start with Level 1 - Understand data loading, EDA, and basic classification
  2. ➡️ Progress to Level 2 - Learn regression, feature engineering, and time series
  3. ➡️ Advance to Level 3 - Master NLP, text processing, and sentiment analysis
  4. ➡️ Challenge yourself - Apply techniques to the house price prediction problem

🎯 Key Concepts Covered

✔️ Data Preprocessing: Handling missing values, scaling, encoding
✔️ Exploratory Data Analysis: Statistical summaries, visualizations
✔️ Feature Engineering: Creating meaningful features from raw data
✔️ Model Training: Supervised learning algorithms
✔️ Model Evaluation: Accuracy, precision, recall, F1-score, ROC-AUC
✔️ Cross-Validation: K-fold validation techniques
✔️ Hyperparameter Tuning: Grid search, random search
✔️ Text Processing: Tokenization, vectorization, sentiment analysis


📁 Datasets Included

  1. Iris Dataset - Classic classification dataset with flower measurements
  2. Stock Prices - Historical stock market data for regression analysis
  3. Sentiment Dataset - Text reviews with sentiment labels for NLP
  4. House Prices - Real estate features for price prediction

🎯 Use Cases

This repository is ideal for:

  • 💼 Job Seekers building ML portfolios for Data Analyst/Data Scientist roles
  • 🎓 Students learning machine learning fundamentals
  • 👨‍💻 Practitioners refreshing ML concepts with hands-on examples
  • 💡 Interviewers looking for practical ML implementation examples

🛠️ Skills Demonstrated for Recruiters

🔹 Python programming proficiency
🔹 Data manipulation with Pandas
🔹 Statistical analysis and modeling
🔹 Machine learning algorithm implementation
🔹 Model evaluation and optimization
🔹 Data visualization techniques
🔹 Problem-solving with real-world datasets
🔹 Clean, documented, reproducible code


💬 Contributing

Feel free to fork this repository and submit pull requests for:

  • Additional ML algorithms
  • New datasets
  • Improved documentation
  • Bug fixes

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.


👤 Author

Pradeep Karra
📊 Data Analyst | 5+ Years Experience
📧 Pradeepkarra1@gmail.com
🔗 LinkedIn | GitHub


⭐️ If you find this helpful, please star this repository!


Tags: machine-learning python data-science scikit-learn jupyter-notebook classification regression nlp sentiment-analysis data-analytics

About

Step-by-step machine learning projects using Python and Jupyter notebooks with datasets for classification, regression, time series, and NLP.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages