Class ClusteringFactory

java.lang.Object
org.tribuo.clustering.ClusteringFactory
All Implemented Interfaces:
com.oracle.labs.mlrg.olcut.config.Configurable, com.oracle.labs.mlrg.olcut.provenance.Provenancable<OutputFactoryProvenance>, Serializable, OutputFactory<ClusterID>, ProtoSerializable<org.tribuo.protos.core.OutputFactoryProto>

public final class ClusteringFactory extends Object implements OutputFactory<ClusterID>
A factory for making ClusterID related classes.

Parses the ClusterID by calling toString on the input then parsing it as an int.

See Also:
  • Field Details

    • UNASSIGNED_CLUSTER_ID

      public static final ClusterID UNASSIGNED_CLUSTER_ID
      The sentinel unassigned cluster id, used when there is no ground truth clustering.
  • Constructor Details

    • ClusteringFactory

      public ClusteringFactory()
      ClusteringFactory is stateless and immutable, but we need to be able to construct them via the config system.
  • Method Details