Machine learning is a type of artificial intelligence (AI) that provides computers with the ability to learn without being explicitly programmed. Machine learning focuses on the development of computer programs that can teach themselves to grow and change when exposed to new data.
“A computer program is said to learn from experience E with respect to some task T and some performance measure P, if its performance on T, as measured by P, improves with experience E.” — Tom Mitchell, Carnegie Mellon University
So if you want your program to predict, for example, traffic patterns at a busy intersection (task T), you can run it through a machine learning algorithm with data about past traffic patterns (experience E) and, if it has successfully “learned”, it will then do better at predicting future traffic patterns (performance measure P).
Types of Machine Learning:
- Supervised machine learning: The program is “trained” on a pre-defined set of “training examples”, which then facilitate its ability to reach an accurate conclusion when given new data.
- Classification: Classification is supervised learning technique used to assign per-defined tag to instance on the basis of features. So classification algorithm requires training data. Classification model is created from training data, then classification model is used to classify new instances.The task of assigning instances to pre-defined classes.
- suppose you had a basket and it is fulled with some fresh fruits your task is to arrange the same type fruits at one place.
- suppose the fruits are apple,banana,cherry,grape.
- so you already know from your previous work that, the shape of each and every fruit so it is easy to arrange the same type of fruits at one place.
- here your previous work is called as train data in data mining.
- so you already learn the things from your train data, This is because of you have a response variable which says you that if some fruit have so and so features it is grape, like that for each and every fruit.
- Unsupervised machine learning: The program is given a bunch of data and must find patterns and relationships therein.
- Clustering: Clustering is unsupervised technique used to group similar instances on the basis of features. Clustering does not require training data. Clustering does not assign per-defined label to each and every group. The task of grouping related data points together without labeling them.
- This time you don’t know any thing about that fruits, you are first time seeing these fruits so how will you arrange the same type of fruits.
- What you will do first you take on fruit and you will select any physical character of that particular fruit. suppose you taken color.
- Then you will arrange them base on the color, then the groups will be some thing like this.
- RED COLOR GROUP: apples & cherry fruits.
- GREEN COLOR GROUP: bananas & grapes.
- so now you will take another physical character as size, so now the groups will be some thing like this.
- RED COLOR AND BIG SIZE: apple.
- RED COLOR AND SMALL SIZE: cherry fruits.
- GREEN COLOR AND BIG SIZE: bananas.
- GREEN COLOR AND SMALL SIZE: grapes.
- job done happy ending.
- here you didn’t know learn any thing before means no train data and noresponse variable.