|
ESP
0.1
The Example-based Sensor Predictions (ESP) system tries to bring machine learning to the maker community.
|
#include <ESP.h>Functions | |
| vector< double > | zeroGs (3) |
| vector< double > | processAccelerometerData (vector< double > input) |
| CalibrateResult | calibrate (const MatrixDouble &data) |
| CalibrateResult | uprightDataCollected (const MatrixDouble &data) |
| CalibrateResult | upsideDownDataCollected (const MatrixDouble &data) |
| TrainingSampleCheckerResult | checkTrainingSample (const MatrixDouble &in) |
| void | updateVariability (double new_null_rej) |
| void | updateTimeout (int new_timeout) |
| void | setup () |
Variables | |
| ASCIISerialStream | stream (115200, 3) |
| GestureRecognitionPipeline | pipeline |
| Calibrator | calibrator |
| TcpOStream | oStream ("localhost", 5204) |
| MatrixDouble | uprightData |
| MatrixDouble | upsideDownData |
| bool | haveUprightData = false |
| bool | haveUpsideDownData = false |
| double | range |
| int | timeout = 500 |
| double | null_rej = 0.4 |
| CalibrateResult calibrate | ( | const MatrixDouble & | data | ) |
| TrainingSampleCheckerResult checkTrainingSample | ( | const MatrixDouble & | in | ) |
| vector<double> processAccelerometerData | ( | vector< double > | input | ) |
| void setup | ( | ) |
| void updateTimeout | ( | int | new_timeout | ) |
| void updateVariability | ( | double | new_null_rej | ) |
| CalibrateResult uprightDataCollected | ( | const MatrixDouble & | data | ) |
| CalibrateResult upsideDownDataCollected | ( | const MatrixDouble & | data | ) |
| vector<double> zeroGs | ( | 3 | ) |
| Calibrator calibrator |
| bool haveUprightData = false |
| bool haveUpsideDownData = false |
| double null_rej = 0.4 |
| TcpOStream oStream("localhost", 5204) |
| GestureRecognitionPipeline pipeline |
| double range |
| ASCIISerialStream stream(115200, 3) |
| int timeout = 500 |
| MatrixDouble uprightData |
| MatrixDouble upsideDownData |