Not documented
A class representing multiple result of classification process(es).
Code author: Norman Koester <nkoester@techfak.uni-bielefeld.de>
Type : | array of rst.classification.ClassificationResult |
---|
A vector of results holding multiple classification results.
The results inside should be a merged representation and not contradict each other w.r.t. the individual classes.
Empty collection of boxes is allowed. The order of box objects is not significant.
message ClassificationResults {
/**
* A vector of results holding multiple classification results.
*
* The results inside should be a merged representation and not
* contradict each other w.r.t. the individual classes.
*
* Empty collection of boxes is allowed.
* The order of box objects is not significant.
*/
repeated ClassificationResult classes = 1;
}
A class representing the result of a classification process.
An example of such a result could be the output of an SVM-based classifier.
In the simplest form, only the name of a decided class is given. However, it is also possible to give the whole vector of possible classes with their probabilities.
Code author: Johannes Wienke <jwienke@techfak.uni-bielefeld.de>
Type : | OCTET-VECTOR |
---|
A shortcut to get the most likely class easily.
This needs to be an ASCII string.
Type : | array of rst.classification.ClassificationResult.ClassWithProbability |
---|
The complete vector of classes with their probabilities if suitable.
The results in this vector should of cause not contradict decided_class.
message ClassificationResult {
/**
* A shortcut to get the most likely class easily.
*
* This needs to be an ASCII string.
*/
required bytes decided_class = 1;
/**
* TODO
*/
message ClassWithProbability {
/**
* Name of the class (ASCII string).
*/
required bytes name = 1;
/**
* Some kind of confidence, values are application dependent.
*
* However, values summing up to 1 are preferred.
*/
// @unit(TODO)
required float confidence = 2;
}
/**
* The complete vector of classes with their probabilities if
* suitable.
*
* The results in this vector should of cause not contradict
* decided_class.
*/
repeated ClassWithProbability classes = 2;
}
message ClassWithProbability {
/**
* Name of the class (ASCII string).
*/
required bytes name = 1;
/**
* Some kind of confidence, values are application dependent.
*
* However, values summing up to 1 are preferred.
*/
// @unit(TODO)
required float confidence = 2;
}
Enter search terms or a module, class or function name.