Skip to content

[ENH] Add sample_indices_ for SMOTE/ADASYN classes #772

Open
@glemaitre

Description

@glemaitre

SMOTE/ADASYN classes currently do not provide a sample_indices_ attribute since they are generating samples that do not belong to the original dataset.

However, we could create a new semantic for these samplers that generate data. sample_indices_ could expose a tuple of the sample used to generate the new point. For the samples that are not generated, it will only be a single integer.

This would implement a feature requested in issues and gitter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions