SlideShare uma empresa Scribd logo
1 de 27
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

Mais conteúdo relacionado

Mais procurados

Neural Networks: Least Mean Square (LSM) Algorithm
Neural Networks: Least Mean Square (LSM) AlgorithmNeural Networks: Least Mean Square (LSM) Algorithm
Neural Networks: Least Mean Square (LSM) AlgorithmMostafa G. M. Mostafa
 
Machine Learning with Decision trees
Machine Learning with Decision treesMachine Learning with Decision trees
Machine Learning with Decision treesKnoldus Inc.
 
Classification Based Machine Learning Algorithms
Classification Based Machine Learning AlgorithmsClassification Based Machine Learning Algorithms
Classification Based Machine Learning AlgorithmsMd. Main Uddin Rony
 
Vc dimension in Machine Learning
Vc dimension in Machine LearningVc dimension in Machine Learning
Vc dimension in Machine LearningVARUN KUMAR
 
Classification and Regression
Classification and RegressionClassification and Regression
Classification and RegressionMegha Sharma
 
Linear regression
Linear regressionLinear regression
Linear regressionMartinHogg9
 
Radial basis function network ppt bySheetal,Samreen and Dhanashri
Radial basis function network ppt bySheetal,Samreen and DhanashriRadial basis function network ppt bySheetal,Samreen and Dhanashri
Radial basis function network ppt bySheetal,Samreen and Dhanashrisheetal katkar
 
Dempster Shafer Theory AI CSE 8th Sem
Dempster Shafer Theory AI CSE 8th SemDempster Shafer Theory AI CSE 8th Sem
Dempster Shafer Theory AI CSE 8th SemDigiGurukul
 
Multilayer perceptron
Multilayer perceptronMultilayer perceptron
Multilayer perceptronomaraldabash
 
Artificial Neural Networks - ANN
Artificial Neural Networks - ANNArtificial Neural Networks - ANN
Artificial Neural Networks - ANNMohamed Talaat
 
5.1 mining data streams
5.1 mining data streams5.1 mining data streams
5.1 mining data streamsKrish_ver2
 
Artificial Intelligence Searching Techniques
Artificial Intelligence Searching TechniquesArtificial Intelligence Searching Techniques
Artificial Intelligence Searching TechniquesDr. C.V. Suresh Babu
 

Mais procurados (20)

PAC Learning
PAC LearningPAC Learning
PAC Learning
 
Neural Networks: Least Mean Square (LSM) Algorithm
Neural Networks: Least Mean Square (LSM) AlgorithmNeural Networks: Least Mean Square (LSM) Algorithm
Neural Networks: Least Mean Square (LSM) Algorithm
 
Backpropagation algo
Backpropagation  algoBackpropagation  algo
Backpropagation algo
 
Learning in AI
Learning in AILearning in AI
Learning in AI
 
Machine Learning with Decision trees
Machine Learning with Decision treesMachine Learning with Decision trees
Machine Learning with Decision trees
 
Associative memory network
Associative memory networkAssociative memory network
Associative memory network
 
Classification Based Machine Learning Algorithms
Classification Based Machine Learning AlgorithmsClassification Based Machine Learning Algorithms
Classification Based Machine Learning Algorithms
 
Vc dimension in Machine Learning
Vc dimension in Machine LearningVc dimension in Machine Learning
Vc dimension in Machine Learning
 
Classification and Regression
Classification and RegressionClassification and Regression
Classification and Regression
 
Classical Sets & fuzzy sets
Classical Sets & fuzzy setsClassical Sets & fuzzy sets
Classical Sets & fuzzy sets
 
Naive bayes
Naive bayesNaive bayes
Naive bayes
 
Linear regression
Linear regressionLinear regression
Linear regression
 
Radial basis function network ppt bySheetal,Samreen and Dhanashri
Radial basis function network ppt bySheetal,Samreen and DhanashriRadial basis function network ppt bySheetal,Samreen and Dhanashri
Radial basis function network ppt bySheetal,Samreen and Dhanashri
 
Support Vector Machines ( SVM )
Support Vector Machines ( SVM ) Support Vector Machines ( SVM )
Support Vector Machines ( SVM )
 
Dempster Shafer Theory AI CSE 8th Sem
Dempster Shafer Theory AI CSE 8th SemDempster Shafer Theory AI CSE 8th Sem
Dempster Shafer Theory AI CSE 8th Sem
 
Multilayer perceptron
Multilayer perceptronMultilayer perceptron
Multilayer perceptron
 
Machine learning clustering
Machine learning clusteringMachine learning clustering
Machine learning clustering
 
