On a given dataset would time taken to train n - random forest be equal to time taken to train n X Decision tree

0 votes
If we run both the models on a single core would the time taken for model to train be equal.
Jul 24, 2018 in Data Analytics by Anmol
• 1,780 points
613 views

1 answer to this question.

+1 vote
Best answer

No, the time to train the random forest and n - decision tree won't be same because random forest picks a subset of data or features or even both for each of the sub-tree, sometimes it might create some shallow (smaller) trees as well.

Hence time to train the random forest and decision tree won't be the same.

Further reading on the random forest: https://bit.ly/2u7erIB

answered Jul 24, 2018 by Abhi
• 3,720 points

selected Jul 24, 2018 by Anmol

Related Questions In Data Analytics

0 votes
1 answer

Building Random Forest on a data-set comprising of missing(NA) values

You have two options, either impute the ...READ MORE

answered Apr 3, 2018 in Data Analytics by Bharani
• 4,620 points
568 views
0 votes
1 answer

R language has several packages for solving a problem. How do you make a decision on which one is the best to use?

CRAN package ecosystem has more than 6000 ...READ MORE

answered Jun 5, 2018 in Data Analytics by zombie
• 3,790 points
465 views
0 votes
1 answer

How to sample n random rows per group in a dataframe?

You can assign a random ID to ...READ MORE

answered Jul 3, 2018 in Data Analytics by Sahiti
• 6,380 points
3,450 views
0 votes
1 answer
0 votes
1 answer

Python equivalent to replace function in R

There is actually a replace function in ...READ MORE

answered May 31, 2018 in Data Analytics by Bharani
• 4,620 points
615 views
+1 vote
1 answer

How to handle Nominal Data?

Nominal data is basically data which can ...READ MORE

answered Jul 24, 2018 in Data Analytics by Abhi
• 3,720 points
182 views
+2 votes
2 answers

How to handle outliers

There are multiple ways to handle outliers ...READ MORE

answered Jul 24, 2018 in Data Analytics by Abhi
• 3,720 points
190 views
0 votes
2 answers

Why should anyone learn Python instead of R for machine learning?

Machine learning is the latest technology everyone ...READ MORE

answered Apr 13, 2019 in Data Analytics by SA
• 1,050 points
330 views
0 votes
1 answer

Would time taken to train n-random forest be equal to n x (decision trees)

No, the time to train the random ...READ MORE

answered Aug 7, 2018 in Data Analytics by Abhi
• 3,720 points
132 views
0 votes
1 answer

How do you know which whether to apply supervised learning or unsupervised learning on a dataset

Supervised Learning is applied when we have ...READ MORE

answered Aug 21, 2018 in Data Analytics by Abhi
• 3,720 points
261 views