MLCluster
org.encog.ml

Interface MLCluster

  • All Known Implementing Classes:
    KMeansCluster


    public interface MLCluster
    Defines a cluster. Usually used with the MLClustering method to break input into clusters.
    • Method Detail

      • add

        void add(MLData pair)
        Add data to this cluster.
        Parameters:
        pair - The data to add.
      • createDataSet

        MLDataSet createDataSet()
        Create a machine learning dataset from the data.
        Returns:
        A dataset.
      • get

        MLData get(int pos)
        Get the specified data item by index.
        Parameters:
        pos - The index of the data item to get.
        Returns:
        The data item.
      • getData

        List<MLData> getData()
        Returns:
        The data in this cluster.
      • remove

        void remove(MLData data)
        Remove the specified item.
        Parameters:
        data - The item to remove.
      • size

        int size()
        Returns:
        The number of items.

SCaVis 2.1 © jWork.ORG