Intro To ML - 1
Intro To ML - 1
Lecture 1
Date : 2 Jan, 2025
Apurva Dhingra
PhD @ CMInDS, IIT Bombay
Lecture -1 Outline
Introduction to Machine Learning:
● Definition of machine learning.
● Distinction between traditional programming and machine learning.
Historical Context:
● Milestones in the development of machine learning.
● Key breakthroughs and their impact.
Applications in Physics:
● Examples of successful machine learning applications in physics.
● Highlighting the potential for solving complex problems in physics using machine learning.
Types of Machine Learning:
● Brief introduction to supervised learning, unsupervised learning, and reinforcement learning.
● High-level explanation of how each type works.
Overview of the Course Structure:
● Outline of topics covered in subsequent weeks.
● Emphasis on the balance between theory and practical implementation.
Lecture-1 outline continued
Identifying Problems Suitable for ML:
● Discussion on the types of physics problems that can benefit from machine learning.
● Examples of problems where data-driven approaches can enhance traditional methods.
Overview of Physics Datasets:
● Introduction to common datasets used in physics research.
● Discussion on the challenges and opportunities in handling physics data.
Introduction to Python:
● Basics of Python programming for data science.
● Overview of Python's role in machine learning.
Libraries for Data Handling:
● Introduction to NumPy and Pandas for efficient data manipulation.
● Demonstrations of basic data preprocessing techniques.
Content
Introduction to ML
ML vs Traditional programming
Applications of ML
Components of ML
Types of ML
Physics and ML
Introduction : AI and ML
AI : Artificial intelligence (AI), the ability of a digital computer or computer-controlled robot to perform tasks commonly
associated with intelligent beings.
ML : Machine Learning is a field of artificial intelligence that focuses on the development of algorithms and statistical models
allowing computer systems to perform tasks without explicit programming.
Ex - ChatGPT
Machine Learning
George E. P. Box
Traditional Programming vs. Machine Learning
Sheepdog
or mop
Applications of Machine Learning
Label : individual emails that users have explicitly marked as "spam" or "not spam."
Components of Machine learning
Workflow of Machine Learning MODEL DATA
● Data Collection: Gathering relevant
data for the problem at hand.
● Data Preprocessing: Cleaning,
transforming, and preparing data for
analysis.
● Model Training: Training the model
on the training dataset.
● Evaluation: Assessing the model's
performance on a separate dataset.
● Prediction: Using the trained model
to make predictions on new, unseen
data.
Optimisation Algorithms
How do we find the best setting of
switches to match the data?
Types of Machine Learning
A regression(prediction) model predicts continuous values. For example, regression models make predictions that answer
questions like the following:
A classification model predicts discrete values. For example, classification models make predictions that answer questions
like the following:
Steps :
3. Can this task be performed without using machine learning? Can it be done by
traditional programming and domain/expert knowledge?
Application of ML - Face Recognition
Image source
Some examples from real life
Google Search Information
Retrieval
Search within articles, e-books, etc.
Kaggle: https://www.kaggle.com/datasets
Another good resource: http://deeplearning.net/datasets/
Popular resource for ML beginners: http://archive.ics.uci.edu/ml/index.php
Interesting datasets for computational journalists:
http://cjlab.stanford.edu/2015/09/30/lab-launch-and-data-sets/
Speech and language resources: www.openslr.org/
… and so do ML libraries/toolkits
scikit-learn, openCV, Keras, Tensorflow, NLTK, etc.
References/Books