#include <agent.h>
|
virtual | ~IAgent ()=default |
virtual auto | predict (const Input &input) -> Output=0 |
virtual void | train (const std::vector< Sample< Input, Output > > &samples, std::size_t epochs, double learning_rate, std::mt19937 &rng)=0 |
◆ ~IAgent()
template<typename Input, typename Output>
◆ predict()
template<typename Input, typename Output>
virtual auto common::IAgent< Input, Output >::predict |
( |
const Input & | input | ) |
-> Output |
|
pure virtual |
◆ train()
template<typename Input, typename Output>
virtual void common::IAgent< Input, Output >::train |
( |
const std::vector< Sample< Input, Output > > & | samples, |
|
|
std::size_t | epochs, |
|
|
double | learning_rate, |
|
|
std::mt19937 & | rng ) |
|
pure virtual |
The documentation for this class was generated from the following file: