Searched refs:num_examples (Results 1 - 2 of 2) sorted by relevance

/frameworks/ml/bordeaux/learning/multiclass_pa/native/
H A Dmulticlass_pa.cpp64 int MulticlassPA::PickAnExample(int num_examples) { argument
65 return static_cast<int>(RandFloat() * num_examples);
173 int num_examples = data.size(); local
176 int index = PickAnExample(num_examples);
186 int num_examples = data.size(); local
189 int index = PickAnExample(num_examples);
225 int num_examples = data.size(); local
227 for (int t = 0; t < num_examples; ++t) {
233 return total_error / num_examples;
238 int num_examples local
[all...]
H A Dmulticlass_pa.h45 int PickAnExample(int num_examples);

Completed in 54 milliseconds