Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Expose classes_ attribute on classification Pipeline objects #175

Description

@rtanase

Is your feature request related to a problem? Please describe.
If a Pipeline is being used for a classification problem, it would be great to include the determined classes during training so that predict_proba output can be interpreted.

Describe the solution you'd like
I would like the Pipeline object to expose a classes_ attribute, just like a classifier would do if used on its own (without being wrapped in a Pipeline).

Describe alternatives you've considered
When used outside of a Pipeline, the BasePredictor class ensures that classifiers expose this attribute.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions