Skip to content

SHAHMACP/Machine-Learning-Basics-and-Terminologies

Repository files navigation

📘 Machine Learning Basics and Terminologies

Welcome to the Machine Learning Basics and Terminologies repository! This repository is designed for beginners and enthusiasts who want to understand the fundamental concepts of Machine Learning, key differences between related fields, and essential terminologies. image


📚 Contents

  1. AI vs ML vs DL
  2. Traditional Programming vs Machine Learning
  3. Machine Learning Lifecycle
  4. Types of Machine Learning - Supervised, Unsupervised, Semi-Supervised, and Reinforcement Learning
  5. [Common Machine Learning Terminologies]
  6. Model Performance Metrics
  7. [Popular Machine Learning Algorithms]

1. AI vs ML vs DL

Data Analytics Values Driven Organizations Venn Diagram (11)

  • Artificial Intelligence (AI): A broad field aiming to create machines that can simulate human intelligence.
  • Machine Learning (ML): A subset of AI that allows systems to learn and improve from experience.
  • Deep Learning (DL): A subset of ML focused on neural networks with many layers (deep architectures).

🔁 AI ⊃ ML ⊃ DL


2. Introduction to Machine Learning

Machine Learning is the science of getting computers to learn patterns from data and make decisions or predictions. It is used in various domains such as healthcare, finance, marketing, and more.


3. Traditional Programming vs Machine Learning

Traditional Programming Machine Learning
Rules + Data → Output Data + Output → Rules
Explicit logic written Model learns patterns
Deterministic Probabilistic

4. Machine Learning Lifecycle

  1. Problem Definition
  2. Data Collection
  3. Data Preprocessing
  4. Exploratory Data Analysis
  5. Model Selection
  6. Training
  7. Evaluation
  8. Deployment
  9. Monitoring and Maintenance

5. Types of Machine Learning

  • Supervised Learning
  • Unsupervised Learning
  • Semi-Supervised Learning
  • Reinforcement Learning

6. Supervised, Unsupervised, Semi-Supervised, and Reinforcement Learning

  • Supervised Learning: Labeled data used (e.g., classification, regression)
  • Unsupervised Learning: No labels (e.g., clustering, dimensionality reduction)
  • Semi-Supervised Learning: Few labeled and many unlabeled data points
  • Reinforcement Learning: Agent learns by interacting with an environment via rewards/punishments

7. Supervised Learning: Regression vs Classification

  • Regression: Predicts continuous values (e.g., house price)
  • Classification: Predicts discrete labels (e.g., spam or not)

8. Common Machine Learning Terminologies

  • Feature: Input variable
  • Label: Output variable
  • Model: Learned algorithm
  • Training: Learning from data
  • Testing: Evaluating performance
  • Overfitting: Too complex, memorizes training data
  • Underfitting: Too simple, misses patterns
  • Bias & Variance: Errors due to assumptions vs fluctuations

9. Model Performance Metrics

For Classification:

  • Accuracy
  • Precision
  • Recall
  • F1-Score
  • ROC-AUC

For Regression:

  • Mean Absolute Error (MAE)
  • Mean Squared Error (MSE)
  • Root Mean Squared Error (RMSE)
  • R² Score

10. Popular Machine Learning Algorithms

  • Linear Regression
  • Logistic Regression
  • Decision Trees
  • Random Forest
  • Support Vector Machines (SVM)
  • K-Nearest Neighbors (KNN)
  • Naïve Bayes
  • Gradient Boosting (e.g., XGBoost, LightGBM)
  • K-Means Clustering (Unsupervised)
  • Principal Component Analysis (PCA)

📂 Repository Structure

📁 machine-learning-basics/
│
├── ai-vs-ml-vs-dl.md
├── introduction-to-ml.md
├── traditional-vs-ml.md
├── ml-lifecycle.md
├── types-of-ml.md
├── supervised-vs-unsupervised.md
├── regression-vs-classification.md
├── ml-terminology.md
├── performance-metrics.md
├── ml-algorithms.md
└── README.md

✅ Contribution

Pull requests are welcome! Feel free to improve the content or suggest better examples.


📧 Contact

Feel free to connect via GitHub Issues for any questions or suggestions.


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors