Code Monkey home page Code Monkey logo

curve's People

Contributors

jthomas-geotab avatar yuhanlin-geotab avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

curve's Issues

Curve Logging output not expected for linear data

GOAL: apply curve logging to a time series of 10 data points.

CONTEXT: I am working on integrating curve-logging into the Fleet Management Blueprint, in order to do so I am retrieving data from the Kuksa.val databroker and then adapting them to be compliant for the curve logging to work properly.

EXPECTED OUTPUT: if the time series is greater than 3 points, the output should convey the same trend/shape/pattern with fewer points. From my perspective it is safe to assume that you would always have a returned reduced vector of at least 3 datapoints.

CURRENT OUTPUT: The current output is a vector with only one point.

For example, assuming a linear time series of 10 data points from 0.0 to 9.0 I would expect an output of the first point, the last and one in between (because it's linear). However, what I get as an output is only the last point.

Here you can see the output from the example you provide in the repo (scalar.rs). The only change is the data that was made linear for ease in debugging.

For instance, the real life example would equate to: a truck starts at 0 seconds at speed 0 and after 10 seconds of linear increment it arrives at 10mph. Before sending this information to our database we want to curve log it.

scalar.rs

Sidenote: If you want access to my code, I will add you to the repo.

FYI: @tguild

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.