Hands-On Machine Learning With Scikit-Learn and TensorFlow
Hands-On Machine Learning With Scikit-Learn and TensorFlow
Book link:
What is Machine Learning:
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,1997]
Training set: Examples that are use to learn.
Training instance: Each training example.
Accuracy: performance measure.
Testing set: ?
Why use Machine Learning:
Machine Learning systems can be classified according to the amount and type of
supervision.
Supervised Learning
Unsupervised Learning
Semi supervised Learning
Reinforcement Learning
Supervised Learning
The training data you feed to the algorithm includes the desired solutions, called labels
Supervised learning tasks:
K-Nearest Neighbors
Linear Regression
Logistic Regression
Support Vector machines (SVMs)
Decision Trees and Random Forests.
Neural Networks (can be unsupervised or semisupervised)
Unsupervised Learning:
Clustering :
K-means
Hierarchical Cluster Analysis(HCA)
Expectation Maximization
Visualization and dimensionality reduction
Principal Component Analysis
Kernel PCA
Locally –Linear Embedding(LLE)
Associate rule Learning…….?
Apriori
Eclat
Semi supervised Learning
The learning system , called an agent in this context, can observe the environment ,
select and performs actions.
Get rewards in return or penalties in the form of negative rewards.
It learns by itself the best strategy, called policy.
Example Robot
Deep Mind’s AlphaGo Program
Beats the world champion Lee Sedol at the game of Go
Batch and Online Learning
Whether or not a system can learn incrementally from a stream of incoming data
Batch :
System is incapable of learning incrementally.
Take a lot of time and computing resources. So it is typically done offline