Comprehend / Client / list_flywheel_iteration_history

list_flywheel_iteration_history#

Comprehend.Client.list_flywheel_iteration_history(**kwargs)#

Information about the history of a flywheel iteration. For more information about flywheels, see Flywheel overview in the Amazon Comprehend Developer Guide.

See also: AWS API Documentation

Request Syntax

response = client.list_flywheel_iteration_history(
    FlywheelArn='string',
    Filter={
        'CreationTimeAfter': datetime(2015, 1, 1),
        'CreationTimeBefore': datetime(2015, 1, 1)
    },
    NextToken='string',
    MaxResults=123
)
Parameters:
  • FlywheelArn (string) –

    [REQUIRED]

    The ARN of the flywheel.

  • Filter (dict) –

    Filter the flywheel iteration history based on creation time.

    • CreationTimeAfter (datetime) –

      Filter the flywheel iterations to include iterations created after the specified time.

    • CreationTimeBefore (datetime) –

      Filter the flywheel iterations to include iterations created before the specified time.

  • NextToken (string) – Next token

  • MaxResults (integer) – Maximum number of iteration history results to return

Return type:

dict

Returns:

Response Syntax

{
    'FlywheelIterationPropertiesList': [
        {
            'FlywheelArn': 'string',
            'FlywheelIterationId': 'string',
            'CreationTime': datetime(2015, 1, 1),
            'EndTime': datetime(2015, 1, 1),
            'Status': 'TRAINING'|'EVALUATING'|'COMPLETED'|'FAILED'|'STOP_REQUESTED'|'STOPPED',
            'Message': 'string',
            'EvaluatedModelArn': 'string',
            'EvaluatedModelMetrics': {
                'AverageF1Score': 123.0,
                'AveragePrecision': 123.0,
                'AverageRecall': 123.0,
                'AverageAccuracy': 123.0
            },
            'TrainedModelArn': 'string',
            'TrainedModelMetrics': {
                'AverageF1Score': 123.0,
                'AveragePrecision': 123.0,
                'AverageRecall': 123.0,
                'AverageAccuracy': 123.0
            },
            'EvaluationManifestS3Prefix': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • FlywheelIterationPropertiesList (list) –

      List of flywheel iteration properties

      • (dict) –

        The configuration properties of a flywheel iteration.

        • FlywheelArn (string) –

        • FlywheelIterationId (string) –

        • CreationTime (datetime) –

          The creation start time of the flywheel iteration.

        • EndTime (datetime) –

          The completion time of this flywheel iteration.

        • Status (string) –

          The status of the flywheel iteration.

        • Message (string) –

          A description of the status of the flywheel iteration.

        • EvaluatedModelArn (string) –

          The ARN of the evaluated model associated with this flywheel iteration.

        • EvaluatedModelMetrics (dict) –

          The evaluation metrics associated with the evaluated model.

          • AverageF1Score (float) –

            The average F1 score from the evaluation metrics.

          • AveragePrecision (float) –

            Average precision metric for the model.

          • AverageRecall (float) –

            Average recall metric for the model.

          • AverageAccuracy (float) –

            Average accuracy metric for the model.

        • TrainedModelArn (string) –

          The ARN of the trained model associated with this flywheel iteration.

        • TrainedModelMetrics (dict) –

          The metrics associated with the trained model.

          • AverageF1Score (float) –

            The average F1 score from the evaluation metrics.

          • AveragePrecision (float) –

            Average precision metric for the model.

          • AverageRecall (float) –

            Average recall metric for the model.

          • AverageAccuracy (float) –

            Average accuracy metric for the model.

        • EvaluationManifestS3Prefix (string) –

    • NextToken (string) –

      Next token

Exceptions