Professional Documents
Culture Documents
It Is A Graphical Representation For Getting All The Possible Solutions To A Problem/decision Based On Given Conditions
It Is A Graphical Representation For Getting All The Possible Solutions To A Problem/decision Based On Given Conditions
The linear regression model provides a sloped straight line In a Decision tree, there are two nodes, which are
representing the relationship between the variables. Consider the the Decision Node and Leaf Node. Decision nodes are
below image:
used to make any decision and have multiple branches,
whereas Leaf nodes are the output of those decisions and do
Linear Regression in Machine Learning
not contain any further branches.
Here,
It is a graphical representation for getting all the
Y= Dependent Variable (Target Variable)
possible solutions to a problem/decision based
X= Independent Variable (predictor Variable)
on given conditions.
algorithm:
A decision tree simply asks a question, and based on the
Simple Linear Regression: answer (Yes/No), it further split the tree into subtrees.
If a single independent variable is used to predict the value of a Below diagram explains the general structure of a decision
numerical dependent variable, then such a Linear Regression tree:
their performance. It enhances the accuracy of the model and prevents the
over tting issue.
Objective to decrease variance, not bias. Objective to decrease bias, Disadvantages of Random Forest
not variance. Although random forest can be used for both classi cation
and regression tasks, it is not more suitable for Regression
It is the easiest way of connecting predictions that belong to the same tasks.
step is to choose the optimized move using any representation Example: In Spam E-Mail detection,
i.e. using linear Equations, Hierarchical Graph Representation, Task, T: To classify mails into Spam or Not Spam.
Tabular form etc. The NextMove function will move the Target Performance measure, P: Total percent of mails being correctly
move like out of these move which will provide more success classi ed as being “Spam” or “Not Spam”.
rate. For Example : while playing chess machine have 4 possible Experience, E: Set of Mails with label “Spam”
moves, so the machine will choose that optimized move which Steps for Designing Learning System are:
algorithm so at that time it is not machine algorithm will fail or get Step 2- Choosing target function: The next important step is
success and again from that failure or success it will measure choosing the target function. It means according to the
while next move what step should be chosen and what is its knowledge fed to the algorithm the machine learning will
success rate.
choose NextMove function which will describe what type of
Step 5- Final Design: The nal design is created at last when legal moves should be taken. For example : While playing
system goes from number of examples , failures and success , chess with the opponent, when opponent will play then the
correct and incorrect decision and what will be the next step etc. machine learning algorithm will decide what be the number of
Example: DeepBlue is an intelligent computer which is ML- possible legal moves taken in order to get success.
based won chess game against the chess expert Garry Kasparov,
and it became the rst computer which had beaten a human
ti
fi
fi
fi
ti
fi
fi
fi
fi
ffi
fi
fi
fi
fi
fi
fi