aimclub / FEDOT

Automated modeling and machine learning framework FEDOT
https://fedot.readthedocs.io
BSD 3-Clause "New" or "Revised" License
636 stars 86 forks source link

Forecast length overwriting in Fedot API #1218

Open valer1435 opened 10 months ago

valer1435 commented 10 months ago

If we would provide InputData with parameter forecast_length in task_params and wouldn't provide the same task to API, Fedot will faшl with exception Metric can not be evaluated because of: Found input variables with inconsistent numbers of samples: [28, 60] (for example). That means that somewhere values from InputData are overwritten by default (I assume). Need to figure out what's wrong and fix this unexpected behaviour

valer1435 commented 10 months ago

Example https://github.com/aimclub/FEDOT/blob/master/examples/simple/time_series_forecasting/api_forecasting.py

Error will appear if delete this parameter https://github.com/aimclub/FEDOT/blob/master/examples/simple/time_series_forecasting/api_forecasting.py#L40

zerofivefiveseven commented 10 months ago

Since I don't have access: I take this task

nicl-nno commented 10 months ago

Обеспечил доступом.