SlideShare ist ein Scribd-Unternehmen logo
1 von 21
MACHINE LEARNING
Kritim Prasad Kafle
Computer Science and Engineering
Excel Engineering College
WHAT ARE THE THINGS WE WILL BE LEARNING TODAY?
- Prerequisites before learning machine learning:
: Python
: Python libraries
- Machine Learning
- Types of Machine Learning
- Applications of Machine Learning
- Advantages and Disadvantages of Machine Learning
- Simple Example of Machine Learning
PREREQUISITES BEFORE LEARNING
MACHINE LEARNING
PROGRAMMING LANGUAGE: PYTHON
POPULAR PYTHON LIBRARIES VISUALIZATION LIBRARIES
NUMPY MATPLOTLIB
PANDAS SEABORN
SCIKIT-LEARN
PYTHON
Python is an high-level, interpreted, general-purpose programming language.
Basic Essentials
- . Data types are numbers, strings
- . lists, and dictionaries.
. For loops and conditionals
. Functions
. Object oriented
PANDAS NUMPY
 Data from different file objects
can be loaded.
 Easy handling of missing data
(represented as NaN) in floating
point as well as non-floating
point data.
 To Install pandas:
 pip install pandas
 To import panda:
 Import pandas as pd
 NumPy is a Python library used for
working with arrays.

In Python we have lists that serve
the purpose of arrays, but they are
slow to process.
 NumPy aims to provide an array
object that is up to 50x faster than
traditional Python lists.
 To install numpy:
 pip install numpy
 To import numpy
 import numpy
SCIKIT-LEARN
- Scikit-learn (Sklearn) is the most useful and robust library for
machine learning in Python.
- It provides a selection of efficient tools for machine learning and
statistical modeling including classification, regression, clustering.
To install scikit-learn:
pip install scikit-learn
MATPLOTLIB
 Matplotlib is a plotting library for
creating static, animated, and
interactive visualizations in
Python.
 The various plots we can utilize
using Pyplot are Line
Plot, Histogram, Scatter, 3D
Plot, Image, Contour, and Polar.
 To install matplotlib :
 pip install matplotlib
MACHINE LEARNING
 The term machine learning was coined in 1959
by Arthur Samuel.
 Machine learning is an application of artificial
intelligence (AI) that provides systems the ability to
automatically learn and improve from experience
without being explicitly programmed.
 A subset of machine learning is closely related
to computational statistics, which focuses on
making predictions using computers, but not all
machine learning is statistical learning.
TYPES OF MACHINE LEARNING
SUPERVISED LEARNING
 As its name suggests, supervised machine learning is based on supervision. It means in the
supervised learning technique, we train the machines using the "labelled" dataset, and based on
the training, the machine predicts the output. Here, the labelled data specifies that some of the
inputs are already mapped to the output. More preciously, we can say; first, we train the machine
with the input and corresponding output, and then we ask the machine to predict the output using
the test dataset.
 Let's understand supervised learning with an example.
 Suppose we have an input dataset of cats and dog images. So, first, we will provide the training
to the machine to understand the images, such as the shape & size of the tail of cat and dog,
Shape of eyes, colour, height (dogs are taller, cats are smaller), etc. After completion of
training, we input the picture of a cat and ask the machine to identify the object and predict the
output. Now, the machine is well trained, so it will check all the features of the object, such as
height, shape, colour, eyes, ears, tail, etc., and find that it's a cat. So, it will put it in the Cat
category. This is the process of how the machine identifies the objects in Supervised Learning.
 Applications of supervised learning
 Medical Diagnosis
 Spam detection – spam or not in a mail
UNSUPERVISED LEARNING
 Unsupervised learning is different from the Supervised learning technique; as its name suggests,
there is no need for supervision. It means, in unsupervised machine learning, the machine is trained
using the unlabeled dataset, and the machine predicts the output without any supervision.
 The main aim of the unsupervised learning algorithm is to group or categories the unsorted
dataset according to the similarities, patterns, and differences. Machines are instructed to find
the hidden patterns from the input dataset.
 Let’s understand by example:
 Suppose there is a basket of fruit images, and we input it into the machine learning model. The
