0% found this document useful (0 votes)
3 views

ML

Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

ML

Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 8

Q. Define Machine Learning. Write any 20 applications of machine learning.

Machine learning is a branch of artificial intelligence that enables algorithms to uncover hidden patterns
within datasets, allowing them to make predictions on new, similar data without explicit programming for
each task.

Machine learning’s impact extends to autonomous vehicles, drones, and robots, enhancing their
adaptability in dynamic environments. This approach marks a breakthrough where machines learn from
data examples to generate accurate outcomes, closely intertwined with data mining and data science.

Here are 20 applications of machine learning:

1. **Image Recognition**: Machine learning is used in self-driving cars to recognize and classify objects,
such as pedestrians, traffic lights, and other vehicles.

2. **Personalized Recommendations**: Online retailers use machine learning to recommend products to


customers based on their browsing and purchasing history.

3. **Speech Recognition**: Virtual assistants like Siri and Alexa use machine learning to recognize and
interpret voice commands.
4. **Natural Language Processing**: Machine learning is used to analyze and understand natural
language, enabling applications such as chatbots and language translation software.

5. **Predictive Maintenance**: Machine learning algorithms can be used to predict when equipment or
machines are likely to fail, allowing for proactive maintenance.

6. **Customer Churn Prediction**: Banks and telecommunications companies use machine learning to
predict which customers are likely to switch to a competitor.

7. **Fraud Detection**: Machine learning is used in finance to detect fraudulent transactions and prevent
identity theft.

8. **Sentiment Analysis**: Machine learning algorithms can analyze customer feedback and sentiment to
help businesses improve their products and services.

9. **Medical Diagnosis**: Machine learning is used in healthcare to diagnose diseases such as cancer,
diabetes, and Alzheimer's.

10. **Recommendation Systems**: Music streaming services like Spotify use machine learning to
recommend music to users based on their listening history.

11. **Robotics**: Machine learning is used in robotics to enable robots to learn from their environment
and adapt to new situations.

12. **Supply Chain Optimization**: Machine learning algorithms can be used to optimize supply chain
logistics and reduce costs.

13. **Autonomous Vehicles**: Machine learning is used in self-driving cars to enable them to navigate
complex road networks and make decisions in real-time.

14. **Marketing Automation**: Machine learning is used in marketing automation to personalize


marketing campaigns and optimize ad targeting.
15. **Credit Risk Assessment**: Machine learning algorithms can be used to assess the creditworthiness
of individuals and businesses.

16. **Quality Control**: Machine learning is used in manufacturing to detect defects and improve quality
control processes.

17. **Content Filtering**: Machine learning algorithms can be used to filter out inappropriate content
online, such as hate speech or pornography.

18. **Recommendation Systems for E-commerce**: Online retailers use machine learning to recommend
products to customers based on their browsing and purchasing history.

19. **Healthcare Analytics**: Machine learning is used in healthcare analytics to analyze patient data and
identify trends and patterns.

20. **Predictive Analytics**: Machine learning algorithms can be used to predict future outcomes, such
as stock prices, weather patterns, or election results.

Q. Explain Types of Machine Learning with Diagram.


1. Supervised Machine 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.
o Classification

o Regression

o a) Classification
o Classification algorithms are used to solve the classification problems in which the output
variable is categorical, such as "Yes" or No, Male or Female, Red or Blue, etc. The
classification algorithms predict the categories present in the dataset. Some real-world
examples of classification algorithms are Spam Detection, Email filtering, etc.

b) Regression
Regression algorithms are used to solve regression problems in which there is a linear relationship
between input and output variables. These are used to predict continuous output variables, such as
market trends, weather prediction, etc.

2. Unsupervised Machine Learning


In unsupervised machine learning, the machine is trained using the unlabeled dataset, and the machine
predicts the output without any supervision.
In unsupervised learning, the models are trained with the data that is neither classified nor labelled, and
the model acts on that data 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.
o Clustering

o Association

Clustering
The clustering technique is used when we want to find the inherent groups from the data. It is a way
to group the objects into a cluster such that the objects with the most similarities remain in one group
and have fewer or no similarities with the objects of other groups.

Association
Association rule learning is an unsupervised learning technique, which finds interesting relations among
variables within a large dataset. The main aim of this learning algorithm is to find the dependency of one
data item on another data item and map those variables accordingly so that it can generate maximum
profit. This algorithm is mainly applied in Market Basket analysis, Web usage mining, continuous
production, etc.

