biolab / orange3-timeseries

🍊 :chart_with_upwards_trend: Orange add-on for analyzing, visualizing, manipulating, and forecasting time series data.
Other
62 stars 41 forks source link

Seasonal Adjustment error - Variable Date is not in domain #281

Open DG2DATA opened 5 months ago

DG2DATA commented 5 months ago

What's wrong?

Hi All, I set the following steps but I have an error at the end (Variable Date is not in domain):

image

Yahoo Finance

image

Select Columns

image

Form Timeseries

image

Seasonal Adjustment

image

How can we reproduce the problem?

Please see the steps reported above.

What's your environment?

jolo-maker commented 3 months ago

Same issue with Seasonal Adjustment widget on OS X: 'Variable Month is not in domain'. Orange version 3.36 TimeSeries-addon 0.6.3

Scherm­afbeelding 2024-08-22 om 13 48 24

curry201205 commented 3 months ago

image after file widget, edit domain widget add and edit domain, this error not happened. why?

jolo-maker commented 2 months ago

Inserting an Edit Domain widget does not help. Did you select one of the features for seasonal adjustment in the Seasonal Adjustment widget? Without a selection of a feature everything passes through unchanged, but we want to see the breaking down into trend, season and residual line plots right? https://orangedatamining.com/widget-catalog/time-series/seasonal_adjustment/

curry201205 commented 2 months ago

Edit Domain widget add, and change variable name . That variable type is time. Then this error not happened on my case. Why?

curry201205 commented 2 months ago

Originally, I was reading in data without headers using the "File" widget and performing seasonal adjustment processing. The data consisted of two columns: one with the date and time recorded as features, and the other being the target data. Since there were no headers, I changed the variable names using the "Edit Domain" widget partway through. At that time, I was able to perform seasonal adjustment without any issues.

However, when I tried to perform seasonal adjustment on data with column names added as headers, I encountered an error saying "variable ●● is not domain," and I was no longer able to perform the seasonal adjustment.

jolo-maker commented 2 months ago

Yes! Changing the time variable name in the Edit Domain does the trick! Unclear to me is why this is the case but the most important thing is that it works now, see picture. Thanks! Scherm­afbeelding 2024-09-04 om 09 44 36

DG2DATA commented 2 months ago

Following your advices, the flow now works! Thanks, @curry201205 and @jolo-maker.