The m=√p rule for random forests
A couple of days ago, in our lab session, we discussed random forrests, and, since it was based on the example in ISLR, we had a quick discussion about the random choice of features, and the "[latex]m=\\sqrt{p}[/latex]" rule Interestingly, on that one, we can play a bit, and try all choices, and do it again, on a different train/test split, library(randomForest) library(ISLR2) set.seed(123) sim = function(t){ train = sample(nrow(Boston), size = nrow(Boston)*.7) subsim = function(i){ rf.boston...
Publication Details
- Journal
- Industrias Culturais (Universidade de Coimbra)
- Published
- 2024-10-19
- DOI
- https://doi.org/10.58079/12j90
- Primary Topic
- Theoretical and Computational Physics
- Type
- article
- Field-Weighted Citation Impact
- 0.00