#include <clsfy_binary_threshold_1d_builder.h>
Inheritance diagram for clsfy_binary_threshold_1d_builder:

Definition at line 18 of file clsfy_binary_threshold_1d_builder.h.
Public Member Functions | |
| clsfy_binary_threshold_1d_builder () | |
| virtual | ~clsfy_binary_threshold_1d_builder () |
| virtual clsfy_classifier_1d * | new_classifier () const |
| Create empty model. | |
| virtual double | build (clsfy_classifier_1d &classifier, const vnl_vector< double > &egs, const vnl_vector< double > &wts, const vcl_vector< unsigned > &outputs) const |
| Build a binary_threshold classifier. | |
| virtual double | build (clsfy_classifier_1d &classifier, vnl_vector< double > &egs0, vnl_vector< double > &wts0, vnl_vector< double > &egs1, vnl_vector< double > &wts1) const |
| Build a binary_threshold classifier. | |
| virtual double | build_from_sorted_data (clsfy_classifier_1d &classifier, const vbl_triple< double, int, int > *data, const vnl_vector< double > &wts) const |
| Train classifier, returning weighted error. | |
| virtual vcl_string | is_a () const |
| Name of the class. | |
| virtual bool | is_class (vcl_string const &s) const |
| Name of the class. | |
| short | version_no () const |
| Version number for I/O. | |
| virtual clsfy_builder_1d * | clone () const |
| Create a copy on the heap and return base class pointer. | |
| virtual void | print_summary (vcl_ostream &os) const |
| Print class to os. | |
| virtual void | b_write (vsl_b_ostream &bfs) const |
| Save class to binary file stream. | |
| virtual void | b_read (vsl_b_istream &bfs) |
| Load class from binary file stream. | |
|
|
Definition at line 19 of file clsfy_binary_threshold_1d_builder.cxx. |
|
|
Definition at line 25 of file clsfy_binary_threshold_1d_builder.cxx. |
|
|
Load class from binary file stream.
Implements clsfy_builder_1d. Definition at line 278 of file clsfy_binary_threshold_1d_builder.cxx. |
|
|
Save class to binary file stream.
Implements clsfy_builder_1d. Definition at line 267 of file clsfy_binary_threshold_1d_builder.cxx. |
|
||||||||||||||||||||||||
|
Build a binary_threshold classifier. Train classifier, returning weighted error Selects parameters of classifier which best separate examples from two classes, weighting examples appropriately when estimating the misclassification rate. Returns weighted sum of error, e.wts, where e_i =0 for correct classifications, e_i=1 for incorrect. Implements clsfy_builder_1d. Definition at line 85 of file clsfy_binary_threshold_1d_builder.cxx. |
|
||||||||||||||||||||
|
Build a binary_threshold classifier. Train classifier, returning weighted error Selects parameters of classifier which best separate examples from two classes, weighting examples appropriately when estimating the missclassification rate. Returns weighted sum of error, e.wts, where e_i =0 for correct classifications, e_i=1 for incorrect. Implements clsfy_builder_1d. Definition at line 51 of file clsfy_binary_threshold_1d_builder.cxx. |
|
||||||||||||||||
|
Train classifier, returning weighted error. Selects parameters of classifier which best separate examples, weighting examples appropriately when estimating the misclassification rate. data[i] is a triple, {value,class_number,weight} Returns weighted sum of error. Note that input "data" must be sorted to use this routine Implements clsfy_builder_1d. Definition at line 130 of file clsfy_binary_threshold_1d_builder.cxx. |
|
|
Create a copy on the heap and return base class pointer.
Implements clsfy_builder_1d. Definition at line 248 of file clsfy_binary_threshold_1d_builder.cxx. |
|
|
Name of the class.
Reimplemented from clsfy_builder_1d. Definition at line 202 of file clsfy_binary_threshold_1d_builder.cxx. |
|
|
Name of the class.
Reimplemented from clsfy_builder_1d. Definition at line 207 of file clsfy_binary_threshold_1d_builder.cxx. |
|
|
Create empty model. Caller is responsible for deletion Implements clsfy_builder_1d. Definition at line 39 of file clsfy_binary_threshold_1d_builder.cxx. |
|
|
Print class to os.
Implements clsfy_builder_1d. Definition at line 256 of file clsfy_binary_threshold_1d_builder.cxx. |
|
|
Version number for I/O.
Definition at line 31 of file clsfy_binary_threshold_1d_builder.cxx. |
1.4.4