bc4a5f5d29bb5a74d9cb254ff4dfed916676c8aa,pmdarima/model_selection/_split.py,RollingForecastCV,_iter_train_test_indices,#RollingForecastCV#Any#Any#,154
Before Change
// guarantee that the forecasting horizon will not over-index the series
for train_step_size in range(0, n_samples - h - initial, step):
train_size = initial + train_step_size
train_indices = np.arange(train_size)
test_index = train_indices[-1] + h
yield train_indices, test_index
After Change
// Determine the number of iterations that will take place. Must
// guarantee that the forecasting horizon will not over-index the series
all_indices = np.arange(n_samples)
for train_step_size in range(0, n_samples - h - initial, step):
train_size = initial + train_step_size
train_indices = all_indices[:train_size]
test_indices = all_indices[train_size: train_size + h]
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances Project Name: tgsmith61591/pmdarima
Commit Name: bc4a5f5d29bb5a74d9cb254ff4dfed916676c8aa
Time: 2019-11-01
Author: tgsmith61591@gmail.com
File Name: pmdarima/model_selection/_split.py
Class Name: RollingForecastCV
Method Name: _iter_train_test_indices
Project Name: brainiak/brainiak
Commit Name: 8a6ecfdb1759ad2f67492a983ec5f90b5c5dd3ae
Time: 2017-08-30
Author: lcnature@users.noreply.github.com
File Name: brainiak/reprsimil/brsa.py
Class Name: GBRSA
Method Name: _set_SNR_grids
Project Name: grrrr/nsgt
Commit Name: d6df6857ff7493bfb4818241cf5edb30fe751e97
Time: 2011-03-30
Author: gr@grrrr.org
File Name: src/nsgtf.py
Class Name:
Method Name: nsgtf