Home
last modified time | relevance | path

Searched refs:classifier (Results 1 – 3 of 3) sorted by relevance

/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/jni/
Djni_stochastic_linear_ranker.cpp77 StochasticLinearRanker<string>* classifier = (StochasticLinearRanker<string>*) paPtr; in Java_android_bordeaux_learning_StochasticLinearRanker_nativeSetWeightClassifier() local
78 if (classifier && key_array_model && value_array_model && normalizer_model) { in Java_android_bordeaux_learning_StochasticLinearRanker_nativeSetWeightClassifier()
87 classifier->LoadWeights(model); in Java_android_bordeaux_learning_StochasticLinearRanker_nativeSetWeightClassifier()
102 StochasticLinearRanker<string>* classifier = (StochasticLinearRanker<string>*) paPtr; in Java_android_bordeaux_learning_StochasticLinearRanker_nativeSetParameterClassifier() local
109 classifier->SetIterationNumber((uint64) v); in Java_android_bordeaux_learning_StochasticLinearRanker_nativeSetParameterClassifier()
114 classifier->SetNormConstraint((double) v); in Java_android_bordeaux_learning_StochasticLinearRanker_nativeSetParameterClassifier()
119 classifier->SetRegularizationType(learning_stochastic_linear::L0); in Java_android_bordeaux_learning_StochasticLinearRanker_nativeSetParameterClassifier()
121 classifier->SetRegularizationType(learning_stochastic_linear::L1); in Java_android_bordeaux_learning_StochasticLinearRanker_nativeSetParameterClassifier()
123 classifier->SetRegularizationType(learning_stochastic_linear::L2); in Java_android_bordeaux_learning_StochasticLinearRanker_nativeSetParameterClassifier()
125 classifier->SetRegularizationType(learning_stochastic_linear::L1L2); in Java_android_bordeaux_learning_StochasticLinearRanker_nativeSetParameterClassifier()
[all …]
/frameworks/ml/bordeaux/learning/multiclass_pa/jni/
Djni_multiclass_pa.cpp41 MulticlassPA* classifier = new MulticlassPA(num_classes, in Java_android_bordeaux_learning_MulticlassPA_initNativeClassifier() local
44 return ((jint) classifier); in Java_android_bordeaux_learning_MulticlassPA_initNativeClassifier()
51 MulticlassPA* classifier = (MulticlassPA*) paPtr; in Java_android_bordeaux_learning_MulticlassPA_deleteNativeClassifier() local
52 delete classifier; in Java_android_bordeaux_learning_MulticlassPA_deleteNativeClassifier()
62 MulticlassPA* classifier = (MulticlassPA*) paPtr; in Java_android_bordeaux_learning_MulticlassPA_nativeSparseTrainOneExample() local
64 if (classifier && index_array && value_array) { in Java_android_bordeaux_learning_MulticlassPA_nativeSparseTrainOneExample()
75 classifier->SparseTrainOneExample(inputs, target); in Java_android_bordeaux_learning_MulticlassPA_nativeSparseTrainOneExample()
95 MulticlassPA* classifier = (MulticlassPA*) paPtr; in Java_android_bordeaux_learning_MulticlassPA_nativeSparseGetClass() local
97 if (classifier && index_array && value_array) { in Java_android_bordeaux_learning_MulticlassPA_nativeSparseGetClass()
109 return classifier->SparseGetClass(inputs); in Java_android_bordeaux_learning_MulticlassPA_nativeSparseGetClass()
/frameworks/base/core/java/android/gesture/
DGestureStore.java307 final Learner classifier = mClassifier; in readFormatV1() local
324 classifier.addInstance( in readFormatV1()