Geocene / trainset

A lightweight web application for brushing labels onto time series data; useful for building training sets.
https://trainset.geocene.com/
MIT License
162 stars 36 forks source link

Plot all series at the same time #140

Closed uselessgames closed 1 year ago

uselessgames commented 1 year ago

nice tool.

wondering if there is a way to view more than two series at the same time? couldnt see in the online demo.

my example dataset

series,timestamp,value,label,
series_a,2019-01-14T16:26:37.000Z,15,
series_b,2019-01-14T16:26:37.000Z,14,
series_c,2019-01-14T16:26:37.000Z,16,
series_d,2019-01-14T16:26:37.000Z,13,
series_e,2019-01-14T16:26:37.000Z,10,
series_f,2019-01-14T16:26:37.000Z,10,
series_a,2019-01-14T16:26:37.100Z,5,
series_b,2019-01-14T16:26:37.100Z,1,
series_c,2019-01-14T16:26:37.100Z,6,
series_d,2019-01-14T16:26:37.100Z,3,
series_e,2019-01-14T16:26:37.100Z,0,
series_f,2019-01-14T16:26:37.100Z,0,

...
khadijakhaldi commented 1 year ago

did you find an alternative solution for this ?

uselessgames commented 1 year ago

@khadijakhaldi yes, https://github.com/EtienneCmb/visbrain

daterdots commented 1 year ago

we never supported this feature primarily because it's cumbersome to fit >3 series on a plot if each of the 3 series has very different scales. For example:

With 2 series, we can pretty simply do a secondary y axis. Tertiary y axes etc. are possible, but we haven't built that yet. Maybe someone here wants to take that on?

khadijakhaldi commented 1 year ago

Thanks @daterdots for the reply! This feature will be useful in applications like anomaly detection in case we have multiple sensors. We need to visualize the state of each sensor at the same timestamp to annotate the anomalies.

uselessgames commented 1 year ago

we never supported this feature primarily because it's cumbersome to fit >3 series on a plot if each of the 3 series has very different scales. For example:

  • series_a has numbers from 0-1
  • series_b has numbers from 0-100
  • series_c has numbers from 1000-2000

With 2 series, we can pretty simply do a secondary y axis. Tertiary y axes etc. are possible, but we haven't built that yet. Maybe someone here wants to take that on?

why not make each channel have its own amplitude in the tool?

Thanks @daterdots for the reply! This feature will be useful in applications like anomaly detection in case we have multiple sensors. We need to visualize the state of each sensor at the same timestamp to annotate the anomalies.

we had same challenge, with visbrain we plot total 10 channels from 3 sensors with no problem.

khadijakhaldi commented 1 year ago

@uselessgames the documentation of visbrain http://visbrain.org/ seems not to work, not sure how I can annotate the data !

uselessgames commented 1 year ago

you need to create an issue in their repo, I am not the creator nor maintainer.

-------- Original Message -------- From: Khadija Khaldi @.> Sent: Mon Jul 24 16:06:40 GMT+02:00 2023 To: Geocene/trainset @.> Cc: uselessgames @.>, Mention @.> Subject: Re: [Geocene/trainset] Plot all series at the same time (Issue #140)

@uselessgames the documentation of visbrain http://visbrain.org/ seems not to work, not sure how I can annotate the data !

-- Reply to this email directly or view it on GitHub: https://github.com/Geocene/trainset/issues/140#issuecomment-1647988516 You are receiving this because you were mentioned.

Message ID: @.***>