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

| void make_gaussian_random | ( | float | mu, |
| float | sigma, | ||
| size_t | dim, | ||
| std::vector< double > & | v | ||
| ) |
Definition at line 29 of file regression_test_util.hpp.
Referenced by gen_random_data().

| void make_random | ( | size_t | dim, |
| std::vector< double > & | v | ||
| ) |
Definition at line 41 of file regression_test_util.hpp.
Referenced by gen_random_data().

1.8.9.1