27 "Do not include character fragments in the" 28 " results of the classifier");
31 "Integer Matcher Multiplier 0-255: ");
55 "Threshold for good protos during adaptive 0-255: ");
58 "Threshold for good features during adaptive 0-255: ");
64 #define SE_TABLE_BITS 9 65 #define SE_TABLE_SIZE 512 72 void Clear(
const INT_CLASS class_template);
73 void ClearFeatureEvidence(
const INT_CLASS class_template);
74 void NormalizeSums(
INT_CLASS ClassTemplate, int16_t NumFeatures);
75 void UpdateSumOfProtoEvidences(
83 static const int kIntThetaFudge = 128;
85 static const int kEvidenceTableBits = 9;
87 static const int kIntEvidenceTruncBits = 14;
101 int AdaptFeatureThreshold,
103 bool SeparateDebugWindows);
107 float ApplyCNCorrection(
float rating,
int blob_length,
108 int normalization_factor,
int matcher_multiplier);
110 int FindGoodProtos(
INT_CLASS ClassTemplate,
116 int AdaptProtoThreshold,
119 int FindBadFeatures(
INT_CLASS ClassTemplate,
125 int AdaptFeatureThreshold,
129 int UpdateTablesForFeature(
138 int FindBestMatch(
INT_CLASS ClassTemplate,
142 #ifndef GRAPHICS_DISABLED 143 void DebugFeatureProtoError(
151 void DisplayProtoDebugInfo(
155 bool SeparateDebugWindows);
157 void DisplayFeatureDebugInfo(
163 int AdaptFeatureThreshold,
165 bool SeparateDebugWindows);
171 uint32_t evidence_table_mask_;
172 uint32_t mult_trunc_shift_bits_;
173 uint32_t table_trunc_shift_bits_;
174 uint32_t evidence_mult_mask_;
#define BOOL_VAR_H(name, val, comment)
static const float kSimilarityCenter
bool disable_character_fragments
#define INT_VAR_H(name, val, comment)
int classify_adapt_proto_thresh
static const float kSEExponentialMultiplier
INT_FEATURE_STRUCT INT_FEATURE_ARRAY[MAX_NUM_INT_FEATURES]
int classify_integer_matcher_multiplier
int classify_adapt_feature_thresh