MCPcopy Create free account
hub / github.com/davisking/dlib / set_inactive_plane_threshold

Method set_inactive_plane_threshold

dlib/optimization/optimization_oca.h:106–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104 }
105
106 void set_inactive_plane_threshold (
107 unsigned long inactive_thresh_
108 )
109 {
110 // make sure requires clause is not broken
111 DLIB_ASSERT(inactive_thresh_ > 0,
112 "\t void oca::set_inactive_plane_threshold"
113 << "\n\t inactive threshold must be greater than 0"
114 << "\n\t inactive_thresh_: " << inactive_thresh_
115 << "\n\t this: " << this
116 );
117
118 inactive_thresh = inactive_thresh_;
119 }
120
121 unsigned long get_inactive_plane_threshold (
122 ) const { return inactive_thresh; }

Callers 4

trainMethod · 0.80
trainMethod · 0.80
trainMethod · 0.80
trainMethod · 0.80

Calls

no outgoing calls

Tested by 4

trainMethod · 0.64
trainMethod · 0.64
trainMethod · 0.64
trainMethod · 0.64