3
votes
List of samples that each tree in a random forest is trained on in Scikit-Learn
I don't think it is possible to get it directly but we may utilize the random seed.
random_stateint, RandomState instance or None, default=None
Controls both the randomness of the bootstrapping of ...
2
votes
Accepted
nnet in caret. Bootstrapping or cross-validation?
There is a mistake in your train function. It should be trControl
not trainControl.
By default the train function doesn't do ...
1
vote
Model evaluation approach allowing manual experimentation without data leakage
Instead of splitting the data in two parts, train and test, you could split the data into more parts. Basically, every time you want to evaluate something you need data that is completely unseen.
1
vote
Accepted
Understanding bootstrapping in bias variance decomposition
In bootstrapping, the sampling is done with replacement. So although each sample is the same size as the original training set, it will contain some duplicated instances and omit other instances. This ...
1
vote
List of samples that each tree in a random forest is trained on in Scikit-Learn
It is possible, actually. The answer is not too different than the one given by @10xAI, but it is not trying to exploit the order of the random seeds implicitly, since it would break for parallel ...
1
vote
Resampling train and test data in R
Try using a different seed for each loop. You can do it like this.
...
1
vote
Perform bootstrapping of an ordinary linear regression model, using B=100 bootstrap resamples of my dataset, and getting RMSE
The following code will run Ordinary linear regression and ridge regression on B=100 different samples of Boston data set and calculate the RMSE on the test set for all 100 different test sets and ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
bootstraping × 21machine-learning × 7
r × 4
python × 3
cross-validation × 3
confidence × 3
dataset × 2
random-forest × 2
sampling × 2
cart × 2
neural-network × 1
classification × 1
nlp × 1
scikit-learn × 1
time-series × 1
clustering × 1
pandas × 1
reinforcement-learning × 1
forecasting × 1
variance × 1
scipy × 1
bias × 1
auc × 1
parameter-estimation × 1
aggregation × 1