ZGen
0.2.0
a linearization system for natural language.
|
#include <param.h>
Public Member Functions | |
Parameter () | |
Parameter (floatval_t _w, floatval_t _w_sum, floatval_t _w_time) | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
floatval_t | dot (bool avg) |
void | add (int now, floatval_t scale) |
void | flush (int now) |
Public Attributes | |
floatval_t | w |
floatval_t | w_sum |
int | w_time |
Friends | |
class | boost::serialization::access |
It's a parameter class that support recording the updated time and averaged parameter.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
floatval_t ZGen::MachineLearning::Perceptron::Parameter::w |
floatval_t ZGen::MachineLearning::Perceptron::Parameter::w_sum |
int ZGen::MachineLearning::Perceptron::Parameter::w_time |