rotario / arduinocurvefitting Goto Github PK
View Code? Open in Web Editor NEWFit polynomial curves to given points using least squares regression
License: MIT License
Fit polynomial curves to given points using least squares regression
License: MIT License
Hi,
Nice work, but it does not compile with Arduino IDE. Get all kind of errors:
printf for instance. These are relatively easy to overcome.
More serious are the errors in the ccp file eg: double T[maxOrder] = {0}; //Values to generate RHS of linear equation
etc
Any solution? Thankyo in advance
Is there a way to get more than 2 decimal places of resolution? I have noticed that the curve doesn't fit at higher orders because of the precision.
wanted to give a big thanks for putting together this library!
I included it in my esp8266 voltmeter (data logger) project and it improved the accuracy with very little extra effort on my part, just had to learn how to call your api - and that was pretty easy.
tiny suggestion: for things that are positive integers (like number of points), maybe make that more explicit that its unsigned int rather than it.
it would also be interesting to know what the memory needs/usage is, as you choose the number of points and order of the poly.
again, thanks for such a great contribution.
Hello
good work.
but can you add more tags in description. because I search for more than 1 week in arduino library and in google for "np.polyfit" and "polyfit" and not find anything
thank you al lot.
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.