Machine learning
algorithms
What is machine learning
• Machine learning is a branch of artificial intelligence (AI) that focuses on
developing algorithms and models that enable computers to learn and
make predictions or decisions based on patterns and data, without being
explicitly programmed.
• In machine learning, algorithms are trained on large datasets to
automatically learn and improve from experience. The goal is to enable
computers to recognize patterns, extract insights, and make accurate
predictions or decisions when presented with new, unseen data.
Types of machine learning
• Supervised learning
• Unsupervised learning
• Semi-supervised learning
• Reinforcement learning
Types of machine learning algorithms
• Machine learning algorithms can be classified as-
1. Supervised Machine learning algorithms
2. Unsupervised Machine learning algorithms
3. Reinforcements Machine learning algorithms
Machine learning algorithms
• Naïve bayes classifier algorithm
• K means clustering algorithm
• Support vector machine algorithm
• Linear regression
• Logistic regression
• Random forests
• Decision tree
Naïve bayes classifier algorithm
• The Naive Bayes classifier is a simple and probabilistic machine learning
algorithm that is based on Bayes' theorem. Despite its simplicity, it is
often used in text classification and spam filtering tasks and has proven to
be effective in many real-world applications. The algorithm assumes that
the features are conditionally independent given the class label, which is
where the "naive" assumption comes from.
K means clustering algorithm
• K-means clustering is a popular unsupervised machine learning algorithm
used to partition a dataset into K distinct clusters based on their
similarities. The algorithm aims to minimize the within-cluster sum of
squares, also known as inertia or distortion.
Support vector machine algorithm
• Support Vector Machines (SVM) is a powerful supervised machine
learning algorithm used for both classification and regression tasks. It is
particularly effective in solving binary classification problems, where the
goal is to separate data points into two distinct classes. SVMs can also be
extended to handle multi-class classification problems.
Linear regression
• Linear regression is a supervised machine learning algorithm used for
predicting a continuous numerical value based on a linear relationship
between input features and the target variable. It assumes that there is a
linear relationship between the input features and the target variable
Logistic regression
• Logistic regression is a supervised machine learning algorithm mainly
used for classification tasks where the goal is to predict the probability
that an instance of belonging to a given class or not. It is a kind of
statistical algorithm, which analyze the relationship between a set of
independent variables and the dependent binary variables. It is a powerful
tool for decision-making. For example email spam or not.