Unit 1
Unit 1
INTRODUCTION
WELL-POSED LEARNING PROBLEMS
• Well Posed Learning Problem – 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.
• Any problem can be generated posed learning
problem if it has three features –
– Task(T)
– Performance Measure (P)
– Experience (E)
• Example:
A checkers learning problem
– Task(T) – Playing checkers game
– Performance Measure(P) – percent of games won
against opponent
– Training Experience(E) – playing Practice games
against itself
DESIGNING A LEARNING SYSTEM
• According to Arthur Samuel “Machine
Learning enables a Machine to Automatically
learn from Data, Improve performance from
an Experience and predict things without
explicitly programmed.”
Training Data Building Logical Output
ML Algorithm Mathematical
Model
• Designing a Learning System in Machine Learning :
– Steps for designing Learning system
• Step-1:Choosing the Training Experience
– It is important to note that the data or experience
that we feed to the algorithm must have a
significant impact on the Success or Failure of the
Model. So Training data or experience should be
chosen wisely
• Attributes which will impact on Success and
Failure of Data
– The training experience will be able to provide
direct or indirect feedback regarding choices
– Second important attribute is the degree to which
the learner will control the sequences of training
examples.
– Third important attribute is how it will represent
the distribution of examples over which
performance will be measured.
• Step-2: Choosing target function
It means according to the knowledge feed to
the algorithm the machine learning will
choose Next Move function which will
describe what type of legal moves should be
taken.
• Step 3- Choosing Representation for Target
function
– When the machine algorithm will know all the
possible legal moves the next step is to choose the
optimized move using any representation i.e.
using linear Equations, Hierarchical Graph
Representation, Tabular form etc. The NextMove
function will move the Target move like out of
these move which will provide more success rate.
• X1: no of black chess pieces on the board
• X2: no of white chess pieces on the board
• X3: no of major black chess pieces on the board
• X4: no of major white chess pieces on the board
• X5: no of chess black pieces are threaten by white
• X6: no of chess white pieces are threaten by black
• Step 4- Choosing Function Approximation
Algorithm:
– An optimized move cannot be chosen just with the
training data. The training data had to go through
with set of example and through these examples
the training data will approximates which steps
are chosen and after that machine will provide
feedback on it.
• Linear Equation Algorithm
• V= w0+w1.x1+w2.x2+w3.x3+w4.x4+w5.x5+w6.x6
• Step 5- Final Design
– The final design is created at last when system
goes from number of examples , failures and
success , correct and incorrect decision and what
will be the next step etc.
Perspectives and Issues in Machine
Learning
• ISSUES:
• What algorithms exist for learning general target functions from
specific training examples?
• How much training data is sufficient?
• When and how can prior knowledge held by the learner guide the
process of generalizing from examples?
• What is the best strategy for choosing a useful next training
experience, and how does the choice of this strategy alter the
complexity of the learning problem?
• What is the best way to reduce the learning task to one or more
function approximation problems?
• How can the learner automatically alter its representation to improve
its ability to represent and learn the target function?
Introduction to Concept Learning and the
General-to-Specific Ordering
• Concepts or Categories
– “birds”
– “car”
– “situations in which I should study more in order
to pass the exam”
– Concept
• some subset of objects or events defined over a larger
set, or a boolean valued function defined over this
larger set.
– Learning
• inducing general functions from specific training
examples
– Concept Learning
• acquiring the definition of a general category given a
sample of positive and negative training examples of
the category
A Concept Learning Task
• Target Concept
– “days on which Aldo enjoys water sport”
• Hypothesis
– vector of 6 constraints (Sky, AirTemp, Humidity,
Wind, Water, Forecast, EnjoySport )
– Each attribute (“?”, single value or “0”)
– e.g. <?, Cold, High, ?, ?, ?>
• Training examples for the target concept
EnjoySport
• Condition: airtemp cold and humidity high
• Eg:Test DS<?, sunny, cold, high, low, warm, same, yes>