public class BulkScorerFactory
extends java.lang.Object
Constructor and Description |
---|
BulkScorerFactory() |
Modifier and Type | Method and Description |
---|---|
static BulkSupportVectorScorer |
makeScorer(hex.genmodel.algos.psvm.KernelType kt,
hex.genmodel.algos.psvm.KernelParameters parms,
byte[] svs,
int svsCount,
boolean scoreRawBytes)
Creates an instance of BulkSupportVectorScorer.
|
public static BulkSupportVectorScorer makeScorer(hex.genmodel.algos.psvm.KernelType kt, hex.genmodel.algos.psvm.KernelParameters parms, byte[] svs, int svsCount, boolean scoreRawBytes)
kt
- type of kernelparms
- kernel parameterssvs
- compressed representation of the support vectorssvsCount
- number of support vectorsscoreRawBytes
- prefer a scorer that scores directly using the compressed vectors and doesn't allocate extra memory
(might not be available for all kernel types)