images are totally unknown to the model, and the task of the machine is to find the patterns and
categories of the objects.So, now the machine will discover its patterns and differences, such as
colour difference, shape difference, and predict the output when it is tested with the test dataset.
 Applications of unsupervised learning:
 Network Analysis: For identifying plagiarism and copyright in document .
 Recommendation Systems: For building recommendation applications.
REINFORCEMENT LEARNING
Reinforcement learning works on a feedback-based process, in which
an AI agent (A software component) automatically explore its
surrounding by hitting & trail, taking action, learning from experiences,
and improving its performance.
The reinforcement learning process is similar to a human being; for
example, a child learns various things by experiences in his day-to-day
life.
Applications of reinforcement learning:
Robotics
Video Games
APPLICATIONS OF MACHINE LEARNING
ADVANTAGES DISADVANTAGES
 Easily identifies trends and
patterns
 No human intervention needed
(automation)
 Continuous Improvement
 Wide Range of Applications
Time and Resources
Possibility of High Error
Algorithm Selection
EXAMPLE
Dataset of area and price
LINEAR FORM
 Y = price x = area
 m = slope b = intercept
CODE
PLOTTING OF AREA AND PRICE
DIVISION OF PRICE AND AREA
CREATE LINEAR REGRESSION OBJECT
Machine Learning Introduction

Weitere ähnliche Inhalte

Ähnlich wie Machine Learning Introduction

Machine learning-in-details-with-out-python-code
Machine learning-in-details-with-out-python-codeMachine learning-in-details-with-out-python-code
Machine learning-in-details-with-out-python-codeOsama Ghandour Geris
 
Machine Learning Ch 1.ppt
Machine Learning Ch 1.pptMachine Learning Ch 1.ppt
Machine Learning Ch 1.pptARVIND SARDAR
 
AI, Machine Learning and Deep Learning - The Overview
AI, Machine Learning and Deep Learning - The OverviewAI, Machine Learning and Deep Learning - The Overview
AI, Machine Learning and Deep Learning - The OverviewSpotle.ai
 
Essential concepts for machine learning
Essential concepts for machine learning Essential concepts for machine learning
Essential concepts for machine learning pyingkodi maran
 
Python Machine Learning Tutorial
Python Machine Learning TutorialPython Machine Learning Tutorial
Python Machine Learning Tutorialgrinu
 
01. Machine can learn_machine learning.pdf
01. Machine can learn_machine learning.pdf01. Machine can learn_machine learning.pdf
01. Machine can learn_machine learning.pdfnafisakhan14
 
Machine learning
Machine learningMachine learning
Machine learningAbrar ali
 
Step Into World of Artificial Intelligence
Step Into World of Artificial IntelligenceStep Into World of Artificial Intelligence
Step Into World of Artificial IntelligenceExplore Skilled
 
What is Machine Learning4-converted.pptx
What is Machine Learning4-converted.pptxWhat is Machine Learning4-converted.pptx
What is Machine Learning4-converted.pptxvinod756504
 
machine-learning-with-python (1).ppt
machine-learning-with-python (1).pptmachine-learning-with-python (1).ppt
machine-learning-with-python (1).pptROGNationYT
 
Machine Learning Basics
Machine Learning BasicsMachine Learning Basics
Machine Learning BasicsSuresh Arora
 
Hr salary prediction using ml
Hr salary prediction using mlHr salary prediction using ml
Hr salary prediction using mlshaiksafi1
 
what-is-machine-learning-and-its-importance-in-todays-world.pdf
what-is-machine-learning-and-its-importance-in-todays-world.pdfwhat-is-machine-learning-and-its-importance-in-todays-world.pdf
what-is-machine-learning-and-its-importance-in-todays-world.pdfTemok IT Services
 
How to use Artificial Intelligence with Python? Edureka
How to use Artificial Intelligence with Python? EdurekaHow to use Artificial Intelligence with Python? Edureka
How to use Artificial Intelligence with Python? EdurekaEdureka!
 

Ähnlich wie Machine Learning Introduction (20)

Machine learning-in-details-with-out-python-code
Machine learning-in-details-with-out-python-codeMachine learning-in-details-with-out-python-code
Machine learning-in-details-with-out-python-code
 
