JobPredictionFuture

class autogluon.cloud.endpoint.prediction_future.JobPredictionFuture(job: SageMakerFitJob, result_loader: Callable[[], Any])[source]

Handle to the pending result of a SageMaker job.

Returned by the foundation model predict() / predict_proba() methods when called with wait=False. Poll it with status() and get the predictions with result().

Methods

result

Wait for the job to complete, streaming its logs, and return the predictions.

status

Get the status of the job.

Attributes

job_name

Name of the SageMaker training job.

output_path

S3 path of the job's output artifact, or "" if the job hasn't completed.