3] 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. Agent gets rewarded for each good action and get
punished for each bad action; hence the goal of reinforcement learning agent is to maximize the rewards.

Categories of Reinforcement Learning


Reinforcement learning is categorized mainly into two types of methods/algorithms:
o Positive Reinforcement Learning: Positive reinforcement learning specifies increasing the
tendency that the required behaviour would occur again by adding something. It enhances the
strength of the behaviour of the agent and positively impacts it.
o Negative Reinforcement Learning: Negative reinforcement learning works exactly opposite to
the positive RL. It increases the tendency that the specific behaviour would occur again by
avoiding the negative condition.

Q. Compare this all

Q. what is Data visualization?


Data visualization is a crucial aspect of machine learning that enables analysts to understand and make
sense of data patterns, relationships, and trends. Through data visualization, insights and patterns in data
can be easily interpreted and communicated to a wider audience, making it a critical component of
machine learning.
Types of Data for Visualization:
1. Numerical Data: Quantitative data that can be measured and expressed as numbers, such as
temperature, sales, or population.
2. Categorical Data: Non-numerical data that can be classified into categories, such as colors,
countries, or products.
3. Text Data: Unstructured data that consists of words, phrases, or sentences, such as customer
reviews, social media posts, or news articles.
4. Image Data: Visual data that consists of images, such as photographs, diagrams, or illustrations.
5. Time Series Data: Data that is recorded over time, such as stock prices, weather patterns, or
website traffic.
Types of Data Visualization Approaches:
1. Bar Charts: Used to compare categorical data across different groups or categories.
2. Line Charts: Used to show trends or patterns over time.
3. Scatter Plots: Used to visualize relationships between two numerical variables.
4. Heat Maps: Used to show relationships between two categorical variables or to highlight patterns
in data.
5. Pie Charts: Used to show the proportion of different categories in a dataset.
6. Tree Maps: Used to visualize hierarchical relationships between different categories.
7. Bubbles: Used to show the relationship between three numerical variables.
8. Geographic Maps: Used to visualize geographic data and show relationships between locations.
9. Interactive Visualizations: Used to allow users to interact with the visualization and explore
different aspects of the data.
Q. Explain the Reinforcement learning with suitable diagram.
Reinforcement learning is all about making decisions sequentially. In simple words, we can say that the
output depends on the state of the current input and the next input depends on the output of the previous
input.
In Reinforcement learning decision is dependent, So we give labels to sequences of dependent decisions
Example: Chess game,text summarization

Q. Confusion matrix
A confusion matrix is a table that is used to evaluate the performance of a machine learning model on a
test dataset. It provides a summary of the predictions made by the model and the actual outcomes. The
matrix is called "confusion" because it confuses the predicted outcomes with the actual outcomes.
Q. TP (True Positive): A positive result that is correctly predicted by the model. This means that the
model correctly identified a true instance of the target class or concept.
Q.TN (True Negative): A negative result that is correctly predicted by the model. This means that the
model correctly identified a non-instance of the target class or concept.
Q.FP (False Positive): A negative result that is incorrectly predicted as positive by the model. This means
that the model incorrectly identified a non-instance of the target class or concept as an instance.
Q.FN (False Negative): A positive result that is incorrectly predicted as negative by the model. This
means that the model incorrectly identified a true instance of the target class or concept as a non-instance.
Q.Accuracy: The proportion of correct predictions out of all predictions made by the model. It is the sum
of True Positives (TP) and True Negatives (TN) divided by the total number of instances.
Q.Precision: The proportion of True Positives (TP) among all positive predictions made by the model. It
is the ratio of TP to the sum of TP and False Positives (FP).
Q.Recall (also known as Sensitivity or True Positive Rate): The proportion of True Positives (TP)
among all actual positive instances. It is the ratio of TP to the sum of TP and False Negatives (FN).
Q.F1 Score: Balanced measure of Precision and Recall for imbalanced datasets.
Q.Threshold: Value used to classify instances as positive or negative.
Q. False Positive Rate (FPR): Proportion of incorrect positives.
Q. AUC – ROC: Measure of a model's performance on binary classification tasks.
Q. R-squared (R2): Goodness of fit for linear models, measuring how well the model explains the data.

You might also like