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

Method factor_value

dlib/svm/sequence_labeler.h:200–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198 typename EXP
199 >
200 double factor_value (
201 unsigned long node_id,
202 const matrix_exp<EXP>& node_states
203 ) const
204 {
205 if (dlib::impl::call_reject_labeling_if_exists(fe, sequence, node_states, node_id))
206 return -std::numeric_limits<double>::infinity();
207
208 return fe_helpers::dot(weights, fe, sequence, node_states, node_id);
209 }
210
211 const sample_sequence_type& sequence;
212 const feature_extractor& fe;

Callers

nothing calls this directly

Calls 2

dotFunction · 0.70

Tested by

no test coverage detected