Open Himank-K opened 2 years ago
Trying to fit a dataset. dataset is structured properly, as hierarchy tree is properly built
(
ht = hts.hierarchy.HierarchyTree.from_nodes(nodes=hierarchy, df=df)
does not give any error and the tree is built properly how I want.)
No error while defining the model either. (
clf = HTSRegressor(model='prophet', revision_method='BU', n_jobs=2)
gives no error)
But when I try to fit my data, it throws AttributeError saying: 'NoneType' object has no attribute 'fit'
clf.fit(df, hierarchy)
Description
Trying to fit a dataset. dataset is structured properly, as hierarchy tree is properly built
(
does not give any error and the tree is built properly how I want.)
No error while defining the model either. (
gives no error)
But when I try to fit my data, it throws AttributeError saying: 'NoneType' object has no attribute 'fit'
What I Did