Class TextNer
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.AutoMLVertical
-
- com.azure.resourcemanager.machinelearning.models.TextNer
-
public final class TextNer extends AutoMLVertical
Text-NER task in AutoML NLP vertical. NER - Named Entity Recognition. NLP - Natural Language Processing.
-
-
Constructor Summary
Constructors Constructor Description TextNer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NlpVerticalDataSettings
dataSettings()
Get the dataSettings property: Data inputs for AutoMLJob.NlpVerticalFeaturizationSettings
featurizationSettings()
Get the featurizationSettings property: Featurization inputs needed for AutoML job.NlpVerticalLimitSettings
limitSettings()
Get the limitSettings property: Execution constraints for AutoMLJob.ClassificationPrimaryMetrics
primaryMetric()
Get the primaryMetric property: Primary metric for Text-NER task.void
validate()
Validates the instance.TextNer
withDataSettings(NlpVerticalDataSettings dataSettings)
Set the dataSettings property: Data inputs for AutoMLJob.TextNer
withFeaturizationSettings(NlpVerticalFeaturizationSettings featurizationSettings)
Set the featurizationSettings property: Featurization inputs needed for AutoML job.TextNer
withLimitSettings(NlpVerticalLimitSettings limitSettings)
Set the limitSettings property: Execution constraints for AutoMLJob.TextNer
withLogVerbosity(LogVerbosity logVerbosity)
Set the logVerbosity property: Log verbosity for the job.-
Methods inherited from class com.azure.resourcemanager.machinelearning.models.AutoMLVertical
logVerbosity
-
-
-
-
Method Detail
-
primaryMetric
public ClassificationPrimaryMetrics primaryMetric()
Get the primaryMetric property: Primary metric for Text-NER task. Only 'Accuracy' is supported for Text-NER, so user need not set this explicitly.- Returns:
- the primaryMetric value.
-
dataSettings
public NlpVerticalDataSettings dataSettings()
Get the dataSettings property: Data inputs for AutoMLJob.- Returns:
- the dataSettings value.
-
withDataSettings
public TextNer withDataSettings(NlpVerticalDataSettings dataSettings)
Set the dataSettings property: Data inputs for AutoMLJob.- Parameters:
dataSettings
- the dataSettings value to set.- Returns:
- the TextNer object itself.
-
featurizationSettings
public NlpVerticalFeaturizationSettings featurizationSettings()
Get the featurizationSettings property: Featurization inputs needed for AutoML job.- Returns:
- the featurizationSettings value.
-
withFeaturizationSettings
public TextNer withFeaturizationSettings(NlpVerticalFeaturizationSettings featurizationSettings)
Set the featurizationSettings property: Featurization inputs needed for AutoML job.- Parameters:
featurizationSettings
- the featurizationSettings value to set.- Returns:
- the TextNer object itself.
-
limitSettings
public NlpVerticalLimitSettings limitSettings()
Get the limitSettings property: Execution constraints for AutoMLJob.- Returns:
- the limitSettings value.
-
withLimitSettings
public TextNer withLimitSettings(NlpVerticalLimitSettings limitSettings)
Set the limitSettings property: Execution constraints for AutoMLJob.- Parameters:
limitSettings
- the limitSettings value to set.- Returns:
- the TextNer object itself.
-
withLogVerbosity
public TextNer withLogVerbosity(LogVerbosity logVerbosity)
Set the logVerbosity property: Log verbosity for the job.- Overrides:
withLogVerbosity
in classAutoMLVertical
- Parameters:
logVerbosity
- the logVerbosity value to set.- Returns:
- the AutoMLVertical object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classAutoMLVertical
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-