Last updated 10 months ago
LinearClassifierTrait provides a trait definition for linear classification problem.
LinearClassifierTrait
use orion::operators::ml::LinearClassificationTrait;
Orion supports currently only fixed point data types for LinearClassificationTrait.
LinearClassificationTrait
Fixed point (signed)
LinearClassifierTrait<FP8x23 | FP16x16 | FP64x64 | FP32x32>
linear_classifier.predict
Performs the linear classification.