Giter Site home page Giter Site logo

Comments (8)

irgolic avatar irgolic commented on May 23, 2024 1

I see. Plugging in what I did probably isn't too meaningful anyway, more than anything else, I was just confused as to why it was acting differently. It'd be nice if it sorted without As Timeseries too.

from orange3-timeseries.

ajdapretnar avatar ajdapretnar commented on May 23, 2024 1

@irgolic Perhaps rename the issue?

from orange3-timeseries.

irgolic avatar irgolic commented on May 23, 2024 1

Related: NaNs should be ignored when Data is converted to Timeseries, and in As Timeseries, a warning should be thrown instead of an error upon NaNs.

Ideally, a warning should be shown in any Timeseries widget if there's NaN values present in the time variable. What's the easiest way of implementing this across the add-on, without duplicating Warning code in each widget?

from orange3-timeseries.

kernc avatar kernc commented on May 23, 2024

Time series widgets should infer that 'As Timeseries' was supposed to be added in between,

This is the case.

and try to use the first datetime feature as the sequential attribute

This is the case.

or instance ordering if there's no datetime feature.

And this is not (yet).

IIRC, the widget is there exactly to make the choice of the temporal attribute convenient and explicit.

from orange3-timeseries.

ajdapretnar avatar ajdapretnar commented on May 23, 2024

I think it is necessary if there is more than one time variable or there is an non-explicit continuous variable with 'pseudotime'.

from orange3-timeseries.

irgolic avatar irgolic commented on May 23, 2024

Ah, I should've opened with the use case.

My dataset contains a couple of different sources merged together, so the timestamps are a bit jumbled. It seems the time delta isn't detected properly if I plug Data directly into a timeseries widget, but it works fine if I run it through As Timeseries.

from orange3-timeseries.

kernc avatar kernc commented on May 23, 2024

Yeah, in addition, the widget sorts:

ordered = np.argsort(values)
if (ordered != np.arange(len(ordered))).any():
data = data[ordered]

from orange3-timeseries.

ajdapretnar avatar ajdapretnar commented on May 23, 2024

Fixed via #95.

from orange3-timeseries.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.