jubatus_core
0.1.2
Jubatus: Online machine learning framework for distributed environment
|
#include <algorithm>
#include <cstdlib>
#include <cmath>
#include <cfloat>
#include <string>
#include <utility>
#include <vector>
#include "jubatus/util/math/random.h"
Go to the source code of this file.
Functions | |
std::pair< std::string, std::vector< double > > | gen_random_data (jubatus::util::math::random::mtrand &rand) |
std::pair< std::string, std::vector< double > > | gen_random_data3 (jubatus::util::math::random::mtrand &rand) |
void | make_random (jubatus::util::math::random::mtrand &rand, float mu, float sigma, size_t dim, std::vector< double > &v) |
void | make_random (jubatus::util::math::random::mtrand &rand, const std::vector< float > &mus, float sigma, size_t dim, std::vector< double > &v) |
std::pair<std::string, std::vector<double> > gen_random_data | ( | jubatus::util::math::random::mtrand & | rand | ) |
Definition at line 54 of file classifier_test_util.hpp.
References make_random().
std::pair<std::string, std::vector<double> > gen_random_data3 | ( | jubatus::util::math::random::mtrand & | rand | ) |
Definition at line 74 of file classifier_test_util.hpp.
References make_random().
void make_random | ( | jubatus::util::math::random::mtrand & | rand, |
float | mu, | ||
float | sigma, | ||
size_t | dim, | ||
std::vector< double > & | v | ||
) |
Definition at line 30 of file classifier_test_util.hpp.
Referenced by gen_random_data(), and gen_random_data3().
void make_random | ( | jubatus::util::math::random::mtrand & | rand, |
const std::vector< float > & | mus, | ||
float | sigma, | ||
size_t | dim, | ||
std::vector< double > & | v | ||
) |
Definition at line 42 of file classifier_test_util.hpp.