What is machine learning ?


What is Machine Learning? 

Machine Learning is a part of Artificial Intelligence, it has algorithms which has the ability to learn itself from experience. It build some patterns based on historical data by using statistical techniques. In 1959, Arthur Samuel defined machine learning as a “Field of study that gives computers the ability to learn without being explicitly programmed
”.

There are three types of Machine Learning algorithms 
1.      Supervised Learning 
2.      Unsupervised Learning 
3.      Reinforcement Learning








1.    What is Supervised Learning?

Supervised learning is a prediction of labelled data i.e. computer learns from past data where both Independent and dependent data are present. It acts as teacher to the machine. The variable which we predict is called as Dependent variable or Target variable and the variables which we use for prediction are called as Predictors or independent variables.

Supervised Learning is classified into 2 categories 
  • Regression Models.
  • Classification Models.
Regression Model

It will build a relation between dependent variable and independent variables. It is used for Continuous data.

Ex: Suppose we want to predict the cost of a house. The cost of a house is dependent on the parameters like number of bedrooms, bathrooms and the area of room. The cost of the house increases with increase in our requirements. Consider the parameters on X-axis and Cost of house on Y-axis. The relation will be linear.

List of Regression Algorithms are:
  • Linear Regression.
  • Polynomial Regression.
  • Stepwise Regression.
  • Ridge Regression.
  • Lasso Regression.
  • Elastic Net Regression.
  • Random Forest.
Classification Models

Classification Models are used for predicting categorical data like "Yes" or "No", 0 or 1 or “Small”, “Medium” and “Large” etc. It estimates the new data belongs to which category based on historical data.

Ex:   For example, if we want to predict admission of student into a college then we must train our model with some historical data which consists the details of students who got the admission into a college and who failed to get an admission with parameters like Grade, Rank and score etc.

List of Classification Algorithms are: 
  • Logistic Regression.
  • Random Forest.
  • Decision Trees.
  • SVM
  • Naive Byes Algorithm
  • K -nearest Algorithm etc. 
2.    What is Unsupervised Learning?
Unsupervised Learning is a class of Machine Learning techniques to find the patterns in data. The data given to unsupervised algorithm are not labelled, which means only the input variables(X) are given with no corresponding output variables. In unsupervised learning, the algorithms are left to themselves to discover interesting structures in the data.
Some applications of unsupervised machine learning techniques include:
  Clustering allows you to automatically split the dataset into groups according to similarity. Often, however, cluster analysis overestimates the similarity between groups and doesn’t treat data points as individuals. For this reason, cluster analysis is a poor choice for applications like customer segmentation and targeting.

2Anomaly detection can automatically discover unusual data points in your dataset. This is useful in pinpointing fraudulent transactions, discovering faulty pieces of hardware, or identifying an outlier caused by a human error during data entry.
3Association mining identifies sets of items that frequently occur together in your dataset. Retailers often use it for basket analysis, because it allows analysts to discover goods often purchased at the same time and develop more effective marketing and merchandising strategies.
4Latent variable models are commonly used for data preprocessing, such as reducing the number of features in a dataset (dimensionality reduction) or decomposing the dataset into multiple components.

List of Unsupervised used for clustering are:

      K mean clustering.
      Hierarchical clustering.
      DBSCAN

It is mainly used in the fields of Marketing and biology

3.  Reinforcement Learning

It allows machines and software agents to automatically determine the ideal behavior within a specific context, in order to maximize its performance. Simple reward feedback is required for the agent to learn its behavior; this is known as the reinforcement signal.  
It could be a self-driving car or a program playing chess, interacting with its environment and receiving a reward state depending on its performance, such as driving to destination safely or winning a game. Conversely, the agent receives a penalty for performing incorrectly, such as going off the road or being checkmated.
The advantage of this approach is that it allows an AI program to learn without a programmer spelling out how an agent should perform the task.


Comments

Popular posts from this blog

What is linear regression ?

Prophet function in r Part - 2

Work flow to build a Machine Learning Algorithm