neuralforecast icon indicating copy to clipboard operation
neuralforecast copied to clipboard

add option to remove windows with poor data quality

Open jasminerienecker opened this issue 7 months ago • 8 comments

This review adds the parameters data_availability_threshold (defaults to 0.0 to maintain currently functionality) to all models that inherit the BaseWindows class. This parameters allows us to discard windows where the percentage of good quality data points is below the threshold. The quality of a data point is determined by the corresponding value in the available_mask column.

This is a functionality I currently require as my dataset has many large gaps and I don't want to be training the model using these gaps.

I have added a test to the end of base_windows notebook.

jasminerienecker avatar Jul 09 '24 06:07 jasminerienecker