MCPcopy Create free account
hub / github.com/creatale/node-dv / InverseIndexFeature

Method InverseIndexFeature

deps/tesseract/classify/intfeaturemap.cpp:56–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54 return feature_map_.SparseToCompact(index_feature);
55}
56INT_FEATURE_STRUCT IntFeatureMap::InverseIndexFeature(int index_feature) const {
57 return feature_space_.PositionFromIndex(index_feature);
58}
59INT_FEATURE_STRUCT IntFeatureMap::InverseMapFeature(int map_feature) const {
60 int index = feature_map_.CompactToSparse(map_feature);
61 return feature_space_.PositionFromIndex(index);

Callers 1

DisplaySamplesMethod · 0.80

Calls 1

PositionFromIndexMethod · 0.80

Tested by

no test coverage detected