Skip to content

n_samples changes the shape of plot #15

@giangbang

Description

@giangbang

Hello @wookayin , i'm using expt in one of my project and i have recently noticed probably a bug when plotting learning results of RL agent. Here is the image of the plot, both are actually using the same data, the only difference is the value of n_sample. There is a drop in performance in the left but by merely changing sample frequency eliminates it. I suspect that the problem is that interpolation is carried out first before the rolling step, and weird things can happen when the sampling frequency has something to do with the frequency of data, which can be the case in some rare situation.
image

The code for reproducing the plot can be found in here.

(I'm using the latest commit of expt.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions