Class LabeledInstanceSchema

  • All Implemented Interfaces:
    org.api4.java.ai.ml.core.dataset.schema.IInstanceSchema, org.api4.java.ai.ml.core.dataset.schema.ILabeledInstanceSchema

    public class LabeledInstanceSchema
    extends InstanceSchema
    implements org.api4.java.ai.ml.core.dataset.schema.ILabeledInstanceSchema
    • Constructor Detail

      • LabeledInstanceSchema

        public LabeledInstanceSchema​(java.lang.String relationName,
                                     java.util.List<org.api4.java.ai.ml.core.dataset.schema.attribute.IAttribute> attributeList,
                                     org.api4.java.ai.ml.core.dataset.schema.attribute.IAttribute labelAttribute)
    • Method Detail

      • getLabelAttribute

        public org.api4.java.ai.ml.core.dataset.schema.attribute.IAttribute getLabelAttribute()
        Specified by:
        getLabelAttribute in interface org.api4.java.ai.ml.core.dataset.schema.ILabeledInstanceSchema
      • replaceLabelAttribute

        public void replaceLabelAttribute​(org.api4.java.ai.ml.core.dataset.schema.attribute.IAttribute labelAttribute)
        Specified by:
        replaceLabelAttribute in interface org.api4.java.ai.ml.core.dataset.schema.ILabeledInstanceSchema
      • getCopy

        public LabeledInstanceSchema getCopy()
        Specified by:
        getCopy in interface org.api4.java.ai.ml.core.dataset.schema.IInstanceSchema
        Specified by:
        getCopy in interface org.api4.java.ai.ml.core.dataset.schema.ILabeledInstanceSchema
        Overrides:
        getCopy in class InstanceSchema
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class InstanceSchema