SlideShare une entreprise Scribd logo
1  sur  26
Télécharger pour lire hors ligne
Active Learning


Shrey Malik
0901CS32
s.malik@iitp.ac.in
What is it ?

●   Machine Learning

    ●   Making a program Curious !

    ●   Teach it to decide on its own.

    ●   Give it some intelligence


Make a program to label documents according to contents :

Sports , Technology, History, Geography, Politics etc...
What is it ?

Step 1.
   Download a lot of documents from     the web


Step 2.
   Label Them !


Labeling is quite a painful task. Somehow our program should
be able to distinguish b/w the various categories.


Teach the program using examples (Training set) and make sure
it makes intelligent decision in real world situations.


Question ! How many and what examples ?
Example



          All kinds of “unlabeled” data
Example




One way : Select a few data points at random, label
them give the input output set to the program … and
let it “learn” from these examples.


Supervised Learning .
Example




One way : Select a few data points at random, label them give
the input output set to the program … and let it “learn” from
these examples. BUT ! Keep in mind (memory) the location of
other labeled points.
Semi Supervised & Active learning !
Example




Got a better generalization this time !
Didn't we ??
Active Learning
Somehow make the set of training examples smaller
& results, more accurate.
So how to make Training set smaller & smarter ??

Select the Training examples which are most uncertain … instead
of doing it at random .


The program asks Queries from the “Oracle” in the form of
unlabeled instances to be labeled.


In this way, the active learner aims to achieve high accuracy
using as few labeled instances as possible, thereby minimizing
the cost of obtaining labeled data.

Eg. Query the unlabeled point that is:
Closest to the boundary.
OR                                                     
Most Uncertain
OR
Most likely to decrease overall certainty.
Etc etc.
How does the learner ask queries ?


There are several different problem scenarios in which
       the learner may be able to ask queries.



                     For example:
Membership Query Synthesis
   The learner may request labels for any unlabeled instance in the
input space, including (and typically assuming) queries that the
learner generates de novo, rather than those sampled from some
underlying natural distribution.




 BUT sometimes the queries to label are quite awkward !



                                   *De novo means from the source,fresh & itself.
Stream-Based Selective Sampling


   Obtain an unlabeled instance, sampled from the actual
distribution.
   Now, the learner decide whether to request its label or
not.




                     The learner !
Pool-Based Sampling
  For many real-world learning problems, large collections of
  unlabeled data Can be gathered at once.




                     The learner !

                 Se
                    le   cts
                               t he
                                      Be
                                        st
                                             Qu
                                               er y


                           A large pool of Instances
… and how does the program select the best Query ??


