I’m sure every one of you must have heard of this buzzword Machine Learning. Wondering what it is. Let’s jump into its basics.
Note: This is just an overview to have quick knowledge about machine learning and how it is helpful.
Machine learning is an application of artificial intelligence (AI) that provides systems the ability to automatically learn and improve from experience without being explicitly programmed. Machine learning focuses on the development of computer programs that can access data and use it learn for themselves.
AlphaGo is a computer program that plays the board game Go. It was developed by Alphabet Inc.’s Google DeepMind in London.
AlphaGo defeated one of the best human players at Go — an extraordinary achievement in a game dominated by humans for two decades after machines first conquered chess.
Dota 2 is a multiplayer online battle arena (MOBA) video game developed and published by Valve Corporation
OpenAI reached yet another incredible milestone by defeating the world’s top professionals in 1v1 matches of the online multiplayer game Dota 2
Google Translate is a machine translation website from Google that can translate text between different languages. It can translate words, sentences, documents and web pages between any combination of more than 100 supported languages. It was launched on April 28, 2006, and has always been free to use.
Artificial intelligence will shape our future more powerfully than any other innovation this century.
Let’s look at the two task of supervised Learning
SUPERVISED LEARNING = DATA SET CONTAINING TRAINING EXAMPLES WITH ASSOCIATED CORRECT LABELS
Supervised Learning is a function that maps an input to an output based on example input-output pairs. It infers a function from labeled training data consisting of a set of training examples.
For example, learning to classify handwritten digits.
let’s examine the problem of predicting annual income of person based on the number of years of higher education he/she has completed.
Build a model that approximates the relationship f between the number of years of higher education X and corresponding annual incomeY
There are two ways you can find a solution
This solution would go by simple formula
income = ($5,000 * years_of_education) + baseline_income
Get information about some basic parameters like Degree Type, Years of work experience, School tiers etc. This will helps use to find the income easily.
For example: “If they completed a Bachelor’s degree or higher, give the income estimate a 1.5x multiplier.”
Predict Y as accurately as possible when given new examples where X is known and Y is unknown.
— Predicts a continuous target variable Y.
— Estimate a value, such as housing prices or human lifespan, based on input data X.
— Continuous means there aren’t gaps (discontinuities) in the value that Y can take on. Eg. A person’s weight and height are continuous values.
— Discrete Variables means it can only take on a finite number of values Eg. Number of kids somebody has is a discrete variable.
Predicting income is a classic regression problem. Your input data X includes all relevant information about individuals in the data set that can be used to predict income, such as years of education, years of work experience, job title, or zip code.
— These attributes are called Features, which can be numerical(e.g. years of work experience) or categorical (e.g. job title or field of study).
You’ll want as many training observations as possible relating these features to the target output Y, so that your model can learn the relationship f between X and Y.
We have our data set X, and corresponding target values Y. The goal of ordinary least squares (OLS) regression is to learn a linear model that we can use to predict a new y given a previously unseen x with as little error as possible. We want to guess how much income someone earns based on how many years of education they received.
β0 is the y-intercept and β1 is the slope of our line, i.e. how much income increases (or decreases) with one additional year of education.
Our goal is to learn the model parameters (in this case, β0 and β1) that minimize error in the model’s predictions.
To find the best parameters:
Deals with binary type of classification
— example, when assigning handwritten digits a label between 0 and 9, or using facial recognition to detect which friends are in a Facebook picture.
SVM (Support vector Machines)
— The algorithm is geometrically motivated in nature, rather than being driven by probabilistic thinking.
— SVMs use a separating line (or, in more than two dimensions, a multi-dimensional hyperplane) to split the space into a red zone and a blue zone
— The distance to the nearest point on either side of the line is called the margin, and SVM tries to maximize the margin.
— Think about it like a safety space: the bigger that space, the less likely that noisy points get misclassified.
Unsupervised learning is a type of machine learning algorithm used to draw inferences from datasets consisting of input data without labeled responses.
The most common unsupervised learning method is cluster analysis, which is used for exploratory data analysis to find hidden patterns or grouping in data.
— clustering is useful whenever there is diverse and varied data Famous clustering Method k-means
Now you know about the basics types in Machine Learning let’s have quick look at the difference between supervised and unsupervised learning.
That’s it you are all good with the basics of Machine Learning.
Happy Learning! 😆 🖥