Machine Learning Algorithms

Machine Learning Algorithms

Introduction:

Machine Learning algorithms are the programs that can learn the hidden patterns from the data, predict the output, and improve the performance from experiences on their own. Different algorithms can be used in machine learning.

Types of Machine Learning Algorithms:

Machine Learning Algorithm can be broadly classified into three types:

  1. Supervised Learning Algorithms
  2. Unsupervised Learning Algorithms
  3. Reinforcement Learning algorithm.

 

The below diagram illustrates the different ML algorithm, along with the categories:

Article content
ML ALGORITHMS

1) Supervised Learning Algorithm:

Supervised learning is a type of Machine learning in which the machine needs external supervision to learn. The supervised learning models are trained using the labeled dataset. Once the training and processing are done, the model is tested by providing a sample test data to check whether it predicts the correct output.

The goal of supervised learning is to map input data with the output data. Supervised learning is based on supervision, and it is the same as when a student learns things in the teacher's supervision. The example of supervised learning is spam filtering.

Supervised learning can be divided further into two categories of problem:

  1. Classification
  2. Regression

  • Regression

Regression algorithms are used if there is a relationship between the input variable and the output variable. It is used for the prediction of continuous variables, such as Weather forecasting, Market Trends, etc. Below are some popular Regression algorithms which come under supervised learning:

  1. Linear Regression
  2. Regression Trees
  3. Non-Linear Regression
  4. Bayesian Linear Regression
  5. Polynomial Regression

  • Classification

Classification algorithms are used when the output variable is categorical, which means there are two classes such as Yes-No, Male-Female, True-false, etc.

  1. Random Forest
  2. Decision Trees
  3. Logistic Regression
  4. Support vector Machines

Article content


2) Unsupervised Learning Algorithm:

It is a type of machine learning in which the machine does not need any external supervision to learn from the data, hence called unsupervised learning. The unsupervised models can be trained using the unlabeled dataset that is not classified, nor categorized, and the algorithm needs to act on that data without any supervision. In unsupervised learning, the model doesn't have a predefined output, and it tries to find useful insights from the huge amount of data. These are used to solve the Association and Clustering problems.

 Hence further, it can be classified into two types:

  1. Clustering
  2. Association

 

Clustering: Clustering is a method of grouping the objects into clusters such that objects with most similarities remains into a group and has less or no similarities with the objects of another group. Cluster analysis finds the commonalities between the data objects and categorizes them as per the presence and absence of those commonalities.

Association: An association rule is an unsupervised learning method which is used for finding the relationships between variables in the large database. It determines the set of items that occurs together in the dataset. Association rule makes marketing strategy more effective. Such as people who buy X item (suppose a bread) also tend to purchase Y (Butter/Jam) item. A typical example of Association rule is Market Basket Analysis.

 

Unsupervised Learning algorithms:

Below is the list of some popular unsupervised learning algorithms:

  • K-means clustering
  • KNN (k-nearest neighbors)
  • Hierarchal clustering
  • Anomaly detection
  • Neural Networks
  • Principle Component Analysis
  • Independent Component Analysis
  • Apriori algorithm
  • Singular value decomposition


Article content


 

3) Reinforcement Learning:

  • In Reinforcement learning, an agent interacts with its environment by producing actions, and learn with the help of feedback. The feedback is given to the agent in the form of rewards, such as for each good action, he gets a positive reward, and for each bad action, he gets a negative reward. There is no supervision provided to the agent. Q-Learning algorithm is used in reinforcement learning.
  • The agent interacts with the environment and explores it by itself. The primary goal of an agent in reinforcement learning is to improve the performance by getting the maximum positive rewards.



Types of Machine Learning Algorithms - by SURYAKUMAR K. , Guided by the Enlightened Mentorship of Jeevitha D S (Data Science mentor | corporate trainer | Former Assistant professor)


To view or add a comment, sign in

More articles by SURYAKUMAR K.

Insights from the community

Others also viewed

Explore topics