0% found this document useful (0 votes)
41 views2 pages

ML Answers

fff

Uploaded by

melllo gang
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views2 pages

ML Answers

fff

Uploaded by

melllo gang
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

MODULE 1 5 MARKERS

What is Machine Learning and explain the different types of Machine Learning?

Machine learning is a branch of artificial intelligence that enables computers to learn from data and
improve their performance without being explicitly programmed .

Instead of writing rigid rules , Ml algorithms find patterns from data and make predictions or
decisions .

Its used in many areas like recommendations (stock buying , Netflix ) , self driving cars , speech
recognition and fraud detection.

Types of machine learning :

 Supervised learning : here the machine learning model is trained on a labelled dataset ,
whrere the data set has both inputs and output labels , the model gets trained on this data
and predicts outputs for unseen inputs . there are 2 types of supervised machine learning
algorithms
o Classification : it deals with categorical data which is used for decision making and
gives output in binary , like yes or no , true or false . example : email spam or not .
o Regression : it deals with continuous data which represent numerical values and is
used to predict a dependant variable using the independent variable . example :
predicting stock price /
 unsupervised learning : it is a type of machine learning algorithm which discovers patterns
and relationships from an unlabeled dataset , unlike supervised machine learning
unsupervised learning doesn’t have labelled inputs or outputs . it is mainly used for tasks
such as clustering or dimensionality reduction .
o clustering is the process of grouping data items based on their similarity
o dimensionality reduction is a method of preserving data with lower features while
still holding the original meaningful properties
 semi supervised learning : semi supervised learning is a machine learning algorithm that
works between supervised and unsupervised learning where the model is trained on a
labelled and unlabeled data .
 its particularly useful when obtaining labeled data is costly , time consuming . example : a
language translation model that has labelled and unlabeled data for a sentence , this allows
model to predict more accurate results .
 Reinforcement learning : In reinforcement learning, an agent learns by interacting with an
environment, receiving feedback in the form of rewards or penalties based on its actions.
The goal is to develop a strategy or policy that maximizes cumulative reward over time.
example : it can be used in NLP in dialogue systems and chatbots

How is unsupervised learning different from supervised learning with a practical example?

Unsupervised learning and supervised learning are two major categories of machine learning, and
they differ primarily in how the data is used for training.
 Supervised learning : here the machine learning model is trained on a labelled dataset ,
whrere the data set has both inputs and output labels , the model gets trained on this data
and predicts outputs for unseen inputs . there are 2 types of supervised machine learning
algorithms
 unsupervised learning : it is a type of machine learning algorithm which discovers patterns
and relationships from an unlabeled dataset , unlike supervised machine learning
unsupervised learning doesn’t have labelled inputs or outputs . it is mainly used for tasks
such as clustering or dimensionality reduction .

Practical example :

Supervised Learning Example: Spam Detection


 Problem: Classify emails as "spam" or "not spam."
 Data: Labeled emails, where each email is marked as either spam or not spam.
 Approach: A model learns the relationship between the text of the email (input) and the
spam label (output).
 Outcome: When a new email arrives, the model predicts whether it’s spam based on what
it learned.

Unsupervised Learning Example: Customer Segmentation

 Problem: Segment customers based on their purchasing behavior.


 Data: Transaction data with no labels—only information such as purchase frequency,
amount spent, and product categories.
 Approach: A clustering algorithm like K-means identifies groups (clusters) of
customers with similar behaviors.
 Outcome: The business can target these segments differently (e.g., offer discounts to
high-value customers).

In summary, supervised learning is useful when you know what you're looking for (like predicting
spam), while unsupervised learning helps you uncover hidden structures (like discovering customer
segments).

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy