Public Member Functions
Model Class Reference

#include <core.hh>

List of all members.

Public Member Functions

virtual std::vector< float > testInstance (const std::vector< float > &in)=0
virtual bool trainInstance (modelPair &instance)=0
virtual bool trainInstances (std::vector< modelPair > &instances)=0
virtual ~Model ()

Detailed Description

Interface for a model that predicts a vector of floats given a vector of floats as input.

Definition at line 280 of file core.hh.


Constructor & Destructor Documentation

virtual Model::~Model ( ) [inline, virtual]

Definition at line 291 of file core.hh.


Member Function Documentation

virtual std::vector<float> Model::testInstance ( const std::vector< float > &  in) [pure virtual]

Get the model's prediction for a given input

virtual bool Model::trainInstance ( modelPair instance) [pure virtual]

Train the model on a single training instance

virtual bool Model::trainInstances ( std::vector< modelPair > &  instances) [pure virtual]

Train the model on a vector of training instances


The documentation for this class was generated from the following file:


rl_common
Author(s):
autogenerated on Thu Jun 6 2019 22:00:08