Skip to content

Timeseries data consistency #7

Open
@CrashLaker

Description

@CrashLaker

How to cope when shrinking a timeseries dataset?

I noticed that:
x = Array.apply(null, Array(y.length)).map(function (_, i) {return i;}) in index.html only gives us the indexes related to y`s length

I tried doing something like this but I doubt its correctness..

smooth_val = 100
var y = smooth(rsdata["values"], smooth_val)
step - Math.ceil(rsdata["timestamps"].length/smooth_val)
x = rsdata["timestamps"].filter((x,i) => i%step == 0)

does anyone have a solution?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions