Changeset 57 for trunk/CrossPare/src/de/ugoe
- Timestamp:
- 04/26/16 09:24:12 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CrossPare/src/de/ugoe/cs/cpdp/dataprocessing/CLAProcessor.java
r42 r57 14 14 15 15 package de.ugoe.cs.cpdp.dataprocessing; 16 17 import java.util.Arrays; 16 18 17 19 import org.apache.commons.math3.stat.descriptive.rank.Median; … … 89 91 // determine median of cluster number 90 92 Median m = new Median(); 91 double medianClusterNumber = m.evaluate( clusterNumber);93 double medianClusterNumber = m.evaluate(Arrays.stream(clusterNumber).distinct().toArray()); 92 94 93 95 // finally modify the instances
Note: See TracChangeset
for help on using the changeset viewer.