public abstract class SupervisedLearningConfig extends UnSupervisedLearningConfig implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
SupervisedLearningConfig.Categories |
UnSupervisedLearningConfig.Conditions, UnSupervisedLearningConfig.Descriptors, UnSupervisedLearningConfig.SkippedAnnotations
Modifier and Type | Field and Description |
---|---|
protected SupervisedLearningConfig.Categories |
categories |
java.lang.String |
meta |
conditions, DEFAULT_MAX_DOCUMENT_THRESHOLD, DEFAULT_MIN_DOCUMENT_REQUIRED, descriptors, instance, managedResourceGroup, maxDocumentThreshold, minDocumentRequired, skippedAnnotations
Constructor and Description |
---|
SupervisedLearningConfig() |
SupervisedLearningConfig(SupervisedLearningConfig o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this SupervisedLearningConfig.
|
static SupervisedLearningConfig |
fromString(java.lang.String s)
String representation of this SupervisedLearningConfig.
|
SupervisedLearningConfig.Categories |
getCategories() |
java.lang.String |
getMeta()
Name of the meta storing the pre-classified document category name.
|
SupervisedLearningConfig |
makeCopy() |
static SupervisedLearningConfig |
readFrom(java.io.InputStream is)
Read this SupervisedLearningConfig from an XML fragment.
|
void |
setCategories(SupervisedLearningConfig.Categories __value) |
void |
setMeta(java.lang.String meta)
Name of the meta storing the pre-classified document category name.
|
java.lang.String |
toString()
String representation of this SupervisedLearningConfig.
|
SupervisedLearningConfig |
withCategories(Category... __values) |
SupervisedLearningConfig |
withCategories(java.util.Collection<Category> __values) |
SupervisedLearningConfig |
withCategories(SupervisedLearningConfig.Categories __value) |
SupervisedLearningConfig |
withConditions(java.util.Collection<LearningTriggerCondition> __values) |
SupervisedLearningConfig |
withConditions(LearningTriggerCondition... __values)
The list of triggering conditions.
This learning job is triggered as soon as any of this condition is fulfilled. |
SupervisedLearningConfig |
withDescriptors(java.util.Collection<Descriptor> __values) |
SupervisedLearningConfig |
withDescriptors(Descriptor... __values)
The list of MOT annotation used to extract descriptors (if empty, words are used).
|
SupervisedLearningConfig |
withInstance(java.lang.String instance) |
SupervisedLearningConfig |
withManagedResourceGroup(java.lang.String managedResourceGroup) |
SupervisedLearningConfig |
withMaxDocumentThreshold(int maxDocumentThreshold) |
SupervisedLearningConfig |
withMaxDocumentThreshold(java.lang.Integer maxDocumentThreshold) |
SupervisedLearningConfig |
withMeta(java.lang.String meta) |
SupervisedLearningConfig |
withMinDocumentRequired(int minDocumentRequired) |
SupervisedLearningConfig |
withMinDocumentRequired(java.lang.Integer minDocumentRequired) |
SupervisedLearningConfig |
withSkippedAnnotations(java.util.Collection<StringValue> __values) |
SupervisedLearningConfig |
withSkippedAnnotations(StringValue... __values)
The list of MOT annotation used to ignore tokens.
|
void |
writeTo(java.io.OutputStream os) |
getConditions, getDescriptors, getInstance, getManagedResourceGroup, getMaxDocumentThreshold, getMinDocumentRequired, getSkippedAnnotations, setConditions, setDescriptors, setInstance, setManagedResourceGroup, setMaxDocumentThreshold, setMinDocumentRequired, setSkippedAnnotations, withConditions, withDescriptors, withSkippedAnnotations
public java.lang.String meta
protected SupervisedLearningConfig.Categories categories
public SupervisedLearningConfig()
public SupervisedLearningConfig(SupervisedLearningConfig o)
public SupervisedLearningConfig withInstance(java.lang.String instance)
withInstance
in class UnSupervisedLearningConfig
public SupervisedLearningConfig withMinDocumentRequired(int minDocumentRequired)
withMinDocumentRequired
in class UnSupervisedLearningConfig
public SupervisedLearningConfig withMinDocumentRequired(java.lang.Integer minDocumentRequired)
withMinDocumentRequired
in class UnSupervisedLearningConfig
public SupervisedLearningConfig withMaxDocumentThreshold(int maxDocumentThreshold)
withMaxDocumentThreshold
in class UnSupervisedLearningConfig
public SupervisedLearningConfig withMaxDocumentThreshold(java.lang.Integer maxDocumentThreshold)
withMaxDocumentThreshold
in class UnSupervisedLearningConfig
public SupervisedLearningConfig withDescriptors(Descriptor... __values)
withDescriptors
in class UnSupervisedLearningConfig
public SupervisedLearningConfig withDescriptors(java.util.Collection<Descriptor> __values)
withDescriptors
in class UnSupervisedLearningConfig
public SupervisedLearningConfig withSkippedAnnotations(StringValue... __values)
withSkippedAnnotations
in class UnSupervisedLearningConfig
public SupervisedLearningConfig withSkippedAnnotations(java.util.Collection<StringValue> __values)
withSkippedAnnotations
in class UnSupervisedLearningConfig
public SupervisedLearningConfig withConditions(LearningTriggerCondition... __values)
withConditions
in class UnSupervisedLearningConfig
public SupervisedLearningConfig withConditions(java.util.Collection<LearningTriggerCondition> __values)
withConditions
in class UnSupervisedLearningConfig
public SupervisedLearningConfig withManagedResourceGroup(java.lang.String managedResourceGroup)
withManagedResourceGroup
in class UnSupervisedLearningConfig
public void setMeta(java.lang.String meta)
public java.lang.String getMeta()
public SupervisedLearningConfig withMeta(java.lang.String meta)
public SupervisedLearningConfig.Categories getCategories()
public void setCategories(SupervisedLearningConfig.Categories __value)
public SupervisedLearningConfig withCategories(Category... __values)
public SupervisedLearningConfig withCategories(java.util.Collection<Category> __values)
public SupervisedLearningConfig withCategories(SupervisedLearningConfig.Categories __value)
public SupervisedLearningConfig makeCopy()
makeCopy
in class UnSupervisedLearningConfig
public static SupervisedLearningConfig readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
writeTo
in class UnSupervisedLearningConfig
javax.xml.bind.JAXBException
java.io.IOException
public static SupervisedLearningConfig fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class UnSupervisedLearningConfig
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
check
in class UnSupervisedLearningConfig
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.