예제 #1
0
 def __init__(self, df, predict_ahead, fare, predictant, p, d, q):
     DataProcessing.__init__(self, df, fare)
     self.predict_ahead = predict_ahead
     self.predictant = predictant
     self.train, self.test = self.train_test_split()
     self.p = p
     self.q = q
     self.d = d
     self.rmse, self.mape = self.model()
예제 #2
0
 def __init__(self, df, predict_ahead, fare, predictant, NFILTERS,
              BATCH_SIZE, NB_EPOCHS):
     DataProcessing.__init__(self, df, fare)
     self.predict_ahead = predict_ahead
     self.predictant = predictant
     self.train, self.test, self.scaler = self.train_test_split()
     self.NFILTERS = NFILTERS
     self.NB_EPOCHS = NB_EPOCHS
     self.BATCH_SIZE = BATCH_SIZE
     self.rmse, self.mape = self.model()