Java* API Reference for Intel® Data Analytics Acceleration Library 2019 Update 5
Class for building model of the multi-class classifier algorithm More...
| ModelBuilder | ( | DaalContext | context, |
| TrainingMethod | method, | ||
| long | nFeatures, | ||
| long | nClasses | ||
| ) |
Constructs the multi class classifier model builder
| context | Context to manage multi-class classifier model builder |
| nFeatures | Number of features |
| nClasses | Number of classes |
| void setTwoClassClassifierModel | ( | long | negativeClassIdx, |
| long | positiveClassIdx, | ||
| com.intel.daal.algorithms.classifier.Model | model | ||
| ) |
Set two-class classifier model into a multi-class classifier model
| negativeClassIdx | Index of negative class for one vs one classification algorithm |
| positiveClassIdx | Index of positive class for one vs one classification algorithm |
| model | Two-class classifier model to add into collection |
Computation method for the algorithm
For more complete information about compiler optimizations, see our Optimization Notice.