CRFSuite trainer interface. More...
| Public Attributes | |
| void * | internal | 
| Pointer to the internal data (internal use only). | |
| int | nref | 
| Reference counter (internal use only). | |
| int(* | addref )(crfsuite_trainer_t *trainer) | 
| Increment the reference counter. | |
| int(* | release )(crfsuite_trainer_t *trainer) | 
| Decrement the reference counter. | |
| crfsuite_params_t *(* | params )(crfsuite_trainer_t *trainer) | 
| Obtain the pointer to crfsuite_params_t interface. | |
| void(* | set_message_callback )(crfsuite_trainer_t *trainer, void *user, crfsuite_logging_callback cbm) | 
| Set the callback function and user-defined data. | |
| int(* | train )(crfsuite_trainer_t *trainer, const crfsuite_data_t *data, const char *filename, int holdout) | 
| Start a training process. | |
CRFSuite trainer interface.
| int(* tag_crfsuite_trainer::addref)(crfsuite_trainer_t *trainer) | 
Increment the reference counter.
| trainer | The pointer to this trainer instance. | 
| crfsuite_params_t*(* tag_crfsuite_trainer::params)(crfsuite_trainer_t *trainer) | 
Obtain the pointer to crfsuite_params_t interface.
| trainer | The pointer to this trainer instance. | 
| int(* tag_crfsuite_trainer::release)(crfsuite_trainer_t *trainer) | 
Decrement the reference counter.
| trainer | The pointer to this trainer instance. | 
| void(* tag_crfsuite_trainer::set_message_callback)(crfsuite_trainer_t *trainer, void *user, crfsuite_logging_callback cbm) | 
Set the callback function and user-defined data.
| trainer | The pointer to this trainer instance. | 
| user | The pointer to the user-defined data. | 
| cbm | The pointer to the callback function. | 
| int(* tag_crfsuite_trainer::train)(crfsuite_trainer_t *trainer, const crfsuite_data_t *data, const char *filename, int holdout) | 
Start a training process.
| trainer | The pointer to this trainer instance. | 
| data | The poiinter to the data set. | 
| filename | The filename to which the trainer stores the model. If an empty string is specified, this function does not sture the model to a file. | 
| holdout | The holdout group. |