Skip to content

Remove error "Dataset already contains the target column" when predicting #636

@lars-reimann

Description

@lars-reimann

Is your feature request related to a problem?

Functions that compute metrics of a classifier/regressor expect a tagged table. predict specifically forbids tables that include the target column already, so also a tagged table.

Desired solution

Don't raise an error in predict if the input already has the target. Simply overwrite the target column instead.

Possible alternatives (optional)

No response

Screenshots (optional)

No response

Additional Context (optional)

No response

Metadata

Metadata

Assignees

Labels

releasedIncluded in a release

Type

No type

Projects

Status

✔️ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions