Searched refs:MulticlassPA (Results 1 – 7 of 7) sorted by relevance
/frameworks/ml/bordeaux/learning/multiclass_pa/native/ |
D | multiclass_pa.cpp | 33 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 …]
|
D | util.cpp | 31 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()
|
D | multiclass_pa.h | 31 class MulticlassPA { 33 MulticlassPA(int num_classes, 36 virtual ~MulticlassPA();
|
D | util.h | 28 MulticlassPA* CreateMulticlassPA(const string& version,
|
/frameworks/ml/bordeaux/learning/multiclass_pa/jni/ |
D | jni_multiclass_pa.cpp | 22 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/ |
D | Learning_MulticlassPA.java | 19 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/ |
D | MulticlassPA.java | 24 public class MulticlassPA { class 26 public MulticlassPA(int numClasses, int numDimensions, float aggressiveness) { in MulticlassPA() method in MulticlassPA
|