| Package | Description |
|---|---|
| com.amazonaws.services.sagemaker.model |
| Modifier and Type | Method and Description |
|---|---|
ClarifyInferenceConfig |
ClarifyInferenceConfig.clone() |
ClarifyInferenceConfig |
ClarifyExplainerConfig.getInferenceConfig()
The inference configuration parameter for the model container.
|
ClarifyInferenceConfig |
ClarifyInferenceConfig.withContentTemplate(String contentTemplate)
A template string used to format a JSON record into an acceptable model container input.
|
ClarifyInferenceConfig |
ClarifyInferenceConfig.withFeatureHeaders(Collection<String> featureHeaders)
The names of the features.
|
ClarifyInferenceConfig |
ClarifyInferenceConfig.withFeatureHeaders(String... featureHeaders)
The names of the features.
|
ClarifyInferenceConfig |
ClarifyInferenceConfig.withFeaturesAttribute(String featuresAttribute)
Provides the JMESPath expression to extract the features from a model container input in JSON Lines format.
|
ClarifyInferenceConfig |
ClarifyInferenceConfig.withFeatureTypes(ClarifyFeatureType... featureTypes)
A list of data types of the features (optional).
|
ClarifyInferenceConfig |
ClarifyInferenceConfig.withFeatureTypes(Collection<String> featureTypes)
A list of data types of the features (optional).
|
ClarifyInferenceConfig |
ClarifyInferenceConfig.withFeatureTypes(String... featureTypes)
A list of data types of the features (optional).
|
ClarifyInferenceConfig |
ClarifyInferenceConfig.withLabelAttribute(String labelAttribute)
A JMESPath expression used to locate the list of label headers in the model container output.
|
ClarifyInferenceConfig |
ClarifyInferenceConfig.withLabelHeaders(Collection<String> labelHeaders)
For multiclass classification problems, the label headers are the names of the classes.
|
ClarifyInferenceConfig |
ClarifyInferenceConfig.withLabelHeaders(String... labelHeaders)
For multiclass classification problems, the label headers are the names of the classes.
|
ClarifyInferenceConfig |
ClarifyInferenceConfig.withLabelIndex(Integer labelIndex)
A zero-based index used to extract a label header or list of label headers from model container output in CSV
format.
|
ClarifyInferenceConfig |
ClarifyInferenceConfig.withMaxPayloadInMB(Integer maxPayloadInMB)
The maximum payload size (MB) allowed of a request from the explainer to the model container.
|
ClarifyInferenceConfig |
ClarifyInferenceConfig.withMaxRecordCount(Integer maxRecordCount)
The maximum number of records in a request that the model container can process when querying the model container
for the predictions of a synthetic dataset.
|
ClarifyInferenceConfig |
ClarifyInferenceConfig.withProbabilityAttribute(String probabilityAttribute)
A JMESPath expression used to extract the probability (or score) from the model container output if the model
container is in JSON Lines format.
|
ClarifyInferenceConfig |
ClarifyInferenceConfig.withProbabilityIndex(Integer probabilityIndex)
A zero-based index used to extract a probability value (score) or list from model container output in CSV format.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ClarifyExplainerConfig.setInferenceConfig(ClarifyInferenceConfig inferenceConfig)
The inference configuration parameter for the model container.
|
ClarifyExplainerConfig |
ClarifyExplainerConfig.withInferenceConfig(ClarifyInferenceConfig inferenceConfig)
The inference configuration parameter for the model container.
|
Copyright © 2024. All rights reserved.