intermediate backup
This commit is contained in:
22
optimizer/forecasting/base.py
Normal file
22
optimizer/forecasting/base.py
Normal file
@ -0,0 +1,22 @@
|
||||
# forecasting/base.py
|
||||
from typing import List, Dict, Any
|
||||
import pandas as pd
|
||||
import numpy as np
|
||||
|
||||
|
||||
class ForecastProvider:
|
||||
def get_forecasts(self,
|
||||
historical_data: pd.DataFrame,
|
||||
forecast_horizons: List[int],
|
||||
optimization_horizon: int) -> Dict[int, np.ndarray]:
|
||||
"""Returns forecasts for each requested horizon."""
|
||||
pass
|
||||
|
||||
def get_required_lookback(self) -> int:
|
||||
"""Returns the minimum number of historical data points required."""
|
||||
pass
|
||||
|
||||
def get_forecast_horizons(self) -> List[int]:
|
||||
"""Returns the list of forecast horizons."""
|
||||
pass
|
||||
|
Reference in New Issue
Block a user