Professional Documents
Culture Documents
Logistic regression is a classification algorithm that is used to predict a binary outcome, such as true
or false, based on a discrete data set formed based on prior observations. For example, classifying
whether an email is spam or not spam, an online transaction is fraudulent or not, etc.
Supervised Learning: When we provide a labeled dataset to an algorithm in machine learning and
provide an answer key that the algorithm can use to evaluate the accuracy on training data, it is
called supervised learning. For example, logistic regression, linear regression, etc.
Unsupervised learning: When an unlabeled dataset is provided to the machine learning algorithm
and the algorithm is expected to make sense of the data by extracting features and patterns on its
own, it is called unsupervised learning. For example, k-means clustering, apriori algorithm, etc.
In unsupervised machine learning technique, the users do not supervise the model and allow the
model to work on its own on the dataset to discover patterns and information.
1. Clustering – In this method the objects are grouped into clusters such that the objects with
most similarities remain in a group and has no less similarities with the objects of another
group. Following are the clustering types of Machine Learning:
Hierarchical clustering
K-means clustering
K-NN (k nearest neighbors)
Principal Component Analysis
Singular Value Decomposition
Independent Component Analysis
2. Association – In this method an association rule is used for finding the relationships between
variables in a large database.
Q7. What Are the Applications of Supervised Machine Learning in Modern Businesses?
1. Advertising/Marketing
2. Big Data/Analytics
3. Sales Applications
4. Data Security/Fraud
5. Robots/Drones
6. Entertainment
Q 6. What Are the Differences Between Machine Learning and Deep Learning?
Machine learning: In machine learning the computers are able to think and act with less human
intervention. It is a subset of Artificial Intelligence (AI).
Deep learning: In deep learning, computers are taught to think using structures modeled on the
human brain. It is subset of machine learning.
Q 5. What Are the Three Stages of Building a Model in Machine Learning?
The three stages are: Model building, model testing, and applying model.
Model building – Choose an algorithm suitable for the model and train the model accordingly.
Applying the model – Make required changes to the model after testing and use the final model for
real-time projects.
1. Drop the rows or columns tat are missing. It is usually applicable for empty cells.
2. Replace the missing data with aggregated values such as mean/median/mode.
3. Create a unique category to missing values.
4. Predict the missing values using statistical or machine learning algorithms.