Skip to content

[ENH] inter-scitype adapters for estimators and default coercions #6892

Open
@fkiraly

Description

We are seeing more and more examples where an estimator of one scitype should be considered as another, in composition.

Examples:

I think the cleanest way to address these would be:

  • write coercion wrappers for the individual transformation
  • write a coercion layer, that collects standard ways to coerce objects of scitype X to objects of scitype Y.
    • the coercion layer could be attached to a to_scitype method that all base classes possess.
    • This would allow any user to pass more scitypes without explicit coercion, and developers to write more flexible composites by prefacing with a `to_scitype coercion.

Metadata

Assignees

Labels

Type

No type

Projects

  • Status

    In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions