Skip to content

Incorrect use of @variants container on response #778

Open
@swallez

Description

@swallez

ml.evaluate_data_frame response is a container, which isn't supported in metamodel.ts (variants is only defined on Interface).

/** @variants container */
export class Response {
body: {
classification?: DataframeClassificationSummary
outlier_detection?: DataframeOutlierDetectionSummary
regression?: DataframeRegressionSummary
}
}

We should either

  • formally support it for properties requests and responses and update metamodel.ts
  • or change this class to use a value_body pointing to a container class and forbid @variants on requests and responses.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions