Lecture-07 & 08 (New)
Lecture-07 & 08 (New)
• Background
• Introduction
• Applications
• Types
• Supervised and Unsupervised Learning
• Supervised Learning – Regression
• Regression – Simple Linear regression: Case Study
• Conclusion
• Feedback
Machine Learning - Background
• The process of bring machines up to the level where they may recognize
objects like human being.
• Subfield of AI focused on building computer systems that learn from data.
• Involves different algorithms such as Neural Network, Regression etc to learn
from large amounts of data, making them effective for complex tasks such as
Classification and Prediction.
• The goal is to enable computers to learn and improve from experience
without being explicitly programmed for each task.
Introduction
History of Machine Learning
Machine Learning
Supervised Unsupervised
Linear Regression K-Means Clustering
Neural Network DBSCAN
K.N.N PCA
Decision Tree GANs
S.V.M One-Class SVM
Supervised Learning - Regression
• Statistical method, helps us in understanding and predicting relationship
between variables.
• Two types of variables i.e. Dependent (To be Predicted), Independent
(provide foundation for prediction).
• Describe how one variable changes (dependent) as another variable changes
(independent).
• Dependent Variable: We are trying to predict or explain (Y)
• Independent Variable: Used to predict or explain changes in the dependent
variable (X).
• Example: Predicting employee salary based on the years of experience.
Supervised Learning - Regression
Employee Salary against Experience
35000
30000
Y-axis
25000
20000
15000
10000
5000
0
0 0.5 1 1.5 2 2.5
X-axis
Regression – Simple Linear Regression
20 8 0 0 0 0
30 12 -10 -4 40 100
12
10
Y-axis
0
5 10 15 20 25 30 35
X-axis
Conclusion
• Machine Learning: a subset of artificial intelligence, trains algorithms to learn
from data and make predictions autonomously.
• Widely applied in various fields such as Finance, Education, Medical etc.
• Its Two main types are supervised learning (using labeled data) and
unsupervised learning.
• Common algorithms include linear and logistic regression, support vector
machines for supervised learning, and k-means and hierarchical clustering for
unsupervised learning.
• Regression analysis, like simple linear regression, models relationships between
variables, such as predicting weight from height.
• Overall, Machine Learning empowers data-driven decision-making across
industries.
Feedback/Assignment
• Draw a complete table to predict the time taken by the compiler to compile a
1500 lines of code. Visualize the output in the graphical form.
• Implement the concept of simple Linear Regression in PYTHON programing
language and highlight the outcomes and challenges during the compilation.
THANK YOU!