public class Learning_StochasticLinearRanker
extends ILearning_StochasticLinearRanker.Stub
Modifier and Type | Class and Description |
---|---|
static interface |
IBordeauxLearner.ModelChangeCallback |
Constructor and Description |
---|
Learning_StochasticLinearRanker() |
Modifier and Type | Method and Description |
---|---|
IBinder |
getBinder() |
byte[] |
getModel() |
void |
ResetRanker() |
float |
ScoreSample(List<StringFloat> sample) |
boolean |
setModel(byte[] modelData) |
void |
setModelChangeCallback(IBordeauxLearner.ModelChangeCallback callback) |
boolean |
SetModelParameter(String key,
String value) |
boolean |
SetModelPriorWeight(List<StringFloat> sample) |
boolean |
UpdateClassifier(List<StringFloat> sample_1,
List<StringFloat> sample_2) |
public void ResetRanker()
public boolean UpdateClassifier(List<StringFloat> sample_1, List<StringFloat> sample_2)
public float ScoreSample(List<StringFloat> sample)
public boolean SetModelPriorWeight(List<StringFloat> sample)
public byte[] getModel()
public boolean setModel(byte[] modelData)
public IBinder getBinder()
public void setModelChangeCallback(IBordeauxLearner.ModelChangeCallback callback)