Skip to content

Choose the minimal conditions to allow fit #128

@wdevazelhes

Description

@wdevazelhes

In #127, we saw that algorithms should return a special error message if the number of samples is too small to be able to run. Therefore, we should choose the minimal number of samples on which we want to allow fit. If theoretically the algorithm would work with only n sample, we should ensure that the code indeed works with n samples as input. Therefore we should ideally also test these minimal conditions (minimally allowed conditions and forbidden conditions).

For instance: MMC_Supervised should theoretically work on two samples (either if they are from the same class, meaning MMC will put them into a point, or if they have a different class, in this case it can put them to any distance superior to 1)

Or also for instance maybe LSML_Supervised would at least need 4 samples to be able to form one quadruplet

Metadata

Metadata

Assignees

No one assigned

    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