Skip to content

Keep track of negatives in HData #136

@tizianocitro

Description

@tizianocitro

Is your feature request related to a problem? Please describe.

For some models, it's helpful to have negative and positive hyperedges separated.

Describe the solution you would like

Add mask for positive and negative samples.
We may need a remove_negatives() functions to clean an hdata before adding new negatives.
We could also have a cat_negatives() that does that automatically.

Describe alternatives you've considered

Keep a negative_hyperedge_index and positive_hyperedge_index.

Additional context

NA.

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