Today,I am writing on machine learning..everybody is speaking about this machine learning but what is machine learning? Do we really know that..
Machine learning involves building mathematical models to help understand data.
“Learning” comes into picture when we give these models tunable parameters that can be adapted to observed data; in this way the program can be considered to be “learning” from the data. Once these models have been fit to previously seen data, they can be used to predict and understand aspects of newly observed data.
Machine learning is the process where we actually moving our logic into statistics.
Some Important terminologies:
1)Label:
A label is the thing we are predicting.The 'y' variable in the linear regression is the label.It can be anything like price of house,kind of bird shown in picture etc.
2)Feature:
Feature is the input variable.'x' in the linear regression is feature. A simple machine learning project might use a single feature, while a more sophisticated machine learning project could use millions of features, specified as:
X1, X2,X3......Xn
Types of Learning:
1) Supervised Learning:
Supervised learning is where when you have feature and label and you use an algorithm to learn the mapping function from the input to the output.
Y = f(X)
The goal is to approximate the mapping function so well that when you have new feature (input data (x)) that you can predict the label (output variables (Y)) for that data.
It is called supervised learning because the process of an algorithm learning from the training dataset can be thought of as a teacher supervising the learning process. We know the correct answers, the algorithm iteratively makes predictions on the training data and is corrected by the teacher. Learning stops when the algorithm achieves an acceptable level of performance
Supervised learning problems can be further grouped into regression and classification problems:
Regression vs. classification
A regression model predicts continuous values. For example, regression models make predictions that answer questions like the following:
What is the value of a house in California?
What is the probability that a user will click on this ad?
A classification model predicts discrete values. For example, classification models make predictions that answer questions like the following:
Is a given email message spam or not spam?
Is this an image of a dog, a cat, or a hamster?
2)Unsupervised Learning:
Unsupervised learning is where you only have feature (input data (X)) and no corresponding label (output variables (Y)).
The goal for unsupervised learning is to model the underlying structure or distribution in the data in order to learn more about the data.
These are called unsupervised learning because unlike supervised learning above there is no correct answers and there is no teacher. Algorithms are left to their own devises to discover and present the interesting structure in the data
3)Semi-supervised Learning:
Problems where you have a large amount of input data (X) and only some of the data is labeled (Y) are called semi-supervised learning problems.
These problems sit in between both supervised and unsupervised learning.
A good example is a photo archive where only some of the images are labeled, (e.g. dog, cat, person) and the majority are unlabeled.