SlideShare a Scribd company logo
MACHINE LEARNING
SWAPNA.C
by swapna.c
Machine Learning
• Learning ↔ Intelligence
• Def: (Learning): Acquisition of knowledge or skills through
study , experience, or being taught.
• Def: Intelligence is the ability to learn and use concepts to
solve problems.
• Machine Learning ↔ Artificial Intelligence –
• Def: AI is the science of making machines do things that
require intelligence if done by human. (Minsky 1986).
• Def: Machine Learning is an area of AI concerned with
development of techniques which allow machines to learn.
by swapna.c
Why Machine Learning
• Why Machine Learning? ↔ Why Artificial Intelligence? ≡ To
build machines exhibiting intelligent behaviour (i.e., able to
reason, predict, and adapt) while helping humans work, study,
and entertain themselves.
• Recent programs in algorithm and theory.
• Growing flood of online data.
• More Computational power is available than human.
• Budding industry.
by swapna.c
Relevant disciplines and examples of
their influence on machine learning.
• Artificial intelligence
Bayesian methods
Computational complexity theory
• Control theory
Information theory
• Philosophy
Psychology and neurobiology
Statistics
by swapna.c
Well-posed Learning Problems
• Def: 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.
• Def 2 (Hadamard 1902): A (machine learning) problem is
well-posed if a solution to it exists, if that solution is unique,
and if that solution depends on the data / experience but it is
not sensitive to (reasonably small) changes in the data /
experience.
• For example, a computer program that learns to play checkers
might improve its performance as measured by its ability to
win at the class of tasks involving playing checkers games,
through experience obtained by playing games against itself.
by swapna.c
Successful Applications
• Learning to recognize spoken words.
All of the most successful speech recognition systems employ
machine learning in some form. For example the SPHINX
system .
. Learning to drive an autonomous vehicle.
Machine learning methods have been used to train computer-
controlled vehicles to steer correctly when driving on a variety
of road types. For example, the ALVINN system.
by swapna.c
• Learning to classify new astronomical structures.
Machine learning methods have been applied to a variety of
large databases to learn general regularities implicit in the data.
For example, decision tree learning algorithms have been used
by NASA to learn how to classify celestial objects from the
second Palomar Observatory SkySurvey (Fayyad et al. 1995).
• Learning to play world-class backgammon.
The most successful computer programs for playing games
such as backgammon are based on machine learning
algorithms. For example, the world's top computer program for
backgammon, TD-GAMMO
by swapna.c
To have a well-defined learning
problem
Identify 3 Features: the class of tasks, the measure of
performance to be improved, and the source of experience.
• checkers learning problem:
• Task T: playing checkers
• Performance measure P: percent of games won against
opponents.
• Training experience E: playing practice games against itself.
• Some other learning problems:
by swapna.c
A handwriting recognition learning
problem:
• Task T: recognizing and classifying handwritten words
within images
• Performance measure P: percent of words correctly
classified.
Training experience E: a database of handwritten words
with given classifications
by swapna.c
A Robot Driving Learning Problem:
• Task T: driving on public four-lane highways using vision
sensors
• Performance measure P: average distance travelled before an
error (as judged by human overseer)
• Training experience E: a sequence of images and steering
commands recorded while observing a human driver.
by swapna.c
Designing a learning system
1. Choosing the training experience
– Examples of best moves, games outcome …
2. Choosing the target function
– board-move, board-value, …
3. Choosing a representation for the target function
– linear function with weights (hypothesis space)
4. Choosing a learning algorithm for approximating the
target function
– A method for parameter estimation
Designing A Learning System
1.Choosing the Training Experience: One key attribute
is whether the training experience provides direct or
indirect feedback regarding the choices made by the
performance system.
• A second important attribute of the training experience is
the degree to which the learner controls the sequence of
training.
• A third important attribute of the training experience is
how well it represents the distribution of examples over
which the final system performance P must be measured.
by swapna.c
Checkers Game
by swapna.c
2.Choosing the Target Function
• The next design choice is to determine exactly what type of
knowledge will be learned and how this will be used by the
performance program. B-M(Priori) (Evaluation Target
function) V:BR
• Let us therefore define the target value V(b) for an arbitrary
board state b in B, as follows:
• 1. if b is a final board state that is won, then V(b) = 100
• 2. if b is a final board state that is lost, then V(b) = -100
• 3. if b is a final board state that is drawn, then V(b) = 0
• 4. if b is a not a final state in the game, then V(b) = V(b’)
where b' is the best final board state that can be achieved
starting from b and playing optimally until the end of the game
(assuming the opponent plays optimally, as well).
by swapna.c
3.Choosing a Representation for the
Target Function
• let us choose a simple representation: for any given board
state, the function c will be calculated as a linear combination
of the following board features:
• xl: the number of black pieces on the board
• x2: the number of red pieces on the board
• x3: the number of black kings on the board
• x4: the number of red kings on the board
• x5: the number of black pieces threatened by red (i.e., which
can be captured
• on red's next turn)
• X6: the number of red pieces threatened by black
by swapna.c
• Thus, our learning program will represent c(b) as a linear
function of the form
V^(b)=w0+w1x1+w2x2+w3x3+w4x4+w5x5+w6x6
• where wo through W6 are numerical coefficients, or weights,
to be chosen by the learning algorithm. . Learned values for
the weights w l through W6 will determine the relative
importance of the various board features in determining the
value of the board, whereas the weight w0 will provide an
additive constant to the board value.
by swapna.c
• Partial design of a checkers learning program:
• Task T: playing checkers
• Performance measure P: percent of games won in the world
tournament.
• Training experience E: games played against itself
• Targetfunction: V:Board ->R
• Targetfunction representation
• V^(b)=w0+w1x1+w2x2+w3x3+w4x4+w5x5+w6x6
by swapna.c
4.Choosing a function Approximation
Algorithm
• In order to learn the target function f we require a set of
training examples, each describing a specific board state b and
the training value Vtrain(b)for b. In other words, each training
example is an ordered pair of the form (b, V',,,i,(b)). For
instance, the following training example describes a board
state b in which black has won the game (note x2 = 0 indicates
that red has no remaining pieces) and for which the target
function value Vtrain(b)is therefore +100.
• b=(x1=3,x2=0,x3=1x4=0,x5=0x6=0)
• <<x1=3,x2=0,x3=1,x4=0,x5=0,x6=0),+100>>.
• Estimating training values, Adjusting the Weights
by swapna.c
4.1Estimating Training Values
• ESTIMATING TRAINING VALUES:
• In ex. Training information only available is about game was
won or not.
• An approach is made to assign the training value of Vtrain(b)
for intermediate board state b to be V^(successor(b)). Where
v(b) the learners current approximation to V.(Successor(b)
denotes the next board state of b.
• V,,,i.(b)c c(~successor(b)) Each training example is an ordered
pair of the form k for estimating training values< b,Vtrain (b)>
• Recall that according to our formulation of the learning
problem, the only training information available to our learner
is whether the game was eventually won or lost.
• Rule for estimating training values.
Vtrain(b)V^(Successor(b))
by swapna.c
by swapna.c
Adjusting The Weights
• Several algorithms are known for finding weights of a linear
function that minimize E defined in this way.
• In our case, we require an algorithm that will incrementally
refine the weights as new training examples become available
and that will be robust to errors in these estimated training
values. One such algorithm is called the Least Mean Squares,
or LMS training rule.
• For each observed training example it adjusts the weights a
small amount in the direction that reduces the error on this
training example.
by swapna.c
by swapna.c
4.3Final Design
• The Final design of our checkers learning system can
be naturally described by four distinct program
modules that represent the central components in
many learning systems.
• Performance System : It is the module that must
solve the given performance task, in this case playing
checkers, by using the learned target functions(s).
by swapna.c
by swapna.c
• The Critic takes as input the history or trace of the game
and produces as output a set of training examples of the
target function
• The Generalizer takes as input the training examples and
produces an output hypothesis that is its estimate of the
target function.
• The Experiment Generator takes as input the current
hypothesis (currently learned function) and outputs a new
problem (i.e., initial board state) for the Performance
System to explore. Its role is to pick new practice
problems that will maximize the learning rate of the
overall system. In our example, the Experiment Generator
follows a very simple strategy: It always proposes the
same initial game board to begin a new game.
by swapna.c
by swapna.c
Perspective & Issues in Machine Learning
Perspective:
• It involves searching a very large space of possible hypothesis
to determine the one that best fits the observed data.
Issues:
• Which algorithm performs best for which types of problems &
representation?
• How much training data is sufficient?
• Can prior knowledge be helpful even when it is only
approximately correct?
• The best strategy for choosing a useful next training
experience.
• What specific function should the system attempt to learn?
• How can learner automatically alter it’s representation to
improve it’s ability to represent and learn the target function?
by swapna.c

More Related Content

What's hot

PAC Learning
PAC LearningPAC Learning
PAC Learning
Sanghyuk Chun
 
Dempster shafer theory
Dempster shafer theoryDempster shafer theory
Dempster shafer theory
Dr. C.V. Suresh Babu
 
Logistic regression in Machine Learning
Logistic regression in Machine LearningLogistic regression in Machine Learning
Logistic regression in Machine Learning
Kuppusamy P
 
Support Vector Machines ( SVM )
Support Vector Machines ( SVM ) Support Vector Machines ( SVM )
Support Vector Machines ( SVM )
Mohammad Junaid Khan
 
I. AO* SEARCH ALGORITHM
I. AO* SEARCH ALGORITHMI. AO* SEARCH ALGORITHM
I. AO* SEARCH ALGORITHM
vikas dhakane
 
Types of Machine Learning
Types of Machine LearningTypes of Machine Learning
Types of Machine Learning
Samra Shahzadi
 
Classification Based Machine Learning Algorithms
Classification Based Machine Learning AlgorithmsClassification Based Machine Learning Algorithms
Classification Based Machine Learning Algorithms
Md. Main Uddin Rony
 
Naive Bayes
Naive BayesNaive Bayes
Naive Bayes
CloudxLab
 
Reinforcement learning
Reinforcement learning Reinforcement learning
Reinforcement learning
Chandra Meena
 
Graph coloring using backtracking
Graph coloring using backtrackingGraph coloring using backtracking
Graph coloring using backtracking
shashidharPapishetty
 
15 puzzle problem using branch and bound
15 puzzle problem using branch and bound15 puzzle problem using branch and bound
15 puzzle problem using branch and bound
Abhishek Singh
 
lazy learners and other classication methods
lazy learners and other classication methodslazy learners and other classication methods
lazy learners and other classication methods
rajshreemuthiah
 
Conceptual dependency
Conceptual dependencyConceptual dependency
Conceptual dependency
Jismy .K.Jose
 
Vc dimension in Machine Learning
Vc dimension in Machine LearningVc dimension in Machine Learning
Vc dimension in Machine Learning
VARUN KUMAR
 
8 queens problem using back tracking
8 queens problem using back tracking8 queens problem using back tracking
8 queens problem using back trackingTech_MX
 
Loops in flow
Loops in flowLoops in flow
Loops in flow
indhu mathi
 
Directed Acyclic Graph Representation of basic blocks
Directed Acyclic Graph Representation of basic blocksDirected Acyclic Graph Representation of basic blocks
Directed Acyclic Graph Representation of basic blocks
Mohammad Vaseem Akaram
 
Support Vector Machines for Classification
Support Vector Machines for ClassificationSupport Vector Machines for Classification
Support Vector Machines for Classification
Prakash Pimpale
 
Learning in AI
Learning in AILearning in AI
Learning in AI
Minakshi Atre
 

What's hot (20)

PAC Learning
PAC LearningPAC Learning
PAC Learning
 
Naive bayes
Naive bayesNaive bayes
Naive bayes
 
Dempster shafer theory
Dempster shafer theoryDempster shafer theory
Dempster shafer theory
 
Logistic regression in Machine Learning
Logistic regression in Machine LearningLogistic regression in Machine Learning
Logistic regression in Machine Learning
 
Support Vector Machines ( SVM )
Support Vector Machines ( SVM ) Support Vector Machines ( SVM )
Support Vector Machines ( SVM )
 
I. AO* SEARCH ALGORITHM
I. AO* SEARCH ALGORITHMI. AO* SEARCH ALGORITHM
I. AO* SEARCH ALGORITHM
 
Types of Machine Learning
Types of Machine LearningTypes of Machine Learning
Types of Machine Learning
 
Classification Based Machine Learning Algorithms
Classification Based Machine Learning AlgorithmsClassification Based Machine Learning Algorithms
Classification Based Machine Learning Algorithms
 
Naive Bayes
Naive BayesNaive Bayes
Naive Bayes
 
Reinforcement learning
Reinforcement learning Reinforcement learning
Reinforcement learning
 
Graph coloring using backtracking
Graph coloring using backtrackingGraph coloring using backtracking
Graph coloring using backtracking
 
15 puzzle problem using branch and bound
15 puzzle problem using branch and bound15 puzzle problem using branch and bound
15 puzzle problem using branch and bound
 
lazy learners and other classication methods
lazy learners and other classication methodslazy learners and other classication methods
lazy learners and other classication methods
 
Conceptual dependency
Conceptual dependencyConceptual dependency
Conceptual dependency
 
Vc dimension in Machine Learning
Vc dimension in Machine LearningVc dimension in Machine Learning
Vc dimension in Machine Learning
 
8 queens problem using back tracking
8 queens problem using back tracking8 queens problem using back tracking
8 queens problem using back tracking
 
Loops in flow
Loops in flowLoops in flow
Loops in flow
 
Directed Acyclic Graph Representation of basic blocks
Directed Acyclic Graph Representation of basic blocksDirected Acyclic Graph Representation of basic blocks
Directed Acyclic Graph Representation of basic blocks
 
Support Vector Machines for Classification
Support Vector Machines for ClassificationSupport Vector Machines for Classification
Support Vector Machines for Classification
 
Learning in AI
Learning in AILearning in AI
Learning in AI
 

Similar to Introdution and designing a learning system

ML_ Unit_1_PART_A
ML_ Unit_1_PART_AML_ Unit_1_PART_A
ML_ Unit_1_PART_A
Srimatre K
 
Module 1.pdf
Module 1.pdfModule 1.pdf
Module 1.pdf
MoniaDigra
 
Machine Learning- Introduction.pptx
Machine Learning- Introduction.pptxMachine Learning- Introduction.pptx
Machine Learning- Introduction.pptx
DrSakthiMalaK
 
Machine Learning Fall, 2007 Course Information
Machine Learning Fall, 2007 Course InformationMachine Learning Fall, 2007 Course Information
Machine Learning Fall, 2007 Course Informationbutest
 
introducción a Machine Learning
introducción a Machine Learningintroducción a Machine Learning
introducción a Machine Learningbutest
 
introducción a Machine Learning
introducción a Machine Learningintroducción a Machine Learning
introducción a Machine Learningbutest
 
UNIT 1 Machine Learning [KCS-055] (1).pptx
UNIT 1 Machine Learning [KCS-055] (1).pptxUNIT 1 Machine Learning [KCS-055] (1).pptx
UNIT 1 Machine Learning [KCS-055] (1).pptx
RohanPathak30
 
Machine learning for computer vision part 2
Machine learning for computer vision part 2Machine learning for computer vision part 2
Machine learning for computer vision part 2
potaters
 
vorl1.ppt
vorl1.pptvorl1.ppt
vorl1.pptbutest
 
The ABC of Implementing Supervised Machine Learning with Python.pptx
The ABC of Implementing Supervised Machine Learning with Python.pptxThe ABC of Implementing Supervised Machine Learning with Python.pptx
The ABC of Implementing Supervised Machine Learning with Python.pptx
Ruby Shrestha
 
Machine Learning Introduction by Dr.C.R.Dhivyaa Kongu Engineering College
Machine Learning Introduction by Dr.C.R.Dhivyaa Kongu Engineering CollegeMachine Learning Introduction by Dr.C.R.Dhivyaa Kongu Engineering College
Machine Learning Introduction by Dr.C.R.Dhivyaa Kongu Engineering College
Dhivyaa C.R
 
UNIT I (6).pptx
UNIT I (6).pptxUNIT I (6).pptx
UNIT I (6).pptx
DrDhivyaaCRAssistant
 
机器学习Adaboost
机器学习Adaboost机器学习Adaboost
机器学习Adaboost
Shocky1
 
DeepLearningLecture.pptx
DeepLearningLecture.pptxDeepLearningLecture.pptx
DeepLearningLecture.pptx
ssuserf07225
 
sentiment analysis using support vector machine
sentiment analysis using support vector machinesentiment analysis using support vector machine
sentiment analysis using support vector machine
Shital Andhale
 
maxbox starter60 machine learning
maxbox starter60 machine learningmaxbox starter60 machine learning
maxbox starter60 machine learning
Max Kleiner
 
EssentialsOfMachineLearning.pdf
EssentialsOfMachineLearning.pdfEssentialsOfMachineLearning.pdf
EssentialsOfMachineLearning.pdf
Ankita Tiwari
 
Nearest neighbour algorithm
Nearest neighbour algorithmNearest neighbour algorithm
Nearest neighbour algorithm
Anmitas1
 
Adversarial Learning_Rupam Bhattacharya
Adversarial Learning_Rupam BhattacharyaAdversarial Learning_Rupam Bhattacharya
Adversarial Learning_Rupam BhattacharyaRupam Bhattacharya
 
Final Presentation - Edan&Itzik
Final Presentation - Edan&ItzikFinal Presentation - Edan&Itzik
Final Presentation - Edan&Itzikitzik cohen
 

Similar to Introdution and designing a learning system (20)

ML_ Unit_1_PART_A
ML_ Unit_1_PART_AML_ Unit_1_PART_A
ML_ Unit_1_PART_A
 
Module 1.pdf
Module 1.pdfModule 1.pdf
Module 1.pdf
 
Machine Learning- Introduction.pptx
Machine Learning- Introduction.pptxMachine Learning- Introduction.pptx
Machine Learning- Introduction.pptx
 
Machine Learning Fall, 2007 Course Information
Machine Learning Fall, 2007 Course InformationMachine Learning Fall, 2007 Course Information
Machine Learning Fall, 2007 Course Information
 
introducción a Machine Learning
introducción a Machine Learningintroducción a Machine Learning
introducción a Machine Learning
 
introducción a Machine Learning
introducción a Machine Learningintroducción a Machine Learning
introducción a Machine Learning
 
UNIT 1 Machine Learning [KCS-055] (1).pptx
UNIT 1 Machine Learning [KCS-055] (1).pptxUNIT 1 Machine Learning [KCS-055] (1).pptx
UNIT 1 Machine Learning [KCS-055] (1).pptx
 
Machine learning for computer vision part 2
Machine learning for computer vision part 2Machine learning for computer vision part 2
Machine learning for computer vision part 2
 
vorl1.ppt
vorl1.pptvorl1.ppt
vorl1.ppt
 
The ABC of Implementing Supervised Machine Learning with Python.pptx
The ABC of Implementing Supervised Machine Learning with Python.pptxThe ABC of Implementing Supervised Machine Learning with Python.pptx
The ABC of Implementing Supervised Machine Learning with Python.pptx
 
Machine Learning Introduction by Dr.C.R.Dhivyaa Kongu Engineering College
Machine Learning Introduction by Dr.C.R.Dhivyaa Kongu Engineering CollegeMachine Learning Introduction by Dr.C.R.Dhivyaa Kongu Engineering College
Machine Learning Introduction by Dr.C.R.Dhivyaa Kongu Engineering College
 
UNIT I (6).pptx
UNIT I (6).pptxUNIT I (6).pptx
UNIT I (6).pptx
 
机器学习Adaboost
机器学习Adaboost机器学习Adaboost
机器学习Adaboost
 
DeepLearningLecture.pptx
DeepLearningLecture.pptxDeepLearningLecture.pptx
DeepLearningLecture.pptx
 
sentiment analysis using support vector machine
sentiment analysis using support vector machinesentiment analysis using support vector machine
sentiment analysis using support vector machine
 
maxbox starter60 machine learning
maxbox starter60 machine learningmaxbox starter60 machine learning
maxbox starter60 machine learning
 
EssentialsOfMachineLearning.pdf
EssentialsOfMachineLearning.pdfEssentialsOfMachineLearning.pdf
EssentialsOfMachineLearning.pdf
 
Nearest neighbour algorithm
Nearest neighbour algorithmNearest neighbour algorithm
Nearest neighbour algorithm
 
Adversarial Learning_Rupam Bhattacharya
Adversarial Learning_Rupam BhattacharyaAdversarial Learning_Rupam Bhattacharya
Adversarial Learning_Rupam Bhattacharya
 
Final Presentation - Edan&Itzik
Final Presentation - Edan&ItzikFinal Presentation - Edan&Itzik
Final Presentation - Edan&Itzik
 

More from swapnac12

Awt, Swing, Layout managers
Awt, Swing, Layout managersAwt, Swing, Layout managers
Awt, Swing, Layout managers
swapnac12
 
Applet
 Applet Applet
Applet
swapnac12
 
Event handling
Event handlingEvent handling
Event handling
swapnac12
 
Asymptotic notations(Big O, Omega, Theta )
Asymptotic notations(Big O, Omega, Theta )Asymptotic notations(Big O, Omega, Theta )
Asymptotic notations(Big O, Omega, Theta )
swapnac12
 
Performance analysis(Time & Space Complexity)
Performance analysis(Time & Space Complexity)Performance analysis(Time & Space Complexity)
Performance analysis(Time & Space Complexity)
swapnac12
 
Introduction ,characteristics, properties,pseudo code conventions
Introduction ,characteristics, properties,pseudo code conventionsIntroduction ,characteristics, properties,pseudo code conventions
Introduction ,characteristics, properties,pseudo code conventions
swapnac12
 
Inductive analytical approaches to learning
Inductive analytical approaches to learningInductive analytical approaches to learning
Inductive analytical approaches to learning
swapnac12
 
Using prior knowledge to initialize the hypothesis,kbann
Using prior knowledge to initialize the hypothesis,kbannUsing prior knowledge to initialize the hypothesis,kbann
Using prior knowledge to initialize the hypothesis,kbann
swapnac12
 
Combining inductive and analytical learning
Combining inductive and analytical learningCombining inductive and analytical learning
Combining inductive and analytical learning
swapnac12
 
Analytical learning
Analytical learningAnalytical learning
Analytical learning
swapnac12
 
Learning set of rules
Learning set of rulesLearning set of rules
Learning set of rules
swapnac12
 
Learning rule of first order rules
Learning rule of first order rulesLearning rule of first order rules
Learning rule of first order rules
swapnac12
 
Genetic algorithms
Genetic algorithmsGenetic algorithms
Genetic algorithms
swapnac12
 
Instance based learning
Instance based learningInstance based learning
Instance based learning
swapnac12
 
Computational learning theory
Computational learning theoryComputational learning theory
Computational learning theory
swapnac12
 
Multilayer & Back propagation algorithm
Multilayer & Back propagation algorithmMultilayer & Back propagation algorithm
Multilayer & Back propagation algorithm
swapnac12
 
Artificial Neural Networks 1
Artificial Neural Networks 1Artificial Neural Networks 1
Artificial Neural Networks 1
swapnac12
 
Evaluating hypothesis
Evaluating  hypothesisEvaluating  hypothesis
Evaluating hypothesis
swapnac12
 
Advanced topics in artificial neural networks
Advanced topics in artificial neural networksAdvanced topics in artificial neural networks
Advanced topics in artificial neural networks
swapnac12
 
Concept learning and candidate elimination algorithm
Concept learning and candidate elimination algorithmConcept learning and candidate elimination algorithm
Concept learning and candidate elimination algorithm
swapnac12
 

More from swapnac12 (20)

Awt, Swing, Layout managers
Awt, Swing, Layout managersAwt, Swing, Layout managers
Awt, Swing, Layout managers
 
Applet
 Applet Applet
Applet
 
Event handling
Event handlingEvent handling
Event handling
 
Asymptotic notations(Big O, Omega, Theta )
Asymptotic notations(Big O, Omega, Theta )Asymptotic notations(Big O, Omega, Theta )
Asymptotic notations(Big O, Omega, Theta )
 
Performance analysis(Time & Space Complexity)
Performance analysis(Time & Space Complexity)Performance analysis(Time & Space Complexity)
Performance analysis(Time & Space Complexity)
 
Introduction ,characteristics, properties,pseudo code conventions
Introduction ,characteristics, properties,pseudo code conventionsIntroduction ,characteristics, properties,pseudo code conventions
Introduction ,characteristics, properties,pseudo code conventions
 
Inductive analytical approaches to learning
Inductive analytical approaches to learningInductive analytical approaches to learning
Inductive analytical approaches to learning
 
Using prior knowledge to initialize the hypothesis,kbann
Using prior knowledge to initialize the hypothesis,kbannUsing prior knowledge to initialize the hypothesis,kbann
Using prior knowledge to initialize the hypothesis,kbann
 
Combining inductive and analytical learning
Combining inductive and analytical learningCombining inductive and analytical learning
Combining inductive and analytical learning
 
Analytical learning
Analytical learningAnalytical learning
Analytical learning
 
Learning set of rules
Learning set of rulesLearning set of rules
Learning set of rules
 
Learning rule of first order rules
Learning rule of first order rulesLearning rule of first order rules
Learning rule of first order rules
 
Genetic algorithms
Genetic algorithmsGenetic algorithms
Genetic algorithms
 
Instance based learning
Instance based learningInstance based learning
Instance based learning
 
Computational learning theory
Computational learning theoryComputational learning theory
Computational learning theory
 
Multilayer & Back propagation algorithm
Multilayer & Back propagation algorithmMultilayer & Back propagation algorithm
Multilayer & Back propagation algorithm
 
Artificial Neural Networks 1
Artificial Neural Networks 1Artificial Neural Networks 1
Artificial Neural Networks 1
 
Evaluating hypothesis
Evaluating  hypothesisEvaluating  hypothesis
Evaluating hypothesis
 
Advanced topics in artificial neural networks
Advanced topics in artificial neural networksAdvanced topics in artificial neural networks
Advanced topics in artificial neural networks
 
Concept learning and candidate elimination algorithm
Concept learning and candidate elimination algorithmConcept learning and candidate elimination algorithm
Concept learning and candidate elimination algorithm
 

Recently uploaded

Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 

Recently uploaded (20)

Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 

Introdution and designing a learning system

  • 2. Machine Learning • Learning ↔ Intelligence • Def: (Learning): Acquisition of knowledge or skills through study , experience, or being taught. • Def: Intelligence is the ability to learn and use concepts to solve problems. • Machine Learning ↔ Artificial Intelligence – • Def: AI is the science of making machines do things that require intelligence if done by human. (Minsky 1986). • Def: Machine Learning is an area of AI concerned with development of techniques which allow machines to learn. by swapna.c
  • 3. Why Machine Learning • Why Machine Learning? ↔ Why Artificial Intelligence? ≡ To build machines exhibiting intelligent behaviour (i.e., able to reason, predict, and adapt) while helping humans work, study, and entertain themselves. • Recent programs in algorithm and theory. • Growing flood of online data. • More Computational power is available than human. • Budding industry. by swapna.c
  • 4. Relevant disciplines and examples of their influence on machine learning. • Artificial intelligence Bayesian methods Computational complexity theory • Control theory Information theory • Philosophy Psychology and neurobiology Statistics by swapna.c
  • 5. Well-posed Learning Problems • Def: 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. • Def 2 (Hadamard 1902): A (machine learning) problem is well-posed if a solution to it exists, if that solution is unique, and if that solution depends on the data / experience but it is not sensitive to (reasonably small) changes in the data / experience. • For example, a computer program that learns to play checkers might improve its performance as measured by its ability to win at the class of tasks involving playing checkers games, through experience obtained by playing games against itself. by swapna.c
  • 6. Successful Applications • Learning to recognize spoken words. All of the most successful speech recognition systems employ machine learning in some form. For example the SPHINX system . . Learning to drive an autonomous vehicle. Machine learning methods have been used to train computer- controlled vehicles to steer correctly when driving on a variety of road types. For example, the ALVINN system. by swapna.c
  • 7. • Learning to classify new astronomical structures. Machine learning methods have been applied to a variety of large databases to learn general regularities implicit in the data. For example, decision tree learning algorithms have been used by NASA to learn how to classify celestial objects from the second Palomar Observatory SkySurvey (Fayyad et al. 1995). • Learning to play world-class backgammon. The most successful computer programs for playing games such as backgammon are based on machine learning algorithms. For example, the world's top computer program for backgammon, TD-GAMMO by swapna.c
  • 8. To have a well-defined learning problem Identify 3 Features: the class of tasks, the measure of performance to be improved, and the source of experience. • checkers learning problem: • Task T: playing checkers • Performance measure P: percent of games won against opponents. • Training experience E: playing practice games against itself. • Some other learning problems: by swapna.c
  • 9. A handwriting recognition learning problem: • Task T: recognizing and classifying handwritten words within images • Performance measure P: percent of words correctly classified. Training experience E: a database of handwritten words with given classifications by swapna.c
  • 10. A Robot Driving Learning Problem: • Task T: driving on public four-lane highways using vision sensors • Performance measure P: average distance travelled before an error (as judged by human overseer) • Training experience E: a sequence of images and steering commands recorded while observing a human driver. by swapna.c
  • 11. Designing a learning system 1. Choosing the training experience – Examples of best moves, games outcome … 2. Choosing the target function – board-move, board-value, … 3. Choosing a representation for the target function – linear function with weights (hypothesis space) 4. Choosing a learning algorithm for approximating the target function – A method for parameter estimation
  • 12. Designing A Learning System 1.Choosing the Training Experience: One key attribute is whether the training experience provides direct or indirect feedback regarding the choices made by the performance system. • A second important attribute of the training experience is the degree to which the learner controls the sequence of training. • A third important attribute of the training experience is how well it represents the distribution of examples over which the final system performance P must be measured. by swapna.c
  • 14. 2.Choosing the Target Function • The next design choice is to determine exactly what type of knowledge will be learned and how this will be used by the performance program. B-M(Priori) (Evaluation Target function) V:BR • Let us therefore define the target value V(b) for an arbitrary board state b in B, as follows: • 1. if b is a final board state that is won, then V(b) = 100 • 2. if b is a final board state that is lost, then V(b) = -100 • 3. if b is a final board state that is drawn, then V(b) = 0 • 4. if b is a not a final state in the game, then V(b) = V(b’) where b' is the best final board state that can be achieved starting from b and playing optimally until the end of the game (assuming the opponent plays optimally, as well). by swapna.c
  • 15. 3.Choosing a Representation for the Target Function • let us choose a simple representation: for any given board state, the function c will be calculated as a linear combination of the following board features: • xl: the number of black pieces on the board • x2: the number of red pieces on the board • x3: the number of black kings on the board • x4: the number of red kings on the board • x5: the number of black pieces threatened by red (i.e., which can be captured • on red's next turn) • X6: the number of red pieces threatened by black by swapna.c
  • 16. • Thus, our learning program will represent c(b) as a linear function of the form V^(b)=w0+w1x1+w2x2+w3x3+w4x4+w5x5+w6x6 • where wo through W6 are numerical coefficients, or weights, to be chosen by the learning algorithm. . Learned values for the weights w l through W6 will determine the relative importance of the various board features in determining the value of the board, whereas the weight w0 will provide an additive constant to the board value. by swapna.c
  • 17. • Partial design of a checkers learning program: • Task T: playing checkers • Performance measure P: percent of games won in the world tournament. • Training experience E: games played against itself • Targetfunction: V:Board ->R • Targetfunction representation • V^(b)=w0+w1x1+w2x2+w3x3+w4x4+w5x5+w6x6 by swapna.c
  • 18. 4.Choosing a function Approximation Algorithm • In order to learn the target function f we require a set of training examples, each describing a specific board state b and the training value Vtrain(b)for b. In other words, each training example is an ordered pair of the form (b, V',,,i,(b)). For instance, the following training example describes a board state b in which black has won the game (note x2 = 0 indicates that red has no remaining pieces) and for which the target function value Vtrain(b)is therefore +100. • b=(x1=3,x2=0,x3=1x4=0,x5=0x6=0) • <<x1=3,x2=0,x3=1,x4=0,x5=0,x6=0),+100>>. • Estimating training values, Adjusting the Weights by swapna.c
  • 19. 4.1Estimating Training Values • ESTIMATING TRAINING VALUES: • In ex. Training information only available is about game was won or not. • An approach is made to assign the training value of Vtrain(b) for intermediate board state b to be V^(successor(b)). Where v(b) the learners current approximation to V.(Successor(b) denotes the next board state of b. • V,,,i.(b)c c(~successor(b)) Each training example is an ordered pair of the form k for estimating training values< b,Vtrain (b)> • Recall that according to our formulation of the learning problem, the only training information available to our learner is whether the game was eventually won or lost. • Rule for estimating training values. Vtrain(b)V^(Successor(b)) by swapna.c
  • 21. Adjusting The Weights • Several algorithms are known for finding weights of a linear function that minimize E defined in this way. • In our case, we require an algorithm that will incrementally refine the weights as new training examples become available and that will be robust to errors in these estimated training values. One such algorithm is called the Least Mean Squares, or LMS training rule. • For each observed training example it adjusts the weights a small amount in the direction that reduces the error on this training example. by swapna.c
  • 23. 4.3Final Design • The Final design of our checkers learning system can be naturally described by four distinct program modules that represent the central components in many learning systems. • Performance System : It is the module that must solve the given performance task, in this case playing checkers, by using the learned target functions(s). by swapna.c
  • 25. • The Critic takes as input the history or trace of the game and produces as output a set of training examples of the target function • The Generalizer takes as input the training examples and produces an output hypothesis that is its estimate of the target function. • The Experiment Generator takes as input the current hypothesis (currently learned function) and outputs a new problem (i.e., initial board state) for the Performance System to explore. Its role is to pick new practice problems that will maximize the learning rate of the overall system. In our example, the Experiment Generator follows a very simple strategy: It always proposes the same initial game board to begin a new game. by swapna.c
  • 27. Perspective & Issues in Machine Learning Perspective: • It involves searching a very large space of possible hypothesis to determine the one that best fits the observed data. Issues: • Which algorithm performs best for which types of problems & representation? • How much training data is sufficient? • Can prior knowledge be helpful even when it is only approximately correct? • The best strategy for choosing a useful next training experience. • What specific function should the system attempt to learn? • How can learner automatically alter it’s representation to improve it’s ability to represent and learn the target function? by swapna.c