ESP  0.1
The Example-based Sensor Predictions (ESP) system tries to bring machine learning to the maker community.
training.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <GRT/GRT.h>
4 
22  public:
23  enum Result {
27  };
28 
30  TrainingSampleCheckerResult(Result result, string message);
31 
32  Result getResult() const { return result_; }
33  string getMessage() const { return result_message_; }
34 
35  private:
36  Result result_;
37  string result_message_;
38 
39  static const string kDefaultSuccessMessage;
40  static const string kDefaultWarningMessage;
41  static const string kDefaultFailureMessage;
42 };
43 
55  const GRT::MatrixDouble&);
Result
Definition: training.h:23
Definition: training.h:24
TrainingSampleCheckerResult(* TrainingSampleChecker)(const GRT::MatrixDouble &)
function that takes a constant reference to a GRT MatrixDouble and returns a TrainingSampleCheckerRes...
Definition: training.h:54
Result getResult() const
Definition: training.h:32
Definition: training.h:26
Definition: training.h:25
TrainingSampleCheckerResult(Result result)
Definition: training.cpp:7
string getMessage() const
Definition: training.h:33
TrainingSampleCheckerResult indicates the result of a check of a training sample. ...
Definition: training.h:21