Interface ClarifyShapBaselineConfig.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ClarifyShapBaselineConfig.Builder,ClarifyShapBaselineConfig>
,SdkBuilder<ClarifyShapBaselineConfig.Builder,ClarifyShapBaselineConfig>
,SdkPojo
- Enclosing class:
- ClarifyShapBaselineConfig
public static interface ClarifyShapBaselineConfig.Builder extends SdkPojo, CopyableBuilder<ClarifyShapBaselineConfig.Builder,ClarifyShapBaselineConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClarifyShapBaselineConfig.Builder
mimeType(String mimeType)
The MIME type of the baseline data.ClarifyShapBaselineConfig.Builder
shapBaseline(String shapBaseline)
The inline SHAP baseline data in string format.ClarifyShapBaselineConfig.Builder
shapBaselineUri(String shapBaselineUri)
The uniform resource identifier (URI) of the S3 bucket where the SHAP baseline file is stored.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
mimeType
ClarifyShapBaselineConfig.Builder mimeType(String mimeType)
The MIME type of the baseline data. Choose from
'text/csv'
or'application/jsonlines'
. Defaults to'text/csv'
.- Parameters:
mimeType
- The MIME type of the baseline data. Choose from'text/csv'
or'application/jsonlines'
. Defaults to'text/csv'
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shapBaseline
ClarifyShapBaselineConfig.Builder shapBaseline(String shapBaseline)
The inline SHAP baseline data in string format.
ShapBaseline
can have one or multiple records to be used as the baseline dataset. The format of the SHAP baseline file should be the same format as the training dataset. For example, if the training dataset is in CSV format and each record contains four features, and all features are numerical, then the format of the baseline data should also share these characteristics. For natural language processing (NLP) of text columns, the baseline value should be the value used to replace the unit of text specified by theGranularity
of theTextConfig
parameter. The size limit forShapBasline
is 4 KB. Use theShapBaselineUri
parameter if you want to provide more than 4 KB of baseline data.- Parameters:
shapBaseline
- The inline SHAP baseline data in string format.ShapBaseline
can have one or multiple records to be used as the baseline dataset. The format of the SHAP baseline file should be the same format as the training dataset. For example, if the training dataset is in CSV format and each record contains four features, and all features are numerical, then the format of the baseline data should also share these characteristics. For natural language processing (NLP) of text columns, the baseline value should be the value used to replace the unit of text specified by theGranularity
of theTextConfig
parameter. The size limit forShapBasline
is 4 KB. Use theShapBaselineUri
parameter if you want to provide more than 4 KB of baseline data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shapBaselineUri
ClarifyShapBaselineConfig.Builder shapBaselineUri(String shapBaselineUri)
The uniform resource identifier (URI) of the S3 bucket where the SHAP baseline file is stored. The format of the SHAP baseline file should be the same format as the format of the training dataset. For example, if the training dataset is in CSV format, and each record in the training dataset has four features, and all features are numerical, then the baseline file should also have this same format. Each record should contain only the features. If you are using a virtual private cloud (VPC), the
ShapBaselineUri
should be accessible to the VPC. For more information about setting up endpoints with Amazon Virtual Private Cloud, see Give SageMaker access to Resources in your Amazon Virtual Private Cloud.- Parameters:
shapBaselineUri
- The uniform resource identifier (URI) of the S3 bucket where the SHAP baseline file is stored. The format of the SHAP baseline file should be the same format as the format of the training dataset. For example, if the training dataset is in CSV format, and each record in the training dataset has four features, and all features are numerical, then the baseline file should also have this same format. Each record should contain only the features. If you are using a virtual private cloud (VPC), theShapBaselineUri
should be accessible to the VPC. For more information about setting up endpoints with Amazon Virtual Private Cloud, see Give SageMaker access to Resources in your Amazon Virtual Private Cloud.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-