Skip to content

Error in Finding the Best Step Number #4

Description

@Soothysay

In your code from lines 334-348 (

final_coverage, best_step = None, None
)
you seem to iterate over the different step size validation coverages and simply choose the first index>tolerance which is greater than (1 - val_significance) * 100. This can lead to trivial bands.
Consider the case where your smallest step gives you 99% validation coverage. By the current logic, you will choose the index as your step size and will thus get a trivial band.

Am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions