-
Notifications
You must be signed in to change notification settings - Fork 111
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 message when running the code. #63
Comments
Hi @peter308, are you able to provide your code? Thanks! |
Dear Joshwani I am just using your Juypter code in the example section " read example dataset into df convert time to ordinal create list of observation data create observations array (expected format for LPPLS observations) set the max number for searches to perform before giving-up instantiate a new LPPLS model with the Nasdaq Dot-com bubble dataset fit the model to the data and get back the params visualize the fit with kind regards, |
This error gets raised when you do not instantiate an object of a class before calling a class method. Try running the cell with:
before
|
Dear developer
When I try to run your code, it shows the below error message:
TypeError Traceback (most recent call last)
in ()
30 # fit the model to the data and get back the params
31
---> 32 tc, m, w, a, b, c, c1, c2, O, D = lppls_model.fit(MAX_SEARCHES)
33
34 # visualize the fit
TypeError: fit() missing 1 required positional argument: 'max_searches'
Can you help to solve it? Tks!
with regards,
Peter
The text was updated successfully, but these errors were encountered: