Data Science Basic | Introduction to Machine Learning by Diljeet Singh | Learn Smarter
Students

Academic Programs

AI-powered learning for grades 8-12, aligned with major curricula

Professional

Professional Courses

Industry-relevant training in Business, Technology, and Design

Games

Interactive Games

Fun games to boost memory, math, typing, and English skills

Introduction to Machine Learning

Introduction to Machine Learning

Machine Learning focuses on creating algorithms that can learn from data and make predictions or decisions autonomously. It covers types of learning, including supervised and unsupervised, alongside the basic workflow for building models using tools like scikit-learn. The importance of splitting data for training and evaluation, as well as understanding key evaluation metrics, are also emphasized.

9 sections

Enroll to start learning

You've not yet enrolled in this course. Please enroll for free to listen to audio lessons, classroom podcasts and take practice test.

Sections

Navigate through the learning materials and practice exercises.

  1. 1
    What Is Machine Learning?

    Machine Learning is a subset of AI that focuses on systems that learn from...

  2. 2
    Types Of Machine Learning

    This section covers the three main types of machine learning: supervised,...

  3. 2.1
    Supervised Learning

    Supervised learning is a type of machine learning where models are trained...

  4. 2.2
    Unsupervised Learning

    Unsupervised Learning focuses on identifying patterns in data without...

  5. 2.3
    Reinforcement Learning

    Reinforcement Learning (RL) is a type of machine learning that allows...

  6. 3
    Basic Ml Workflow

    The basic ML workflow outlines the key steps involved in building a machine...

  7. 4
    Building A Simple Model (Supervised Learning)

    This section demonstrates how to build a predictive model using supervised...

  8. 5
    Key Ml Terminology

    This section covers critical terminology related to Machine Learning that is...

  9. 6
    Model Evaluation Metrics

    Model evaluation metrics quantitatively measure how well a machine learning...

What we have learnt

  • Machine learning involves training algorithms to learn patterns from data.
  • Supervised learning uses labeled data; unsupervised learning does not.
  • scikit-learn simplifies model training, prediction, and evaluation.
  • Data should always be split into training and testing sets.
  • Evaluation metrics are essential for understanding model performance.

Key Concepts

-- Features (X)
Input variables used in machine learning models (e.g., age, hours studied).
-- Target (y)
The output variable that the model is trying to predict (e.g., salary, exam score).
-- Overfitting
Occurs when a model performs well on training data but poorly on unseen data due to capturing noise instead of the underlying pattern.
-- Underfitting
Occurs when a model is too simple to capture the underlying trends in the data.
-- Train/Test Split
The process of dividing data into a training set to train the model and a test set to evaluate its performance.
-- Mean Squared Error
A metric used to measure the average squared difference between predictions and actual outcomes in regression tasks.
-- R² Score
A metric that indicates the proportion of variance in the dependent variable that can be explained by the independent variables.
-- Accuracy
The ratio of correctly predicted instances to the total instances in classification tasks.
-- Precision
The ratio of true positive predictions to all positive predictions made by the model.
-- Recall
The ratio of true positive predictions to the total actual positives.
-- F1 Score
A metric that combines precision and recall into a single score, useful for evaluating classification models.

Additional Learning Materials

Supplementary resources to enhance your learning experience.