Gap-filling in time series with gaps almost in the start
Created by: Dreamlone
In test_gapfilling_inverse_ridge_correct if you replace the arr_with_gaps
with arr_with_gaps = np.array([2, -100, 2, 3, 5, 6, 5, 4, 5, -100, 8, 7, -100, 9, 15, 10, 11, -100, -100, 50, -100, -100])
there will be an error
Consequently, the problem is in the handling of gaps that do not come first in the row, but a few elements after. There is a need to improve the gap-filling module