Uncertainty Sampling
  Query the instance for which it is least confident.

               x∗ = max( 1 − P ( y' | x ) )

               Where y' = max( P ( y | x ) )


             X* = The best Query
             P(y|x) = conditional probability …
…and how does the program select the best Query ??


 Query-By-Committee
  Maintain a committee of models all trained on `that`
  Input space & let them label it …
  Now select the queries for which they disagree
  the most !
For measuring the level of disagreement:




   Yi      :: ranges over all possible labelings.
   V (yi ) :: number of “votes” that a label receives from among the committee
               members’ predictions.
   C        :: Committee size !



        … and then there are a lot of other algorithms also !
The Algorithm…

1.Start with a large pool of unlabeled data


Select the single most informative instance to be
labeled by the oracle


Add the labeled query to the Training set


Re-train using this newly acquired knowledge


Goto 1
Is Active learning 'The' thing ?

Assumptions


   1.Annotator, the Oracle is always right .
   2.If Annotator is wrong, see rule one !


   3.Labeling is sooo expansive … is it ???


   So can my machine learn more economically if it is
              allowed to ask questions ???


              Are you from delhi ?
                                       Used the
                                        metro ?

              Seen the qutub
                 minar ?
Suggested Improvements in it ...

Dr. Burr Settles ...

The Oracle has to wait as learner “re-trains” after
each label By him/her. learner should
Ask to label a batch of queries at once instead …
Querying in BATCHES
Suggested Improvements in it ...

Dr. Burr Settles ...
Oracles are not always right …
   They can be fatigued
   Error in instruments etc


CrowdSourcing on web
   You just played a fun game :
                 Tag as many rockstars in the pic as you can
                             in one minute

   Challenge your friends                                Like on facebook


   ...meanwhile the learner was learning from your
   labels … thanku Oracle !
Suggested Improvements in it ...

Dr. Burr Settles ...
Goal: to minimize the overall of training an accurate model.
     Simply reducing the number of labeled instances
     Wont help.


Cost Sensitive Active Learning approaches explicitly
Account for varying labeling costs while selecting
Queries.


eg. Kapoor et al. Proposed a decision-theoratic approach.
   Takes into account both labeling & misclassification cost.
   Assumption: Cost of labeling prop. To length.
Suggested Improvements in it ...

Dr. Burr Settles ...

If labeling cost is not known,
Try to predict the real, unknown annotation cost based on a
few simple “meta features” on the instances.


Research has shown that these learned cost-models are
significantly better than simpler cost heuristics
(e.g., a linear function of length).
Active Learning :: Practical Examples

                    Drug Design

Unlabeled Points :: A large (really large) pool of Chemical
Compounds.
Label :: Active (binds to a target) or Not.
Getting a label :: The Experiment.
Active Learning :: Practical Examples
            Pedestrian Detection
Conclusion


Machines should be able to do all the things we hate … &
machine learning will play a big role in achieving this goal.


And to make machine learning faster and cheaper … active
                   learning is the key !


Machine/Active learning is a very good area for research !


                              Machines will become
                       Intelligent and wage a war against
                                    Humanity !
Thank You :)


    Do Check out
http://en.akinator.com

Contenu connexe

Tendances

Machine learning ppt
Machine learning ppt Machine learning ppt
Machine learning ppt Poojamanic
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine LearningDr. Radhey Shyam
 
An introduction to Machine Learning
An introduction to Machine LearningAn introduction to Machine Learning
An introduction to Machine Learningbutest
 
Deep Learning Explained
Deep Learning ExplainedDeep Learning Explained
Deep Learning ExplainedMelanie Swan
 
Lecture 1: What is Machine Learning?
Lecture 1: What is Machine Learning?Lecture 1: What is Machine Learning?
Lecture 1: What is Machine Learning?Marina Santini
 
Presentation on supervised learning
Presentation on supervised learningPresentation on supervised learning
Presentation on supervised learningTonmoy Bhagawati
 
Machine Learning presentation.
Machine Learning presentation.Machine Learning presentation.
Machine Learning presentation.butest
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine LearningRahul Jain
 
Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...
Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...
Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...Simplilearn
 
introduction to machin learning
introduction to machin learningintroduction to machin learning
introduction to machin learningnilimapatel6
 
Intro/Overview on Machine Learning Presentation
Intro/Overview on Machine Learning PresentationIntro/Overview on Machine Learning Presentation
Intro/Overview on Machine Learning PresentationAnkit Gupta
 
Machine learning overview
Machine learning overviewMachine learning overview
Machine learning overviewprih_yah
 
Introduction to ML (Machine Learning)
Introduction to ML (Machine Learning)Introduction to ML (Machine Learning)
Introduction to ML (Machine Learning)SwatiTripathi44
 
Introduction to Deep Learning
Introduction to Deep LearningIntroduction to Deep Learning
Introduction to Deep LearningOswald Campesato
 

Tendances (20)

Machine learning
Machine learning Machine learning
Machine learning
 
Machine learning ppt
Machine learning ppt Machine learning ppt
Machine learning ppt
 
ML Basics
ML BasicsML Basics
ML Basics
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
 
An introduction to Machine Learning
An introduction to Machine LearningAn introduction to Machine Learning
An introduction to Machine Learning
 
Deep Learning Explained
Deep Learning ExplainedDeep Learning Explained
Deep Learning Explained
 
Lecture 1: What is Machine Learning?
Lecture 1: What is Machine Learning?Lecture 1: What is Machine Learning?
Lecture 1: What is Machine Learning?
 
Presentation on supervised learning
Presentation on supervised learningPresentation on supervised learning
Presentation on supervised learning
 
Machine Learning presentation.
Machine Learning presentation.Machine Learning presentation.
Machine Learning presentation.
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
 
Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...
Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...
Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...
 
introduction to machin learning
introduction to machin learningintroduction to machin learning
introduction to machin learning
 
Intro/Overview on Machine Learning Presentation
Intro/Overview on Machine Learning PresentationIntro/Overview on Machine Learning Presentation
Intro/Overview on Machine Learning Presentation
 
Machine learning overview
Machine learning overviewMachine learning overview
Machine learning overview
 
Introduction to Deep learning
Introduction to Deep learningIntroduction to Deep learning
Introduction to Deep learning
 
Machine learning
Machine learningMachine learning
Machine learning
 
Introduction to ML (Machine Learning)
Introduction to ML (Machine Learning)Introduction to ML (Machine Learning)
Introduction to ML (Machine Learning)
 
Introduction to Deep Learning
Introduction to Deep LearningIntroduction to Deep Learning
Introduction to Deep Learning
 
Machine learning
Machine learningMachine learning
Machine learning
 
Machine learning
Machine learningMachine learning
Machine learning
 

En vedette

10remarkableentrepreneurshipthoughts 131008125313-phpapp01
10remarkableentrepreneurshipthoughts 131008125313-phpapp0110remarkableentrepreneurshipthoughts 131008125313-phpapp01
10remarkableentrepreneurshipthoughts 131008125313-phpapp01Gina Gu
 
Primero scotia presentation final
Primero scotia presentation finalPrimero scotia presentation final
Primero scotia presentation finalprimero_mining
 
10 главных мифов об авторском праве
10 главных мифов об авторском праве10 главных мифов об авторском праве
10 главных мифов об авторском правеhadgiewa
 
#5 inspirational scenes from films
#5 inspirational scenes from films#5 inspirational scenes from films
#5 inspirational scenes from filmsdebbie14
 
Planning for draft 3
Planning for draft 3Planning for draft 3
Planning for draft 3debbie14
 
Tugas amdal uu no 32 tahun 2009 pplh terhadap lingkungan tambang
Tugas amdal uu no 32 tahun 2009 pplh terhadap lingkungan tambangTugas amdal uu no 32 tahun 2009 pplh terhadap lingkungan tambang
Tugas amdal uu no 32 tahun 2009 pplh terhadap lingkungan tambangSylvester Saragih
 
Primero bmo presentation final
Primero bmo presentation finalPrimero bmo presentation final
Primero bmo presentation finalprimero_mining
 
Primero baml presentation sept 2014
Primero baml presentation sept 2014Primero baml presentation sept 2014
Primero baml presentation sept 2014primero_mining
 
Media studies mark_scheme
Media studies mark_schemeMedia studies mark_scheme
Media studies mark_schemedebbie14
 
Primero 2014 bmo conference final
Primero 2014 bmo conference finalPrimero 2014 bmo conference final
Primero 2014 bmo conference finalprimero_mining
 
10remarkableentrepreneurshipthoughts 131008125313-phpapp01
10remarkableentrepreneurshipthoughts 131008125313-phpapp0110remarkableentrepreneurshipthoughts 131008125313-phpapp01
10remarkableentrepreneurshipthoughts 131008125313-phpapp01Gina Gu
 
Еремурус про екоосвіту_GreenDrinks 25.12.2012
Еремурус про екоосвіту_GreenDrinks 25.12.2012Еремурус про екоосвіту_GreenDrinks 25.12.2012
Еремурус про екоосвіту_GreenDrinks 25.12.2012Oleksandra Shandra
 
Rules and weather22
Rules and weather22Rules and weather22
Rules and weather22nmcquade
 

En vedette (20)

10remarkableentrepreneurshipthoughts 131008125313-phpapp01
10remarkableentrepreneurshipthoughts 131008125313-phpapp0110remarkableentrepreneurshipthoughts 131008125313-phpapp01
10remarkableentrepreneurshipthoughts 131008125313-phpapp01
 
Primero scotia presentation final
Primero scotia presentation finalPrimero scotia presentation final
Primero scotia presentation final
 
Kandesign
KandesignKandesign
Kandesign
 
10 главных мифов об авторском праве
10 главных мифов об авторском праве10 главных мифов об авторском праве
10 главных мифов об авторском праве
 
#5 inspirational scenes from films
#5 inspirational scenes from films#5 inspirational scenes from films
#5 inspirational scenes from films
 
βιβλιογραφία του κ
βιβλιογραφία του κβιβλιογραφία του κ
βιβλιογραφία του κ
 
Planning for draft 3
Planning for draft 3Planning for draft 3
Planning for draft 3
 
Tugas amdal uu no 32 tahun 2009 pplh terhadap lingkungan tambang
Tugas amdal uu no 32 tahun 2009 pplh terhadap lingkungan tambangTugas amdal uu no 32 tahun 2009 pplh terhadap lingkungan tambang
Tugas amdal uu no 32 tahun 2009 pplh terhadap lingkungan tambang
 
Verb to be
Verb to beVerb to be
Verb to be
 
Primero bmo presentation final
Primero bmo presentation finalPrimero bmo presentation final
Primero bmo presentation final
 
Presentation1
Presentation1Presentation1
Presentation1
 
Primero baml presentation sept 2014
Primero baml presentation sept 2014Primero baml presentation sept 2014
Primero baml presentation sept 2014
 
Media studies mark_scheme
Media studies mark_schemeMedia studies mark_scheme
Media studies mark_scheme
 
Primero 2014 bmo conference final
Primero 2014 bmo conference finalPrimero 2014 bmo conference final
Primero 2014 bmo conference final
 
10remarkableentrepreneurshipthoughts 131008125313-phpapp01
10remarkableentrepreneurshipthoughts 131008125313-phpapp0110remarkableentrepreneurshipthoughts 131008125313-phpapp01
10remarkableentrepreneurshipthoughts 131008125313-phpapp01
 
Bestech new project
Bestech new projectBestech new project
Bestech new project
 
Isi makalah uji kuat tarik
Isi makalah uji kuat tarikIsi makalah uji kuat tarik
Isi makalah uji kuat tarik
 
Еремурус про екоосвіту_GreenDrinks 25.12.2012
Еремурус про екоосвіту_GreenDrinks 25.12.2012Еремурус про екоосвіту_GreenDrinks 25.12.2012
Еремурус про екоосвіту_GreenDrinks 25.12.2012
 
Rules and weather22
Rules and weather22Rules and weather22
Rules and weather22
 
Question 4
Question 4Question 4
Question 4
 

Similaire à Machine Learning

Machine Learning Basics - By Animesh Sinha
Machine Learning Basics - By Animesh Sinha Machine Learning Basics - By Animesh Sinha
Machine Learning Basics - By Animesh Sinha Animesh Sinha
 
Machine Learning an Research Overview
Machine Learning an Research OverviewMachine Learning an Research Overview
Machine Learning an Research OverviewKathirvel Ayyaswamy
 
Exploratory Testing Explained
Exploratory Testing ExplainedExploratory Testing Explained
Exploratory Testing ExplainedTechWell
 
Machine learning and types
Machine learning and typesMachine learning and types
Machine learning and typesPadma Metta
 
Machine Learning SPPU Unit 1
Machine Learning SPPU Unit 1Machine Learning SPPU Unit 1
Machine Learning SPPU Unit 1Amruta Aphale
 
Deep learning introduction
Deep learning introductionDeep learning introduction
Deep learning introductionAdwait Bhave
 
Machine Learning.pptx
Machine Learning.pptxMachine Learning.pptx
Machine Learning.pptxchadhar227
 
Machine Learning Landscape
Machine Learning LandscapeMachine Learning Landscape
Machine Learning LandscapeEng Teong Cheah
 
NYAI - Interactive Machine Learning by Daniel Hsu
NYAI - Interactive Machine Learning by Daniel HsuNYAI - Interactive Machine Learning by Daniel Hsu
NYAI - Interactive Machine Learning by Daniel HsuRizwan Habib
 
Lect 7 intro to M.L..pdf
Lect 7 intro to M.L..pdfLect 7 intro to M.L..pdf
Lect 7 intro to M.L..pdfHassanElalfy4
 
Introduction AI ML& Mathematicals of ML.pdf
Introduction AI ML& Mathematicals of ML.pdfIntroduction AI ML& Mathematicals of ML.pdf
Introduction AI ML& Mathematicals of ML.pdfGandhiMathy6
 
Lessons learned from building practical deep learning systems
Lessons learned from building practical deep learning systemsLessons learned from building practical deep learning systems
Lessons learned from building practical deep learning systemsXavier Amatriain
 
Machine learning basics by akanksha bali
Machine learning basics by akanksha baliMachine learning basics by akanksha bali
Machine learning basics by akanksha baliAkanksha Bali
 
Machine learning basics
Machine learning basics Machine learning basics
Machine learning basics Akanksha Bali
 
Big data expo - machine learning in the elastic stack
Big data expo - machine learning in the elastic stack Big data expo - machine learning in the elastic stack
Big data expo - machine learning in the elastic stack BigDataExpo
 
EssentialsOfMachineLearning.pdf
EssentialsOfMachineLearning.pdfEssentialsOfMachineLearning.pdf
EssentialsOfMachineLearning.pdfAnkita Tiwari
 

Similaire à Machine Learning (20)

Machine Learning Basics - By Animesh Sinha
Machine Learning Basics - By Animesh Sinha Machine Learning Basics - By Animesh Sinha
Machine Learning Basics - By Animesh Sinha
 
Machine Learning an Research Overview
Machine Learning an Research OverviewMachine Learning an Research Overview
Machine Learning an Research Overview
 
Exploratory Testing Explained
Exploratory Testing ExplainedExploratory Testing Explained
Exploratory Testing Explained
 
Machine_Learning.pptx
Machine_Learning.pptxMachine_Learning.pptx
Machine_Learning.pptx
 
Lab 7.pptx
Lab 7.pptxLab 7.pptx
Lab 7.pptx
 
Machine learning and types
Machine learning and typesMachine learning and types
Machine learning and types
 
Machine Learning SPPU Unit 1
Machine Learning SPPU Unit 1Machine Learning SPPU Unit 1
Machine Learning SPPU Unit 1
 
Deep learning introduction
Deep learning introductionDeep learning introduction
Deep learning introduction
 
Machine Learning.pptx
Machine Learning.pptxMachine Learning.pptx
Machine Learning.pptx
 
Machine Learning Landscape
Machine Learning LandscapeMachine Learning Landscape
Machine Learning Landscape
 
NYAI - Interactive Machine Learning by Daniel Hsu
NYAI - Interactive Machine Learning by Daniel HsuNYAI - Interactive Machine Learning by Daniel Hsu
NYAI - Interactive Machine Learning by Daniel Hsu
 
Lect 7 intro to M.L..pdf
Lect 7 intro to M.L..pdfLect 7 intro to M.L..pdf
Lect 7 intro to M.L..pdf
 
Introduction AI ML& Mathematicals of ML.pdf
Introduction AI ML& Mathematicals of ML.pdfIntroduction AI ML& Mathematicals of ML.pdf
Introduction AI ML& Mathematicals of ML.pdf
 
Lessons learned from building practical deep learning systems
Lessons learned from building practical deep learning systemsLessons learned from building practical deep learning systems
Lessons learned from building practical deep learning systems
 
Machine learning basics by akanksha bali
Machine learning basics by akanksha baliMachine learning basics by akanksha bali
Machine learning basics by akanksha bali
 
Machine learning basics
Machine learning basics Machine learning basics
Machine learning basics
 
Big data expo - machine learning in the elastic stack
Big data expo - machine learning in the elastic stack Big data expo - machine learning in the elastic stack
Big data expo - machine learning in the elastic stack
 
Lecture 1
Lecture 1Lecture 1
Lecture 1
 
lec1.ppt
lec1.pptlec1.ppt
lec1.ppt
 
EssentialsOfMachineLearning.pdf
EssentialsOfMachineLearning.pdfEssentialsOfMachineLearning.pdf
EssentialsOfMachineLearning.pdf
 

Dernier

08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 

Dernier (20)

08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 

Machine Learning

  • 2. What is it ? ● Machine Learning ● Making a program Curious ! ● Teach it to decide on its own. ● Give it some intelligence Make a program to label documents according to contents : Sports , Technology, History, Geography, Politics etc...
  • 3. What is it ? Step 1. Download a lot of documents from the web Step 2. Label Them ! Labeling is quite a painful task. Somehow our program should be able to distinguish b/w the various categories. Teach the program using examples (Training set) and make sure it makes intelligent decision in real world situations. Question ! How many and what examples ?
  • 4. Example All kinds of “unlabeled” data
  • 5. Example One way : Select a few data points at random, label them give the input output set to the program … and let it “learn” from these examples. Supervised Learning .
  • 6. Example One way : Select a few data points at random, label them give the input output set to the program … and let it “learn” from these examples. BUT ! Keep in mind (memory) the location of other labeled points. Semi Supervised & Active learning !
  • 7. Example Got a better generalization this time ! Didn't we ??
  • 8. Active Learning Somehow make the set of training examples smaller & results, more accurate.
  • 9. So how to make Training set smaller & smarter ?? Select the Training examples which are most uncertain … instead of doing it at random . The program asks Queries from the “Oracle” in the form of unlabeled instances to be labeled. In this way, the active learner aims to achieve high accuracy using as few labeled instances as possible, thereby minimizing the cost of obtaining labeled data. Eg. Query the unlabeled point that is: Closest to the boundary. OR Most Uncertain OR Most likely to decrease overall certainty. Etc etc.
  • 10. How does the learner ask queries ? There are several different problem scenarios in which the learner may be able to ask queries. For example:
  • 11. Membership Query Synthesis The learner may request labels for any unlabeled instance in the input space, including (and typically assuming) queries that the learner generates de novo, rather than those sampled from some underlying natural distribution. BUT sometimes the queries to label are quite awkward ! *De novo means from the source,fresh & itself.
  • 12. Stream-Based Selective Sampling Obtain an unlabeled instance, sampled from the actual distribution. Now, the learner decide whether to request its label or not. The learner !
  • 13. Pool-Based Sampling For many real-world learning problems, large collections of unlabeled data Can be gathered at once. The learner ! Se le cts t he Be st Qu er y A large pool of Instances
  • 14. … and how does the program select the best Query ?? Uncertainty Sampling Query the instance for which it is least confident. x∗ = max( 1 − P ( y' | x ) ) Where y' = max( P ( y | x ) ) X* = The best Query P(y|x) = conditional probability …
  • 15. …and how does the program select the best Query ?? Query-By-Committee Maintain a committee of models all trained on `that` Input space & let them label it … Now select the queries for which they disagree the most !
  • 16. For measuring the level of disagreement: Yi :: ranges over all possible labelings. V (yi ) :: number of “votes” that a label receives from among the committee members’ predictions. C :: Committee size ! … and then there are a lot of other algorithms also !
  • 17. The Algorithm… 1.Start with a large pool of unlabeled data Select the single most informative instance to be labeled by the oracle Add the labeled query to the Training set Re-train using this newly acquired knowledge Goto 1
  • 18. Is Active learning 'The' thing ? Assumptions 1.Annotator, the Oracle is always right . 2.If Annotator is wrong, see rule one ! 3.Labeling is sooo expansive … is it ??? So can my machine learn more economically if it is allowed to ask questions ??? Are you from delhi ? Used the metro ? Seen the qutub minar ?
  • 19. Suggested Improvements in it ... Dr. Burr Settles ... The Oracle has to wait as learner “re-trains” after each label By him/her. learner should Ask to label a batch of queries at once instead … Querying in BATCHES
  • 20. Suggested Improvements in it ... Dr. Burr Settles ... Oracles are not always right … They can be fatigued Error in instruments etc CrowdSourcing on web You just played a fun game : Tag as many rockstars in the pic as you can in one minute Challenge your friends Like on facebook ...meanwhile the learner was learning from your labels … thanku Oracle !
  • 21. Suggested Improvements in it ... Dr. Burr Settles ... Goal: to minimize the overall of training an accurate model. Simply reducing the number of labeled instances Wont help. Cost Sensitive Active Learning approaches explicitly Account for varying labeling costs while selecting Queries. eg. Kapoor et al. Proposed a decision-theoratic approach. Takes into account both labeling & misclassification cost. Assumption: Cost of labeling prop. To length.
  • 22. Suggested Improvements in it ... Dr. Burr Settles ... If labeling cost is not known, Try to predict the real, unknown annotation cost based on a few simple “meta features” on the instances. Research has shown that these learned cost-models are significantly better than simpler cost heuristics (e.g., a linear function of length).
  • 23. Active Learning :: Practical Examples Drug Design Unlabeled Points :: A large (really large) pool of Chemical Compounds. Label :: Active (binds to a target) or Not. Getting a label :: The Experiment.
  • 24. Active Learning :: Practical Examples Pedestrian Detection
  • 25. Conclusion Machines should be able to do all the things we hate … & machine learning will play a big role in achieving this goal. And to make machine learning faster and cheaper … active learning is the key ! Machine/Active learning is a very good area for research ! Machines will become Intelligent and wage a war against Humanity !
  • 26. Thank You :) Do Check out http://en.akinator.com