Machine Learning Ch 1.ppt
Machine Learning Ch 1.pptMachine Learning Ch 1.ppt
Machine Learning Ch 1.ppt
 
Machine learning
Machine learningMachine learning
Machine learning
 
AI, Machine Learning and Deep Learning - The Overview
AI, Machine Learning and Deep Learning - The OverviewAI, Machine Learning and Deep Learning - The Overview
AI, Machine Learning and Deep Learning - The Overview
 
Secret of Machine Learning
Secret of Machine LearningSecret of Machine Learning
Secret of Machine Learning
 
AI & ML
AI & MLAI & ML
AI & ML
 
Essential concepts for machine learning
Essential concepts for machine learning Essential concepts for machine learning
Essential concepts for machine learning
 
Secrets of Machine Learning
Secrets of Machine LearningSecrets of Machine Learning
Secrets of Machine Learning
 
Python Machine Learning Tutorial
Python Machine Learning TutorialPython Machine Learning Tutorial
Python Machine Learning Tutorial
 
01. Machine can learn_machine learning.pdf
01. Machine can learn_machine learning.pdf01. Machine can learn_machine learning.pdf
01. Machine can learn_machine learning.pdf
 
Machine learning
Machine learningMachine learning
Machine learning
 
Cognitive Automation - Your AI Coworker
Cognitive Automation - Your AI CoworkerCognitive Automation - Your AI Coworker
Cognitive Automation - Your AI Coworker
 
Step Into World of Artificial Intelligence
Step Into World of Artificial IntelligenceStep Into World of Artificial Intelligence
Step Into World of Artificial Intelligence
 
machine learning.pptx
machine learning.pptxmachine learning.pptx
machine learning.pptx
 
What is Machine Learning4-converted.pptx
What is Machine Learning4-converted.pptxWhat is Machine Learning4-converted.pptx
What is Machine Learning4-converted.pptx
 
machine-learning-with-python (1).ppt
machine-learning-with-python (1).pptmachine-learning-with-python (1).ppt
machine-learning-with-python (1).ppt
 
Machine Learning Basics
Machine Learning BasicsMachine Learning Basics
Machine Learning Basics
 
Hr salary prediction using ml
Hr salary prediction using mlHr salary prediction using ml
Hr salary prediction using ml
 
what-is-machine-learning-and-its-importance-in-todays-world.pdf
what-is-machine-learning-and-its-importance-in-todays-world.pdfwhat-is-machine-learning-and-its-importance-in-todays-world.pdf
what-is-machine-learning-and-its-importance-in-todays-world.pdf
 
How to use Artificial Intelligence with Python? Edureka
How to use Artificial Intelligence with Python? EdurekaHow to use Artificial Intelligence with Python? Edureka
How to use Artificial Intelligence with Python? Edureka
 

Kürzlich hochgeladen

How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech studentsHimanshiGarg82
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024Mind IT Systems
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsAndolasoft Inc
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplatePresentation.STUDIO
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...software pro Development
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension AidPhilip Schwarz
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 

Kürzlich hochgeladen (20)

How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 

