MACHINE LEARNING BASICS

What is Machine Learning (ML)?

ML is a scientific study of algorithms and statistical models that computer systems use in order to perform a specific task effectively without using explicit instructions, relying on patterns and interfaces instead.

Fig: Machine Learning

Types of Machine Learning:

The entire machine learning is divided into types based on the algorithms. Types are listed below:

Fig: Machine Learning Types

Supervised Learning:

This learning is responsible to direct an activity and check whether it is working in the desired manner or not, if it’s not working in desired manner make it correct to work properly. In this, machine starts learning under a set of rules/guidelines by feeding labelled data, passing input & output and train the machine to work on the data which we pass and machine starts working till it gives the output where it should match with the output which we passed while training the machine. This type solves two types of problems.

  1. Classification
  2. Regression

Classification is a problem where the output variable is a category such as colour, diseases, mails (Spam/not-Spam), etc.

Regression is a problem where the output variable is a real value/continuous quantity such as weights, heights, currency, rates, etc.

Example: Now, we are passing the below image as input and we try to find out how many count of each vegetable.

Fig: Supervised learning Example
  1. Machine starts identifying and try to classify what are there in this image?
  2. Classification starts and it says these are vegetables.
  3. Now again it tries to classify again based on their shape and colour.
  4. How does it classify?
  5. Round and red colour – tomato
  6. Oval shape and mud colour – potato

Example: Every country in this world has their own currencies (inr, usd, euro, etc.) and the currency conversion between the countries is calculated daily and the output is a real value. We will pass the input daily and after some day’s, graph is plotted and check when and what is growth/downfall of the currency exchange rate and predict the further days conversion value.

Example: Calculate country’s GDP by passing many factors like bike sales, car sales, electronic sales, etc. and predict the GDP as an outcome.

Some of the most used algorithms under supervised learning are

  1. Support Vector Machines
  2. Linear Regression
  3. Logistic Regression
  4. Naïve Bayes
  5. Linear Discriminant analysis
  6. Decision trees
  7. K-nearest neighbour algorithm
  8. Similarity learning
  9. Neural Networks
  10. Random Forest

Un-supervised Learning:

It is a self-organizing where there’s no training data or labelled data. The machine itself finds the patterns based on input’s data and derives output. This type solves two types of problems in general.

  1. Association
  2. Clustering

Association problem describes rules based on your input data.

Clustering problem solves groupings in data based on similarities.

Example: Most common thought process of human beings, people visit markets to buy groceries. Here it solves association problem like, if the customer buy salt, he/she tends to but peppers also. In this way we try to do associations between the customer thought processes. Many more examples like bread and jam, Bowl and spoon, etc.

Example: People buy goods from online, based on their purchase history we will separate them as clusters, like in any e-commerce web-site based on type of goods customer buy, we will form some clusters that some people belongs to fashion shopping and some belongs to electronic goods buyers, etc.

Some of the most used algorithms under unsupervised learning are

  1. K-Means algorithm for Clustering
  2. C-Means algorithm for Clustering
  3. Apriori algorithm for Association
  4. Association Rule mining for Association
  5. Principal component analysis
  6. Singular value decomposition
  7. Independent component analysis

Reinforcement Learning

It’s a self-learning where it allows machines to determine automatically about its behaviour by gathering the observations from the environment and make it interactive.

Example: Robots. Where they don’t know anything but after some actions it gathers some information and make use of that and finds the solutions where it maximizes the productive work and minimizes risks. Robots learns themselves by taking moves right/left/front/back and for every move it receives rewards or punishment. From this data, it learns by itself.

Some of the most used algorithms under Reinforcement learning are

  1. Q-Learning
  2. SARSA(State Action Reward and State-action) Algorithm

Machine Learning Use Cases:

Machine learning has a lot of unending list of use cases. Here are the few use cases.

Supervised Learning:

  1. Business sectors
  2. Risk Evaluation
  3. Forecast Sales
  4. Risk analysis
  5. Predicting sales
  6. Predicting profit/loss

Unsupervised Learning:

  1. Recommendation Systems (based on purchases in E-commerce web-sites)
  2. Anomaly detection (Credit-card Frauds)

Reinforcement Learning:

  1. Self-driving cars
  2. Games (Ex: alphago)

Conclusion:

As everyone knows, today’s world is running behind ML & AI, we (VirtueTech Inc) are also taking challenges to solve many issues which I discussed as examples above. Will come up with a new blog by taking a use-case and solve it by using any one of the above algorithms.

Author: Sunil K

VirtueTech is an enterprise IT modernization solutions company. VirtueTech has a rich history of providing industry leading enterprise modernization services that focus on cloud application development, legacy migration and managed IT services in today’s blended enterprise and cloud ecosystem with focus on Amazon Web Services (AWS). We can meet you anywhere in your life-cycle journey and partner with you to modernize your enterprise. Our experts have been designing, building and implementing enterprise IT solutions for nearly three decades years. VirtueTech’s consultants have over 25 years of real-world business and technology experience.

Leave a Reply