Package stallone.datasequence

Examples of stallone.datasequence.DataSequenceSubset


    private boolean split(int leafIndex)
    {       
        int nClustersBeforeSplitting = leavesNew.size();
        // cluster leaf
        Leaf leaf = leavesNew.get(leafIndex);
        DataSequenceSubset subset = new DataSequenceSubset(data, leaf.indexes);
        this.clusterMethodLeaves.setInput(subset);
        this.clusterMethodLeaves.perform();
        int nPieces = this.clusterMethodLeaves.getNumberOfClusters();       
        if (nPieces == 1)
            return false; // no splitting could be done, return unsuccessful.
View Full Code Here


    public boolean split(int leafIndex)
    {
        int nClustersBeforeSplitting = leaves.size();
        // cluster leaf
        Leaf leaf = leaves.get(leafIndex);
        DataSequenceSubset subset = new DataSequenceSubset(data, leaf.indexes);
        this.clusterMethodLeaves.setInput(subset);
        this.clusterMethodLeaves.perform();
        int nPieces = this.clusterMethodLeaves.getNumberOfClusters();
        if (nPieces == 1)
            return false; // no splitting could be done, return unsuccessful.
View Full Code Here

TOP

Related Classes of stallone.datasequence.DataSequenceSubset

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.