Package weka.core

Interface PartitionGenerator

    • Method Detail

      • generatePartition

        void generatePartition​(Instances data)
                        throws java.lang.Exception
        Builds the classifier to generate a partition.
        Throws:
        java.lang.Exception
      • getMembershipValues

        double[] getMembershipValues​(Instance inst)
                              throws java.lang.Exception
        Computes an array that has a value for each element in the partition.
        Throws:
        java.lang.Exception
      • numElements

        int numElements()
                 throws java.lang.Exception
        Returns the number of elements in the partition.
        Throws:
        java.lang.Exception