Package stallone.cluster

Examples of stallone.cluster.KMeansClustering


        clustering.setMetric(metric);
    }

    public IClustering kmeans(IMetric<IDoubleArray> metric, int k, int maxIter)
    {
        KMeansClustering clustering = new KMeansClustering();
        kmeans(clustering, metric, k, maxIter);
        return (clustering);
    }
View Full Code Here


        return (clustering);
    }

    public IClustering kmeans(int k, int maxIter)
    {
        KMeansClustering clustering = new KMeansClustering();
        kmeans(clustering, new EuclideanDistance(), k, maxIter);
        return (clustering);
    }
View Full Code Here

        return (clustering);
    }

    public IClustering kmeans(int k)
    {
        KMeansClustering clustering = new KMeansClustering();
        kmeans(clustering, new EuclideanDistance(), k, 1000);
        return (clustering);
    }
View Full Code Here

        return kmeans(data, metric, k, maxIter);
    }

    public IClustering kmeans(IDataInput data, IMetric<IDoubleArray> metric, int k, int maxIter)
    {
        KMeansClustering clustering = new KMeansClustering();
        kmeans(clustering, data, metric, k, maxIter);
        return (clustering);
    }
View Full Code Here

TOP

Related Classes of stallone.cluster.KMeansClustering

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.