geotab / curve Goto Github PK
View Code? Open in Web Editor NEWLicense: Mozilla Public License 2.0
License: Mozilla Public License 2.0
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.
Sidenote: If you want access to my code, I will add you to the repo.
FYI: @tguild
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.