Class ImmutableClusteringInfo

java.lang.Object
org.tribuo.clustering.ClusteringInfo
org.tribuo.clustering.ImmutableClusteringInfo
All Implemented Interfaces:
Serializable, Iterable<com.oracle.labs.mlrg.olcut.util.Pair<Integer, ClusterID>>, ImmutableOutputInfo<ClusterID>, OutputInfo<ClusterID>

public class ImmutableClusteringInfo extends ClusteringInfo implements ImmutableOutputInfo<ClusterID>
An ImmutableOutputInfo object for ClusterIDs.

Gives each unique cluster an id number. Also counts each id occurrence like MutableClusteringInfo does, though the counts are frozen in this object.

See Also:
  • Constructor Details

    • ImmutableClusteringInfo

      public ImmutableClusteringInfo(Map<Integer, com.oracle.labs.mlrg.olcut.util.MutableLong> counts)
    • ImmutableClusteringInfo

      public ImmutableClusteringInfo(ClusteringInfo other)
  • Method Details