\seekquarry\yioop\executablesClassifierTrainer

This class is used to finalize a classifier via the web interface.

Because finalizing involves training a logistic regression classifier on a potentially-large set of training examples, it can take much longer than would be allowed by the normal web execution time limit. So instead of trying to finalize a classifier directly in the controller that handles the web request, the controller kicks off a daemon that simply loads the classifier, finalizes it, and saves it back to disk.

The classifier to finalize is specified by its class label, passed as the second command-line argument. The following command would be used to run this script directly from the command-line:

$ php ClassifierTrainer.php terminal LABEL

Summary

Methods
Properties
Constants
start()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

start()

start() 

This is the function that should be called to get the ClassifierTrainer to start training a logistic regression instance for a particular classifier. The class label corresponding to the classifier to be finalized should be passed as the second command-line argument.