Krystian W.
07/22/2024, 10:42 AMmlforecast/distributed/forecast.py", line 795, in combine_target_tfms [part[i] for part in by_partition] for i in range(len(by_partition[0])) TypeError: object of type 'NoneType' has no len()
José Morales
07/22/2024, 3:56 PMKrystian W.
07/22/2024, 3:57 PMJosé Morales
07/22/2024, 3:57 PMKrystian W.
07/22/2024, 3:57 PMKrystian W.
07/22/2024, 3:58 PMKrystian W.
07/22/2024, 3:58 PMJosé Morales
07/22/2024, 4:03 PMfrom mlforecast.target_transforms import GlobalSklearnTransformer
from sklearn.preprocessing import FunctionTransformer
dummy_tfm = GlobalSklearnTransformer(FunctionTransformer())
fcst = DistributedMLForecast(..., target_transforms=[dummy_tfm])
That'll just apply the identity and should work while we fix the issueKrystian W.
07/22/2024, 4:39 PM