Esempio n. 1
0
 def __init__(self, validation_size=240):
     self.validation_size = validation_size
     self.algo = forecast.ForecastAlgorithms(samples=500)
     self.naivegbm = NaiveGBMEstimator(validation_size=validation_size)
     self.argbm = ArGBMEstimator(validation_size=validation_size)
     self.armagbm = ArmaGBMEstimator(validation_size=validation_size)
     self.arimagbm = ArimaGBMEstimator(validation_size=validation_size)
     self.etsgbm = EtsGBMEstimator(validation_size=validation_size)
Esempio n. 2
0
 def __init__(self, validation_size=240):
     self.validation_size = validation_size
     self.algo = forecast.ForecastAlgorithms(samples=500)
     self.gbm = lgb.LGBMRegressor(objective='regression_l1')
Esempio n. 3
0
 def __init__(self):
     self.algo = forecast.ForecastAlgorithms(samples=500)
Esempio n. 4
0
 def __init__(self, nbags=10, samples_frac=0.6):
     # nbags = 10
     # samples_frac = 60% of training samples
     self.nbags = nbags
     self.samples_frac = samples_frac
     self.algo = forecast.ForecastAlgorithms(samples=500)