- Timestamp:
- 07/18/16 12:26:03 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CrossPare/src/de/ugoe/cs/cpdp/dataselection/SetWiseKNNSelection.java
r86 r135 71 71 int closestIndex = 1; 72 72 for (int i = 1; i < data.numInstances(); i++) { 73 double distance = 74 MathArrays.distance(data.instance(0).toDoubleArray(), data.instance(i) 75 .toDoubleArray()); 73 double distance = MathArrays.distance(data.instance(0).toDoubleArray(), 74 data.instance(i).toDoubleArray()); 76 75 if (distance < closestDistance) { 77 76 closestDistance = distance;
Note: See TracChangeset
for help on using the changeset viewer.