Artificial Neural Networks - ANN
Artificial Neural Networks - ANNArtificial Neural Networks - ANN
Artificial Neural Networks - ANN
 
5.1 mining data streams
5.1 mining data streams5.1 mining data streams
5.1 mining data streams
 
Artificial Intelligence Searching Techniques
Artificial Intelligence Searching TechniquesArtificial Intelligence Searching Techniques
Artificial Intelligence Searching Techniques
 

Semelhante a Introdution and designing a learning system

ML_ Unit_1_PART_A
ML_ Unit_1_PART_AML_ Unit_1_PART_A
ML_ Unit_1_PART_ASrimatre K
 
Machine Learning- Introduction.pptx
Machine Learning- Introduction.pptxMachine Learning- Introduction.pptx
Machine Learning- Introduction.pptxDrSakthiMalaK
 
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
 
Machine learning Lecture 1
Machine learning Lecture 1Machine learning Lecture 1
Machine learning Lecture 1Srinivasan R
 
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).pptxRohanPathak30
 
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 2potaters
 
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.pptxRuby 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 CollegeDhivyaa C.R
 
机器学习Adaboost
机器学习Adaboost机器学习Adaboost
机器学习AdaboostShocky1
 
DeepLearningLecture.pptx
DeepLearningLecture.pptxDeepLearningLecture.pptx
DeepLearningLecture.pptxssuserf07225
 
sentiment analysis using support vector machine
sentiment analysis using support vector machinesentiment analysis using support vector machine
sentiment analysis using support vector machineShital Andhale
 
maxbox starter60 machine learning
maxbox starter60 machine learningmaxbox starter60 machine learning
maxbox starter60 machine learningMax Kleiner
 
EssentialsOfMachineLearning.pdf
EssentialsOfMachineLearning.pdfEssentialsOfMachineLearning.pdf
EssentialsOfMachineLearning.pdfAnkita Tiwari
 
Nearest neighbour algorithm
Nearest neighbour algorithmNearest neighbour algorithm
Nearest neighbour algorithmAnmitas1
 
Adversarial Learning_Rupam Bhattacharya
Adversarial Learning_Rupam BhattacharyaAdversarial Learning_Rupam Bhattacharya
Adversarial Learning_Rupam BhattacharyaRupam Bhattacharya
 

Semelhante a 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
 
Machine learning Lecture 1
Machine learning Lecture 1Machine learning Lecture 1
Machine learning Lecture 1
 
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
 

Mais de swapnac12

Awt, Swing, Layout managers
Awt, Swing, Layout managersAwt, Swing, Layout managers
Awt, Swing, Layout managersswapnac12
 
Event handling
Event handlingEvent handling
Event handlingswapnac12
 
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 conventionsswapnac12
 
Inductive analytical approaches to learning
Inductive analytical approaches to learningInductive analytical approaches to learning
Inductive analytical approaches to learningswapnac12
 
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,kbannswapnac12
 
Combining inductive and analytical learning
Combining inductive and analytical learningCombining inductive and analytical learning
Combining inductive and analytical learningswapnac12
 
Analytical learning
Analytical learningAnalytical learning
Analytical learningswapnac12
 
Learning set of rules
Learning set of rulesLearning set of rules
Learning set of rulesswapnac12
 
Learning rule of first order rules
Learning rule of first order rulesLearning rule of first order rules
Learning rule of first order rulesswapnac12
 
Genetic algorithms
Genetic algorithmsGenetic algorithms
Genetic algorithmsswapnac12
 
Instance based learning
Instance based learningInstance based learning
Instance based learningswapnac12
 
Computational learning theory
Computational learning theoryComputational learning theory
Computational learning theoryswapnac12
 
Multilayer & Back propagation algorithm
Multilayer & Back propagation algorithmMultilayer & Back propagation algorithm
Multilayer & Back propagation algorithmswapnac12
 
Artificial Neural Networks 1
Artificial Neural Networks 1Artificial Neural Networks 1
Artificial Neural Networks 1swapnac12
 
Evaluating hypothesis
Evaluating  hypothesisEvaluating  hypothesis
Evaluating hypothesisswapnac12
 
Advanced topics in artificial neural networks
Advanced topics in artificial neural networksAdvanced topics in artificial neural networks
Advanced topics in artificial neural networksswapnac12
 
Inductive bias
Inductive biasInductive bias
Inductive biasswapnac12
 

Mais de 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
 
Inductive bias
Inductive biasInductive bias
Inductive bias
 

Último

Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesShubhangi Sonawane
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Shubhangi Sonawane
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 

Último (20)

Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 

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