Random Forest with bootstrap = False in scikit-learn python
<p>What does RandomForestClassifier() do if we choose bootstrap = False?</p>

<p>According to the definition in this link </p>

<p><a href="http://scikit-learn.org/stable/modules/generated/sklearn.ensemble.RandomForestClassifier.html#sklearn.ensemble.RandomForestClassifier" rel="noreferrer">http://scikit-learn.org/stable/modules/generated/sklearn.ensemble.RandomForestClassifier.html#sklearn.ensemble.RandomForestClassifier</a></p>

<blockquote>
  <p>bootstrap : boolean, optional (default=True) Whether bootstrap samples
  are used when building trees.</p>
</blockquote>

<p>Asking this because I want to use a Random Forest approach to a time series, so train with a rolling window of size (t-n) and predict date (t+k) and wanted to know if this is what would happen if we choose True or False:</p>

<p>1) If <code>Bootstrap = True</code>, so when training samples can be of any day and of any number of features. So for example can have samples from day (t-15), day (t-19) and day (t-35) each one with randomly chosen features and then predict the output of date (t+1). </p>

<p>2) If <code>Bootstrap = False</code>, its going to use all the samples and all the features from date (t-n) to t, to train, so its actually going to respect the dates order (meaning its going to use t-35, t-34, t-33... etc until t-1).  And then will predict output of date (t+1). </p>

<p>If this is how Bootstrap works I would be inclined to use Boostrap = False, as if not it would be a bit strange (think of financial series) to just ignore the consecutive days returns and jump from day t-39 to t-19 and then to day t-15 to predict day t+1. We would be missing all the info between those days. </p>

<p>So... is this how Bootstrap works?</p>