public abstract class UnSupervisedLearningConfig
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
UnSupervisedLearningConfig.Conditions |
static class |
UnSupervisedLearningConfig.Descriptors |
static class |
UnSupervisedLearningConfig.SkippedAnnotations |
Modifier and Type | Field and Description |
---|---|
protected UnSupervisedLearningConfig.Conditions |
conditions |
static int |
DEFAULT_MAX_DOCUMENT_THRESHOLD |
static int |
DEFAULT_MIN_DOCUMENT_REQUIRED |
protected UnSupervisedLearningConfig.Descriptors |
descriptors |
java.lang.String |
instance |
java.lang.String |
managedResourceGroup |
int |
maxDocumentThreshold |
int |
minDocumentRequired |
protected UnSupervisedLearningConfig.SkippedAnnotations |
skippedAnnotations |
Constructor and Description |
---|
UnSupervisedLearningConfig() |
UnSupervisedLearningConfig(UnSupervisedLearningConfig o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this UnSupervisedLearningConfig.
|
static UnSupervisedLearningConfig |
fromString(java.lang.String s)
String representation of this UnSupervisedLearningConfig.
|
UnSupervisedLearningConfig.Conditions |
getConditions() |
UnSupervisedLearningConfig.Descriptors |
getDescriptors() |
java.lang.String |
getInstance()
The instance name.
Each learning processor must have an unique name, this name will be part of the process name. |
java.lang.String |
getManagedResourceGroup()
The name of the resource group as defined in the ResourceManager
This ResourceGroup must have a Resource type="raw" name=instance |
int |
getMaxDocumentThreshold()
The maximum number of documents used in the processing.
This parameter allows you to limit the memory impact of clustering. |
int |
getMinDocumentRequired()
The minimum number of documents present in cache to process.
No learning will occur until this number of documents has been processed. |
UnSupervisedLearningConfig.SkippedAnnotations |
getSkippedAnnotations() |
UnSupervisedLearningConfig |
makeCopy() |
static UnSupervisedLearningConfig |
readFrom(java.io.InputStream is)
Read this UnSupervisedLearningConfig from an XML fragment.
|
void |
setConditions(UnSupervisedLearningConfig.Conditions __value) |
void |
setDescriptors(UnSupervisedLearningConfig.Descriptors __value) |
void |
setInstance(java.lang.String instance)
The instance name.
Each learning processor must have an unique name, this name will be part of the process name. |
void |
setManagedResourceGroup(java.lang.String managedResourceGroup)
The name of the resource group as defined in the ResourceManager
This ResourceGroup must have a Resource type="raw" name=instance |
void |
setMaxDocumentThreshold(int maxDocumentThreshold)
The maximum number of documents used in the processing.
This parameter allows you to limit the memory impact of clustering. |
void |
setMinDocumentRequired(int minDocumentRequired)
The minimum number of documents present in cache to process.
No learning will occur until this number of documents has been processed. |
void |
setSkippedAnnotations(UnSupervisedLearningConfig.SkippedAnnotations __value) |
java.lang.String |
toString()
String representation of this UnSupervisedLearningConfig.
|
UnSupervisedLearningConfig |
withConditions(java.util.Collection<LearningTriggerCondition> __values) |
UnSupervisedLearningConfig |
withConditions(LearningTriggerCondition... __values) |
UnSupervisedLearningConfig |
withConditions(UnSupervisedLearningConfig.Conditions __value) |
UnSupervisedLearningConfig |
withDescriptors(java.util.Collection<Descriptor> __values) |
UnSupervisedLearningConfig |
withDescriptors(Descriptor... __values) |
UnSupervisedLearningConfig |
withDescriptors(UnSupervisedLearningConfig.Descriptors __value) |
UnSupervisedLearningConfig |
withInstance(java.lang.String instance) |
UnSupervisedLearningConfig |
withManagedResourceGroup(java.lang.String managedResourceGroup) |
UnSupervisedLearningConfig |
withMaxDocumentThreshold(int maxDocumentThreshold) |
UnSupervisedLearningConfig |
withMaxDocumentThreshold(java.lang.Integer maxDocumentThreshold) |
UnSupervisedLearningConfig |
withMinDocumentRequired(int minDocumentRequired) |
UnSupervisedLearningConfig |
withMinDocumentRequired(java.lang.Integer minDocumentRequired) |
UnSupervisedLearningConfig |
withSkippedAnnotations(java.util.Collection<StringValue> __values) |
UnSupervisedLearningConfig |
withSkippedAnnotations(StringValue... __values) |
UnSupervisedLearningConfig |
withSkippedAnnotations(UnSupervisedLearningConfig.SkippedAnnotations __value) |
void |
writeTo(java.io.OutputStream os) |
public java.lang.String instance
public int minDocumentRequired
public static final int DEFAULT_MIN_DOCUMENT_REQUIRED
public int maxDocumentThreshold
public static final int DEFAULT_MAX_DOCUMENT_THRESHOLD
protected UnSupervisedLearningConfig.Descriptors descriptors
protected UnSupervisedLearningConfig.SkippedAnnotations skippedAnnotations
protected UnSupervisedLearningConfig.Conditions conditions
public java.lang.String managedResourceGroup
public UnSupervisedLearningConfig()
public UnSupervisedLearningConfig(UnSupervisedLearningConfig o)
public void setInstance(java.lang.String instance)
public java.lang.String getInstance()
public UnSupervisedLearningConfig withInstance(java.lang.String instance)
public void setMinDocumentRequired(int minDocumentRequired)
public int getMinDocumentRequired()
public UnSupervisedLearningConfig withMinDocumentRequired(int minDocumentRequired)
public UnSupervisedLearningConfig withMinDocumentRequired(java.lang.Integer minDocumentRequired)
public void setMaxDocumentThreshold(int maxDocumentThreshold)
public int getMaxDocumentThreshold()
public UnSupervisedLearningConfig withMaxDocumentThreshold(int maxDocumentThreshold)
public UnSupervisedLearningConfig withMaxDocumentThreshold(java.lang.Integer maxDocumentThreshold)
public UnSupervisedLearningConfig.Descriptors getDescriptors()
public void setDescriptors(UnSupervisedLearningConfig.Descriptors __value)
public UnSupervisedLearningConfig withDescriptors(Descriptor... __values)
public UnSupervisedLearningConfig withDescriptors(java.util.Collection<Descriptor> __values)
public UnSupervisedLearningConfig withDescriptors(UnSupervisedLearningConfig.Descriptors __value)
public UnSupervisedLearningConfig.SkippedAnnotations getSkippedAnnotations()
public void setSkippedAnnotations(UnSupervisedLearningConfig.SkippedAnnotations __value)
public UnSupervisedLearningConfig withSkippedAnnotations(StringValue... __values)
public UnSupervisedLearningConfig withSkippedAnnotations(java.util.Collection<StringValue> __values)
public UnSupervisedLearningConfig withSkippedAnnotations(UnSupervisedLearningConfig.SkippedAnnotations __value)
public UnSupervisedLearningConfig.Conditions getConditions()
public void setConditions(UnSupervisedLearningConfig.Conditions __value)
public UnSupervisedLearningConfig withConditions(LearningTriggerCondition... __values)
public UnSupervisedLearningConfig withConditions(java.util.Collection<LearningTriggerCondition> __values)
public UnSupervisedLearningConfig withConditions(UnSupervisedLearningConfig.Conditions __value)
public void setManagedResourceGroup(java.lang.String managedResourceGroup)
public java.lang.String getManagedResourceGroup()
public UnSupervisedLearningConfig withManagedResourceGroup(java.lang.String managedResourceGroup)
public UnSupervisedLearningConfig makeCopy()
public static UnSupervisedLearningConfig 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
javax.xml.bind.JAXBException
java.io.IOException
public static UnSupervisedLearningConfig 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 java.lang.Object
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.