Commit ab8bfefa authored by Davis King's avatar Davis King

Renamed rand::float_1a to rand.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404251
parent 7cb946de
......@@ -239,7 +239,7 @@ void generate_data (
sample_type m;
dlib::rand::float_1a rnd;
dlib::rand rnd;
// add some points in the upper right quadrant
......
......@@ -320,7 +320,7 @@ void generate_concentric_circles (
samples.clear();
labels.clear();
dlib::rand::float_1a rnd;
dlib::rand rnd;
// make some samples near the origin
double radius = 1.0;
......
......@@ -61,7 +61,7 @@ int main()
sample_type m;
dlib::rand::float_1a rnd;
dlib::rand rnd;
// we will make 50 points from each class
const long num = 50;
......
......@@ -61,7 +61,7 @@ int main()
// faster filtering and won't introduce much error.
krls<kernel_type> test(kernel_type(0.05),0.001,7);
dlib::rand::float_1a rnd;
dlib::rand rnd;
// Now lets loop over a big range of values from the sinc() function. Each time
// adding some random noise to the data we send to the krls object for training.
......
......@@ -258,7 +258,7 @@ void test_manifold_regularization (
// ----------------------------------------------------------------------------------------
dlib::rand::float_1a rnd;
dlib::rand rnd;
void generate_circle (
std::vector<sample_type>& samples,
......
......@@ -165,7 +165,7 @@ void generate_data (
sample_type m;
dlib::rand::float_1a rnd;
dlib::rand rnd;
// make some samples near the origin
......
......@@ -32,7 +32,7 @@ using namespace dlib;
// ----------------------------------------------------------------------------------------
// This declares a random number generator that we will be using below
dlib::rand::float_1a rnd;
dlib::rand rnd;
// ----------------------------------------------------------------------------------------
......
......@@ -40,7 +40,7 @@ int main()
std::vector<sample_type> samples;
std::vector<double> labels;
dlib::rand::float_1a rnd;
dlib::rand rnd;
for (int x = -30; x <= 30; ++x)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment