public interface DistanceMeasure
Modifier and Type | Method and Description |
---|---|
double |
getDistance(int idX,
int idY,
CoreHunterData data)
Calculates the distance between two items with given ID.
|
void |
setMissingValuesPolicy(MissingValuesPolicy policy)
Determines the contribution of variables (markers/features)
with missing values to the distance between two items.
|
double getDistance(int idX, int idY, CoreHunterData data)
idX
- id of first itemidY
- id of second itemdata
- Core Hunter dataCoreHunterException
- if the data needed for the applied distance measure is not availablevoid setMissingValuesPolicy(MissingValuesPolicy policy)
policy
- missing values policyCopyright © 2017. All rights reserved.