workshop on machine learning vmlw011
TRANSCRIPT
![Page 1: Workshop on Machine Learning VMLW011](https://reader033.vdocument.in/reader033/viewer/2022052606/58ce8c0d1a28ab8c3b8b46b9/html5/thumbnails/1.jpg)
Machine Learning VMLW01
![Page 2: Workshop on Machine Learning VMLW011](https://reader033.vdocument.in/reader033/viewer/2022052606/58ce8c0d1a28ab8c3b8b46b9/html5/thumbnails/2.jpg)
What are we covering today ? • What is Machine Learning ? • Types of Machine Learning• Supervised Learning Algorithms• Unsupervised Learning Algorithms• Neural Networks – Deep Learning• Feature Scaling• Model Selection
![Page 3: Workshop on Machine Learning VMLW011](https://reader033.vdocument.in/reader033/viewer/2022052606/58ce8c0d1a28ab8c3b8b46b9/html5/thumbnails/3.jpg)
What is Machine learning ?
Definition: A computer program is said to learn from experience E with respect to some class of tasks T and performance measure P, if its performance at tasks in T, as measured by P, improves with experience E.
Examples:Database mining – Large Datasets, Medical records, Web click data etc Applications - Autonomous Helicopter, handwriting recognition, NLPRecommendation Systems – Amazon , Netflix Replicating Human Learning
![Page 4: Workshop on Machine Learning VMLW011](https://reader033.vdocument.in/reader033/viewer/2022052606/58ce8c0d1a28ab8c3b8b46b9/html5/thumbnails/4.jpg)
Real world examples
IBM Watson – AI
Self Driving Cars
Satellite Imaging Agriculture
License Plate
![Page 5: Workshop on Machine Learning VMLW011](https://reader033.vdocument.in/reader033/viewer/2022052606/58ce8c0d1a28ab8c3b8b46b9/html5/thumbnails/5.jpg)
Types Of Machine learning Algorithms
• Supervised Learning• Unsupervised Learning• Others – Reinforcement learning, Recommender systems
Definition & ExamplesMixed set of FruitsRegression and Classification ProblemsGoogle News, Market Segmentation
![Page 6: Workshop on Machine Learning VMLW011](https://reader033.vdocument.in/reader033/viewer/2022052606/58ce8c0d1a28ab8c3b8b46b9/html5/thumbnails/6.jpg)
Supervised Learning• Linear Regression - Model Representation
• m = No of Training examples• x = input variables or features• y = output variable or target variable• (x^i,y^i) – ith training example• Hypothesis • Cost Function
![Page 7: Workshop on Machine Learning VMLW011](https://reader033.vdocument.in/reader033/viewer/2022052606/58ce8c0d1a28ab8c3b8b46b9/html5/thumbnails/7.jpg)
Supervised Learning• Linear Regression Gradient Decent Algorithm
• Start with one random theta and keep changing it till the cost is minimum
![Page 8: Workshop on Machine Learning VMLW011](https://reader033.vdocument.in/reader033/viewer/2022052606/58ce8c0d1a28ab8c3b8b46b9/html5/thumbnails/8.jpg)
Supervised Learning• Classification – Logistic Regression
• (Sigmoid or Logistic function of z)
• ( y = 0 or 1 h(x) is probability of y being 1 )
![Page 9: Workshop on Machine Learning VMLW011](https://reader033.vdocument.in/reader033/viewer/2022052606/58ce8c0d1a28ab8c3b8b46b9/html5/thumbnails/9.jpg)
Feature Scaling & Learning Rate
(max – min, range or SD etc for normalizing)
How to pick right alpha (learning rate)Very large vs Very small , (take multiples of 3 , 10 etc)
![Page 10: Workshop on Machine Learning VMLW011](https://reader033.vdocument.in/reader033/viewer/2022052606/58ce8c0d1a28ab8c3b8b46b9/html5/thumbnails/10.jpg)
Unsupervised Learning• Cluster Analysis - K-Means Algorithm
![Page 11: Workshop on Machine Learning VMLW011](https://reader033.vdocument.in/reader033/viewer/2022052606/58ce8c0d1a28ab8c3b8b46b9/html5/thumbnails/11.jpg)
Unsupervised Learning• Neural Networks
![Page 12: Workshop on Machine Learning VMLW011](https://reader033.vdocument.in/reader033/viewer/2022052606/58ce8c0d1a28ab8c3b8b46b9/html5/thumbnails/12.jpg)
Model selection Supervised or Unsupervised Classification or Regression No of Training sets Feature types
• Linear Regression• Normal equation
• Logistic Regression • Naive bayes
• K-mean• Neural Networks• SVM
![Page 13: Workshop on Machine Learning VMLW011](https://reader033.vdocument.in/reader033/viewer/2022052606/58ce8c0d1a28ab8c3b8b46b9/html5/thumbnails/13.jpg)
TensorFlow – Deep Learning• What is Deep Learning ?
• MNIST Example - Mixed National Institute of Standards and Technology database
• Theano , Tensorflow , Scikit learn, Caffe, Keras
![Page 14: Workshop on Machine Learning VMLW011](https://reader033.vdocument.in/reader033/viewer/2022052606/58ce8c0d1a28ab8c3b8b46b9/html5/thumbnails/14.jpg)
Important links & Contact• TensorFlow: • https://www.tensorflow.org/install/• https://www.continuum.io/downloads • https://github.com/1228337123/tensorflow-seq2seq-chatbot•
If your python is on 3.6 • Update below statement • pip install --ignore-installed --upgrade
https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-1.0.0-cp35-cp35m-win_x86_64.whl• to• pip install --ignore-installed --upgrade
https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-1.0.0-cp36-cp36m-win_x86_64.whl• Similarly for GPU command
• https://www.youtube.com/watch?v=IpGxLWOIZy4