Class LabeledInstanceSchema
- java.lang.Object
-
- ai.libs.jaicore.ml.core.dataset.schema.InstanceSchema
-
- ai.libs.jaicore.ml.core.dataset.schema.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 Summary
Constructors Constructor Description 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)LabeledInstanceSchemagetCopy()org.api4.java.ai.ml.core.dataset.schema.attribute.IAttributegetLabelAttribute()inthashCode()voidreplaceLabelAttribute(org.api4.java.ai.ml.core.dataset.schema.attribute.IAttribute labelAttribute)java.lang.StringtoString()-
Methods inherited from class ai.libs.jaicore.ml.core.dataset.schema.InstanceSchema
addAttribute, addAttribute, getAttribute, getAttributeList, getNumAttributes, getRelationName, removeAttribute
-
-
-
-
Method Detail
-
getLabelAttribute
public org.api4.java.ai.ml.core.dataset.schema.attribute.IAttribute getLabelAttribute()
- Specified by:
getLabelAttributein interfaceorg.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:
replaceLabelAttributein interfaceorg.api4.java.ai.ml.core.dataset.schema.ILabeledInstanceSchema
-
getCopy
public LabeledInstanceSchema getCopy()
- Specified by:
getCopyin interfaceorg.api4.java.ai.ml.core.dataset.schema.IInstanceSchema- Specified by:
getCopyin interfaceorg.api4.java.ai.ml.core.dataset.schema.ILabeledInstanceSchema- Overrides:
getCopyin classInstanceSchema
-
toString
public java.lang.String toString()
- Overrides:
toStringin classInstanceSchema
-
hashCode
public int hashCode()
- Overrides:
hashCodein classInstanceSchema
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classInstanceSchema
-
-