Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while fitting data #89

Open
Himank-K opened this issue Mar 9, 2022 · 0 comments
Open

Error while fitting data #89

Himank-K opened this issue Mar 9, 2022 · 0 comments

Comments

@Himank-K
Copy link

Himank-K commented Mar 9, 2022

  • scikit-hts version:
  • Python version:
  • Operating System:

Description

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'

What I Did

clf.fit(df, hierarchy)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant