Commit 49949aec authored by Davis King's avatar Davis King

minor cleanup

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404049
parent 47cfecb5
...@@ -84,14 +84,6 @@ namespace dlib ...@@ -84,14 +84,6 @@ namespace dlib
distinguish l1 labeled samples from l2 labeled samples. distinguish l1 labeled samples from l2 labeled samples.
!*/ !*/
struct invalid_label : public dlib::error
{
/*!
This is the exception thrown by the train() function below.
!*/
label_type l1, l2;
};
void be_verbose ( void be_verbose (
); );
/*! /*!
...@@ -107,6 +99,14 @@ namespace dlib ...@@ -107,6 +99,14 @@ namespace dlib
- this object will not print anything to standard out - this object will not print anything to standard out
!*/ !*/
struct invalid_label : public dlib::error
{
/*!
This is the exception thrown by the train() function below.
!*/
label_type l1, l2;
};
trained_function_type train ( trained_function_type train (
const std::vector<sample_type>& all_samples, const std::vector<sample_type>& all_samples,
const std::vector<label_type>& all_labels const std::vector<label_type>& all_labels
......
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