void useStream(IOStream &stream)
Definition: ofApp.cpp:2692
Functions for specifying parameters that can be tuned by the user.
void useTrainingDataAdvice(string advice)
Provide the user with custom advice on collecting training data.
Definition: ofApp.cpp:2706
Calibrator calibrator
Definition: user_accelerometer_gestures.cpp:8
Definition: Filter.cpp:23
Base class for output streams that forward ESP prediction results to other systems.
Definition: ostream.h:43
Specifies data samples and code used to calibrate incoming sensor data.
Definition: calibrator.h:121
TrainingSampleCheckerResult(* TrainingSampleChecker)(const GRT::MatrixDouble &)
function that takes a constant reference to a GRT MatrixDouble and returns a TrainingSampleCheckerRes...
Definition: training.h:54
VectorDouble threshold(VectorDouble in)
Definition: user_accelerometer_walk_detection.cpp:79
void useTrainingSampleChecker(TrainingSampleChecker checker)
Register a function for checking training samples.
Definition: ofApp.cpp:2702
ASCIISerialStream stream(115200, 3)
GestureRecognitionPipeline pipeline
Definition: user_accelerometer_gestures.cpp:7
Base class for output streams that forward ESP pipeline output to other systems.
Definition: ostream.h:60
void useLeaveOneOutScoring(bool enable=true)
Whether or not to do leave-one-out scoring of training data.
Definition: ofApp.cpp:2710
void setFalseNegativeWarningThreshold(double threshold)
Only warn (highlight the confusion score) if the false negative rate is larger than the threshold...
Definition: ofApp.cpp:2718
void usePipeline(GRT::GestureRecognitionPipeline &pipeline)
Definition: ofApp.cpp:2680
void setGUIBufferSize(uint32_t buffer_size)
Definition: ofApp.cpp:2688
void useOutputStream(OStream &stream)
Specify an OStream to which to stream predictions made by the active ESP pipeline. Multiple output streams are supported.
Definition: ofApp.cpp:2672
void setTruePositiveWarningThreshold(double threshold)
Only warn (highlight the confusion score) if the true positive rate is smaller than the threshold...
Definition: ofApp.cpp:2714
void useCalibrator(Calibrator &calibrator)
Specify the Calibrator to be used by the ESP system.
Definition: ofApp.cpp:2684
void useInputStream(InputStream &stream)
Definition: ofApp.cpp:2668