Lines Matching refs:num_examples
64 int MulticlassPA::PickAnExample(int num_examples) {
65 return static_cast<int>(RandFloat() * num_examples);
173 int num_examples = data.size();
176 int index = PickAnExample(num_examples);
186 int num_examples = data.size();
189 int index = PickAnExample(num_examples);
225 int num_examples = data.size();
227 for (int t = 0; t < num_examples; ++t) {
233 return total_error / num_examples;
238 int num_examples = data.size();
240 for (int t = 0; t < num_examples; ++t) {
246 return total_error / num_examples;