/// <summary> /// Sets the distance function, which measures the distance between two /// individual. instances (or possibly the distance between an instance and the /// centroid of a clusterdepending on the Link type). /// </summary> public Hierarchical DistanceFunction(weka.core.DistanceFunction distanceFunction) { Impl.setDistanceFunction(distanceFunction); return(this); }
/// <summary> /// The distance function to use for instances comparison (default: /// weka.core.EuclideanDistance). /// </summary> public SimpleKMeans DistanceFunction(weka.core.DistanceFunction df) { Impl.setDistanceFunction(df); return(this); }