/** * Returns the distances for the nearest neighbours in the FILTERED space * * @return the array of distances for the nearest neighbours * * @see weka.core.neighboursearch.NearestNeighbourSearch#getDistances() */ @Override public double[] getDistances() throws Exception { return m_ModifiedSearchMethod.getDistances(); }
/** * Returns the distances for the nearest neighbours in the FILTERED space * * @return the array of distances for the nearest neighbours * * @see weka.core.neighboursearch.NearestNeighbourSearch#getDistances() */ @Override public double[] getDistances() throws Exception { return m_ModifiedSearchMethod.getDistances(); }
double distances[] = m_NNSearch.getDistances();
origDistances = m_NNSearch.getDistances();
double distances[] = m_NNSearch.getDistances();
origDistances = m_NNSearch.getDistances();
double [] distances = m_NNSearch.getDistances(); double [] distribution = makeDistribution( neighbours, distances );
double [] distances = m_NNSearch.getDistances(); double [] distribution = makeDistribution( neighbours, distances );