What are Random forests ?

An introduction to machine learning algorithms

A random forest is also one of the most popular algorithms in the field of machine learning in this article I would be introducing you to random forest and how they work

Random forest is a flexible, easy-to-use machine learning algorithm that produces a great result most of the time. because of its simplicity and diversity.

random forest is a part of supervised machine learning algorithm which is based on decision tree algorithms .in simple a language, you can say random forest are a collection of decision tree

difference between random forest classifier and decision trees

sometimes when trees can go deep so it can lead to a problem called overfitting so here comes random forest to rescue it prevents decision trees to do that and it can be more accurate and precise

now let’s see a real-life example

suppose there is a data set x

so now in the given figure

as you can see the dataset first is divided into 4 parts and the 4 parts are further customized into decision trees now we have 4 decision trees and now the model will take all cases into the mind and check all of the above outcomes the model will calculate the average for the trees and give you an more accurate prediction so as you can see this model is accurate in some cases because it takes an average

summary

in this article I have given you guys an introduction to what are random forests and how they work in the future article I would be publishing a project on these models

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Tracking and sustaining the performance of predictive models

Natural Langauge Processing

Face Detection with Python using Open CV

Deep Learning Recommendation Models (DLRM): A Deep Dive

How to Fool Recommender Systems?

A database of barcode-images for biodiversity

Machine Learning Made Easy Series -1

airML integration with NSpM

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Aviral Bhardwaj

Aviral Bhardwaj

writer

More from Medium

Machine Learning For Sentiment Analysis

Churn Modelling — Artificial Neural Network (ANN)

What is supervised learning and what are the different types of supervised learning algorithm?

Understanding classification and clustering in machine learning

XIMNET — Digital Agency — An illustration of MnM Home Whimsical Houses located in Kedah, Malaysia