create_model_bias_job_definition
¶
create_model_bias_job_definition(
*,
config_overrides: Optional[SageMakerClientConfig] = None,
job_definition_name: Optional[MonitoringJobDefinitionName] = None,
model_bias_baseline_config: Optional[ModelBiasBaselineConfig] = None,
model_bias_app_specification: Optional[ModelBiasAppSpecification] = None,
model_bias_job_input: Optional[ModelBiasJobInput] = None,
model_bias_job_output_config: Optional[MonitoringOutputConfig] = None,
job_resources: Optional[MonitoringResources] = None,
network_config: Optional[MonitoringNetworkConfig] = None,
role_arn: Optional[RoleArn] = None,
stopping_condition: Optional[MonitoringStoppingCondition] = None,
tags: Optional[TagList] = None,
) -> CreateModelBiasJobDefinitionResponse
Creates the definition for a model bias job.
Parameters:
-
job_definition_name(Optional[MonitoringJobDefinitionName], default:None) –The name of the bias job definition. The name must be unique within an Amazon Web Services Region in the Amazon Web Services account.
-
model_bias_baseline_config(Optional[ModelBiasBaselineConfig], default:None) –The baseline configuration for a model bias job.
-
model_bias_app_specification(Optional[ModelBiasAppSpecification], default:None) –Configures the model bias job to run a specified Docker container image.
-
model_bias_job_input(Optional[ModelBiasJobInput], default:None) –Inputs for the model bias job.
-
network_config(Optional[MonitoringNetworkConfig], default:None) –Networking options for a model bias job.
-
role_arn(Optional[RoleArn], default:None) –The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker AI can assume to perform tasks on your behalf.
-
tags(Optional[TagList], default:None) –(Optional) An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide.
Raises:
-
ResourceInUse–Resource being accessed is in use.
-
ResourceLimitExceeded–You have exceeded an SageMaker resource limit. For example, you might have too many training jobs created.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/sage_maker.py
6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 | |