Machine Learning Introduction

  • 1. MACHINE LEARNING Kritim Prasad Kafle Computer Science and Engineering Excel Engineering College
  • 2. WHAT ARE THE THINGS WE WILL BE LEARNING TODAY? - Prerequisites before learning machine learning: : Python : Python libraries - Machine Learning - Types of Machine Learning - Applications of Machine Learning - Advantages and Disadvantages of Machine Learning - Simple Example of Machine Learning
  • 3. PREREQUISITES BEFORE LEARNING MACHINE LEARNING PROGRAMMING LANGUAGE: PYTHON POPULAR PYTHON LIBRARIES VISUALIZATION LIBRARIES NUMPY MATPLOTLIB PANDAS SEABORN SCIKIT-LEARN
  • 4. PYTHON Python is an high-level, interpreted, general-purpose programming language. Basic Essentials - . Data types are numbers, strings - . lists, and dictionaries. . For loops and conditionals . Functions . Object oriented
  • 5. PANDAS NUMPY  Data from different file objects can be loaded.  Easy handling of missing data (represented as NaN) in floating point as well as non-floating point data.  To Install pandas:  pip install pandas  To import panda:  Import pandas as pd  NumPy is a Python library used for working with arrays.  In Python we have lists that serve the purpose of arrays, but they are slow to process.  NumPy aims to provide an array object that is up to 50x faster than traditional Python lists.  To install numpy:  pip install numpy  To import numpy  import numpy
  • 6. SCIKIT-LEARN - Scikit-learn (Sklearn) is the most useful and robust library for machine learning in Python. - It provides a selection of efficient tools for machine learning and statistical modeling including classification, regression, clustering. To install scikit-learn: pip install scikit-learn
  • 7. MATPLOTLIB  Matplotlib is a plotting library for creating static, animated, and interactive visualizations in Python.  The various plots we can utilize using Pyplot are Line Plot, Histogram, Scatter, 3D Plot, Image, Contour, and Polar.  To install matplotlib :  pip install matplotlib
  • 8. MACHINE LEARNING  The term machine learning was coined in 1959 by Arthur Samuel.  Machine learning is an application of artificial intelligence (AI) that provides systems the ability to automatically learn and improve from experience without being explicitly programmed.  A subset of machine learning is closely related to computational statistics, which focuses on making predictions using computers, but not all machine learning is statistical learning.
  • 9. TYPES OF MACHINE LEARNING
  • 10. SUPERVISED LEARNING  As its name suggests, supervised machine learning is based on supervision. It means in the supervised learning technique, we train the machines using the "labelled" dataset, and based on the training, the machine predicts the output. Here, the labelled data specifies that some of the inputs are already mapped to the output. More preciously, we can say; first, we train the machine with the input and corresponding output, and then we ask the machine to predict the output using the test dataset.  Let's understand supervised learning with an example.  Suppose we have an input dataset of cats and dog images. So, first, we will provide the training to the machine to understand the images, such as the shape & size of the tail of cat and dog, Shape of eyes, colour, height (dogs are taller, cats are smaller), etc. After completion of training, we input the picture of a cat and ask the machine to identify the object and predict the output. Now, the machine is well trained, so it will check all the features of the object, such as height, shape, colour, eyes, ears, tail, etc., and find that it's a cat. So, it will put it in the Cat category. This is the process of how the machine identifies the objects in Supervised Learning.  Applications of supervised learning  Medical Diagnosis  Spam detection – spam or not in a mail
  • 11. UNSUPERVISED LEARNING  Unsupervised learning is different from the Supervised learning technique; as its name suggests, there is no need for supervision. It means, in unsupervised machine learning, the machine is trained using the unlabeled dataset, and the machine predicts the output without any supervision.  The main aim of the unsupervised learning algorithm is to group or categories the unsorted dataset according to the similarities, patterns, and differences. Machines are instructed to find the hidden patterns from the input dataset.  Let’s understand by example:  Suppose there is a basket of fruit images, and we input it into the machine learning model. The images are totally unknown to the model, and the task of the machine is to find the patterns and categories of the objects.So, now the machine will discover its patterns and differences, such as colour difference, shape difference, and predict the output when it is tested with the test dataset.  Applications of unsupervised learning:  Network Analysis: For identifying plagiarism and copyright in document .  Recommendation Systems: For building recommendation applications.
  • 12. REINFORCEMENT LEARNING Reinforcement learning works on a feedback-based process, in which an AI agent (A software component) automatically explore its surrounding by hitting & trail, taking action, learning from experiences, and improving its performance. The reinforcement learning process is similar to a human being; for example, a child learns various things by experiences in his day-to-day life. Applications of reinforcement learning: Robotics Video Games
  • 14. ADVANTAGES DISADVANTAGES  Easily identifies trends and patterns  No human intervention needed (automation)  Continuous Improvement  Wide Range of Applications Time and Resources Possibility of High Error Algorithm Selection
  • 16. LINEAR FORM  Y = price x = area  m = slope b = intercept
  • 17. CODE
  • 18. PLOTTING OF AREA AND PRICE
  • 19. DIVISION OF PRICE AND AREA