22
Introduc)on to Machine Learning NHM Tanveer Hossain Khan (Hasan)

Introduction to Machine Learning

Embed Size (px)

Citation preview

Page 1: Introduction to Machine Learning

Introduc)on  to    Machine  Learning  

NHM  Tanveer  Hossain  Khan  (Hasan)  

Page 2: Introduction to Machine Learning

About  Me  

•  I  “work  for  fun”  and  mostly  work  with  Ruby.  •  Love  programming  and  learning.  •  Skilled  on  Ruby,  Java,  PHP,  Nodejs  and  Go.  •  Love  to  take  challenge  •  I  am  working  with  Tweek.tv  (one  of  the  Berlin  startups)  

Page 3: Introduction to Machine Learning

What’s  in  ?  

•  What  is  Machine  learning  ?  •  GeQng  rid  of  fear  •  Where  to  use  it  ?  •  Who  is  using  ?  •  Discussion  on  few  Machine  learning  algorithms.  

•  Few  books  and  references.  •  Q/A  

Page 4: Introduction to Machine Learning

What  is  Machine  Learning  ?  

Page 5: Introduction to Machine Learning

Defini)on  ?    

“Field of study that gives computers the ability to learn without being explicitly

programmed”

By  Arthur  Samuel  (Collected  from  wiki)  

Page 6: Introduction to Machine Learning

What  is  Machine  Learning?  

1.  Train  machine  with  examples    

2.  Algorithm  stores  the  trained  data  into  a  

internal  mathema)cal  model.  

3.  Predict  new  data  based  on  the  trained  model.  

Page 7: Introduction to Machine Learning

GeQng  rid  of  fear  

Page 8: Introduction to Machine Learning

Where  to  use  it?  

•  Automa)cally  categoriza)on  •  Preparing  recommenda)on  •  Analyzing  sen)ment  and  behaviors    •  Recognizing  pa]erns  •  Grouping  unrecognized  pa]erns  •  OCR,  Voice  recogni)on,  Image  recogni)on  •  Discovering  likelihood  and  many  more.    

Page 9: Introduction to Machine Learning

Who  is  using  ?  

•  Facebook  (Image  tagging,  Newsfeed)  •  Gmail  (Spam  detec)on,  Important  email  detec)on)  

•  YouTube  (Video  recommenda)on,  What  to  watch)  

•  Google  search  (Preparing  search  result)  •  Amazon  (Sugges)ng  similar  product)  •  Many  more…  

Page 10: Introduction to Machine Learning

Let’s  introduce  ML  algorithms  

Page 11: Introduction to Machine Learning

ML  in  Ac)on  

•  Supervised  learning  – Classifica)on  – Regression  

•  Unsupervised  learning  – Clustering  

•  Recommenda)on  – Content  based  – Collabora)ve  filtering  

Page 12: Introduction to Machine Learning

Supervised  Learning  •  Machine  doesn’t  own  any  cogni)ve  system  like  human  does  hence  they  need  human  intervened  feature  extrac)on!    

•  Classifica)on  &  Regression  – Naïve  Bayes  – Decision  Tree  

•  ID3  Algorithm  –  k-­‐NN  (k  nearest  neighbors)  –  SVM  (Support  Vector  Machine)  – Many  more…  

Page 13: Introduction to Machine Learning

Naïve  Bayes  

•  Mul)  class  classifica)on  •  Base  on  bayes  theorem  •  Text  categoriza)on  •  Works  with  small  training  data  

Page 14: Introduction to Machine Learning

Support  Vector  Machine  (SVM)  

•  Binary  classifica)on  •  None  probabilis)c  binary  linear  classifica)on  •  Represents  examples  as  points  in  space  •  Linear  classifier  •  Text  categoriza)on  •  Uses  loss  func)on  

Page 15: Introduction to Machine Learning

ID3  

•  Decision  tree  •  Predic)ve  model  •  Itera)ve  •  Uses  in  Informa)on  Retrieval  (IR)  technologies  

Page 16: Introduction to Machine Learning

Unsupervised  Learning  

•  Clustering  – k-­‐means  – Many  more…  

Page 17: Introduction to Machine Learning

k-­‐means  

•  Signal  processing  •  Data  mining  •  Itera)ve  •  Feature  learning  •  Cluster  analysis  •  Color  quan)za)on  (Reduce  number  of  dis)nct  colors  from  an  image)  

Page 18: Introduction to Machine Learning

Recommenda)ons  

•  Content  based  – Natural  language  processing  – Named  En)ty  Recogni)on  – Disambigua)on  (VW  Golf  or  Sports  Golf)  

•  Collabora)ve  Filtering  – Using  SVM,  Naïve  bayes  –  Implicit  or  explicit  feedback  – Distance  calcula)on  &  k-­‐nn  based  filtering  – User  or  item  based  

Page 19: Introduction to Machine Learning

Few  pointers    

•  h]p://guidetodatamining.com/    – Very  easy  learning  and  programmer  focused  

•  Introduc)on  to  Machine  Learning  –  Ethem  Alpaydin  (The  MIT  Press)  

•  Mahout  in  Ac)on  •  Mlbase  documenta)on  

Page 20: Introduction to Machine Learning

Learn  by  prac)cing    

•  Apache  Mahout    -­‐  h]ps://mahout.apache.org/  •  MLbase  -­‐  h]p://www.mlbase.org/  •  Easyrec  –  h]p://www.easyrec.org  •  Weka  -­‐  h]p://www.cs.waikato.ac.nz/ml/weka/  

Page 21: Introduction to Machine Learning

You  can  use  in  produc)on    (without  coding)  

•  h]p://predic)on.io/  -­‐  For  Collabora)ve  filtering  based  recommenda)on  engine.  

•  Google  Predic)on  API  -­‐    h]ps://developers.google.com/predic)on/  

•  Algorithm.io  -­‐  h]p://www.algorithms.io/  (Not  sure  about  it)  

 

Page 22: Introduction to Machine Learning

That’s  it,  Thanks  all  J  

Q/A