mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Fixed tabbing.
--HG-- extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403260
This commit is contained in:
parent
4aebd6ac51
commit
cf156afa68
@ -164,7 +164,7 @@ int main()
|
|||||||
// with 2 rows and 16 columns where each column represents one of our points.
|
// with 2 rows and 16 columns where each column represents one of our points.
|
||||||
matrix<double> params = cartesian_product(logspace(log10(5.0), log10(1e-5), 4), // gamma parameter
|
matrix<double> params = cartesian_product(logspace(log10(5.0), log10(1e-5), 4), // gamma parameter
|
||||||
logspace(log10(max_nu), log10(1e-5), 4) // nu parameter
|
logspace(log10(max_nu), log10(1e-5), 4) // nu parameter
|
||||||
);
|
);
|
||||||
// As an aside, if you wanted to do a grid search over points of dimensionality more than two
|
// As an aside, if you wanted to do a grid search over points of dimensionality more than two
|
||||||
// you would just nest calls to cartesian_product(). You can also use linspace() to generate
|
// you would just nest calls to cartesian_product(). You can also use linspace() to generate
|
||||||
// linearly spaced points if that is more appropriate for the parameters you are working with.
|
// linearly spaced points if that is more appropriate for the parameters you are working with.
|
||||||
|
Loading…
Reference in New Issue
Block a user