Home
last modified time | relevance | path

Searched refs:MulticlassPA (Results 1 – 7 of 7) sorted by relevance

/frameworks/ml/bordeaux/learning/multiclass_pa/native/
Dmulticlass_pa.cpp33 MulticlassPA::MulticlassPA(int num_classes, in MulticlassPA() function in learningfw::MulticlassPA
42 MulticlassPA::~MulticlassPA() { in ~MulticlassPA()
45 void MulticlassPA::InitializeParameters() { in InitializeParameters()
55 int MulticlassPA::PickAClassExcept(int target) { in PickAClassExcept()
64 int MulticlassPA::PickAnExample(int num_examples) { in PickAnExample()
68 float MulticlassPA::Score(const vector<float>& inputs, in Score()
78 float MulticlassPA::SparseScore(const vector<pair<int, float> >& inputs, in SparseScore()
89 float MulticlassPA::L2NormSquare(const vector<float>& inputs) const { in L2NormSquare()
97 float MulticlassPA::SparseL2NormSquare( in SparseL2NormSquare()
106 float MulticlassPA::TrainOneExample(const vector<float>& inputs, int target) { in TrainOneExample()
[all …]
Dutil.cpp31 MulticlassPA* CreateMulticlassPA(const string& version, in CreateMulticlassPA()
35 MulticlassPA* machine = NULL; in CreateMulticlassPA()
37 machine = reinterpret_cast<MulticlassPA*>( in CreateMulticlassPA()
40 machine = reinterpret_cast<MulticlassPA*>( in CreateMulticlassPA()
43 machine = new MulticlassPA(num_classes, num_dimensions, aggressiveness); in CreateMulticlassPA()
45 machine = reinterpret_cast<MulticlassPA*>( in CreateMulticlassPA()
Dmulticlass_pa.h31 class MulticlassPA {
33 MulticlassPA(int num_classes,
36 virtual ~MulticlassPA();
Dutil.h28 MulticlassPA* CreateMulticlassPA(const string& version,
/frameworks/ml/bordeaux/learning/multiclass_pa/jni/
Djni_multiclass_pa.cpp22 using learningfw::MulticlassPA;
41 MulticlassPA* classifier = new MulticlassPA(num_classes, in Java_android_bordeaux_learning_MulticlassPA_initNativeClassifier()
51 MulticlassPA* classifier = (MulticlassPA*) paPtr; in Java_android_bordeaux_learning_MulticlassPA_deleteNativeClassifier()
62 MulticlassPA* classifier = (MulticlassPA*) paPtr; in Java_android_bordeaux_learning_MulticlassPA_nativeSparseTrainOneExample()
95 MulticlassPA* classifier = (MulticlassPA*) paPtr; in Java_android_bordeaux_learning_MulticlassPA_nativeSparseGetClass()
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
DLearning_MulticlassPA.java19 import android.bordeaux.learning.MulticlassPA;
27 private MulticlassPA mMulticlassPA_learner;
48 mMulticlassPA_learner = new MulticlassPA(2, 2, 0.001f); in Learning_MulticlassPA()
/frameworks/ml/bordeaux/learning/multiclass_pa/java/android/bordeaux/learning/
DMulticlassPA.java24 public class MulticlassPA { class
26 public MulticlassPA(int numClasses, int numDimensions, float aggressiveness) { in MulticlassPA() method in MulticlassPA