I am trying to use the class for clustering. However I am not sure about
the syntax of using this function.
Here is what I have,
List<DoublePoint> data = new ArrayList<DoublePoint>();
DBSCANClusterer<? extends Clusterable> dbscan = new
DBSCANClusterer<DoublePoint>(10,3);
List <Cluster<DoublePoint>> clusters = dbscan.cluster(data );

Above line gives an error,
The method cluster(Collection<capture#1-of ? extends Clusterable>) in the
type DBSCANClusterer<capture#1-of ? extends
 Clusterable> is not applicable for the arguments (List<DoublePoint>)


Not sure what I am doing wrong.
Thanks
Arvind

Reply via email to