| 57 | return feature_space_.PositionFromIndex(index_feature); |
| 58 | } |
| 59 | INT_FEATURE_STRUCT IntFeatureMap::InverseMapFeature(int map_feature) const { |
| 60 | int index = feature_map_.CompactToSparse(map_feature); |
| 61 | return feature_space_.PositionFromIndex(index); |
| 62 | } |
| 63 | void IntFeatureMap::DeleteMapFeature(int map_feature) { |
| 64 | feature_map_.Merge(-1, map_feature); |
| 65 | mapping_changed_ = true; |
no test coverage detected