Types of machine
learning
Types of Machine Learning
Mobile banking
Unsupervised Learning
Reinforcement Learning
Supervised Learning
Decision Tree
Decision Tree
●Adecisiontreeisatypeofsupervisedmachinelearningusedtocategorizeor
makepredictionsbasedonhowaprevioussetofquestionswereanswered.
●Themodelisaformofsupervisedlearning,meaningthatthemodelistrainedand
testedonasetofdatathatcontainsthedesiredcategorization.
●Decisiontreesimitatehumanthinking,soit’sgenerallyeasyfordatascientiststo
understandandinterprettheresults.
Decision Tree Terminologies
Decision Tree Example
Decision Tree Example
Random Forest
●ARandomForestAlgorithmisasupervisedmachinelearningalgorithmthatis
extremelypopularandisusedforClassificationandRegressionproblemsin
MachineLearning.
●The“forest”itbuildsisanensembleofdecisiontrees,usuallytrainedwiththe
baggingmethod.Thegeneralideaofthebaggingmethodisthatacombinationof
learningmodelsincreasestheoverallresult.
●RandomForestbuildsmultipledecisiontreesandmergesthemtogethertogeta
moreaccurateandstableprediction.
Working of Random Forest Algorithm
01Select random samples from a given data or training set.
02
This algorithm will construct a decision tree for every
training data.
03Voting will take place by averaging the decision tree.
04
Finally, select the most voted prediction result as the
final prediction result.
Working of Random Forest Algorithm
Random Forest Example
CONDITION
Colour== Red ?
Diameter == 3
Colour== Orange?
Diameter == 1
TRAINING DATASET
COLOR DIAMETER LABEL
Red 3 Apple
Red 1 Cherry
Red 3 Apple
Orange 3 Orange
Red 1 Cherry
Random Forest Example
Determine the name of the fruit ?
Random Forest Example
Random Forest Example
Why Random Forest ?
Applications of Random Forest
04Healthcare
03
Customer Churn
Prediction
02
Image and Speech
Recognition
01Anomaly Detection
Applications of
Random Forest