import matplotlib.pyplot as plt
import os
root_path = os.path.dirname(os.path.abspath('__file__'))
from variables import multi_step_lags
import sys
sys.path.append(root_path)
from models import multi_step_gbrt

if __name__ == '__main__':
    multi_step_gbrt(root_path=root_path,
                    station='Xianyang',
                    decomposer='ssa',
                    predict_pattern='forecast',
                    llags_dict=variables['lags_dict'],
                    model_id=1)
    plt.show()
Пример #2
0
import matplotlib.pyplot as plt
import os
root_path = os.path.dirname(os.path.abspath('__file__'))
from variables import multi_step_lags
import sys
sys.path.append(root_path)
from models import multi_step_gbrt

if __name__ == '__main__':
    multi_step_gbrt(root_path=root_path,
                    station='Zhangjiashan',
                    decomposer='eemd',
                    predict_pattern='forecast',
                    llags_dict=variables['lags_dict'],
                    model_id=1)
    plt.show()