https://github.com/nixtla logo
p

Patrick

06/13/2023, 12:25 PM
I don’t understand why my chart Y-axis is like that, any hints?
🙌 1
k

Kin Gtz. Olivares

06/13/2023, 12:29 PM
Hey @Patrick , It seems that your signal is really stable. Have you tried using StatsForecast baseline models? https://nixtla.github.io/statsforecast/src/core/models.html#baseline-models
p

Patrick

06/13/2023, 12:29 PM
no, I am using the anomaly detection model
another one
k

Kin Gtz. Olivares

06/13/2023, 12:31 PM
You can use baselines for anomaly detection too.
p

Patrick

06/13/2023, 12:31 PM
ok, I am following the example basically.
I see that I need to change my whole approach again as it expects a numpydarray
Can you anyway answer the inital question? It’s not on me or whats the error there?
do i need more data?
more data leads to that
k

Kin Gtz. Olivares

06/13/2023, 12:36 PM
https://nixtla.github.io/statsforecast/src/core/models.html#mstl You might be able to try a simpler model for the trend instead of the underlying AutoETS, from your plots it is not very clear if you have seasonalities. I recommend you to start with a simpler model than MSTL.
p

Patrick

06/13/2023, 12:37 PM
ok anyway, why is the Y axis not correct? Can you spot any error?
Well the season_length is definitly not correct in my code. but this docu tbh is also not easy to read through woow
Trying to go thorugh it and it is pretty hard to get started here
🫠 2
k

Kin Gtz. Olivares

06/13/2023, 12:41 PM
We appreciate the comment and we are open to contributions :3
👍 1
p

Patrick

06/13/2023, 12:45 PM
do you have a discord or something for a voice chat?
not sure if this is a bug too: Probably the factory isn’t working? `
Copy code
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-154-3d17808d20b9> in <cell line: 1>()
----> 1 StatsForecast.forecast(h=48,df=filtered_df)

TypeError: StatsForecast.forecast() missing 1 required positional argument: 'self'
m

Max (Nixtla)

06/13/2023, 4:04 PM
@Patrick, which time zone are you in? Happy to jump into a call and help you out.
🙏 1
Well the season_length is definitly not correct in my code. but this docu tbh is also not easy to read through woow
We are sorry you had that experience, can you help us understand the parts that were not clear so we can improve them?
Regarding you initial question: • y should be the original value coming from your data. If the Y-Axis only shows values between 3,1,2 its probably because that is the data that you have. (To be clear, y is not applying any modification to your data frame) • Could you please validate your data by doing other plots (line or distributions) or even counting unique values?
p

Patrick

06/14/2023, 7:27 AM
Hi @Max (Nixtla) thanks for your response. I am in GMT+1 but am flexible. Hit me up when you’re free 🙂