| Tanl Linguistic Pipeline |
Sparse Average Perceptron. More...
#include <ap.h>
Public Member Functions | |
| APS (int _Y_, int _X_) | |
| APS (std::istream &is) | |
| Load model from stream. | |
| void | update (X &x, unsigned yt, std::vector< unsigned > &E) |
| void | save (std::ostream &os) |
| Dump parameters to stream. | |
| bool | load (std::istream &is) |
| Load parameters from stream. | |
| size_t | size () |
Sparse Average Perceptron.
| bool APS::load | ( | std::istream & | is | ) | [virtual] |
| size_t APS::size | ( | ) | [inline, virtual] |
Reimplemented from AP.