Skip to content

Mean uses floor, why? #1

@mdlnl

Description

@mdlnl

Mean is floor(Sum / Length).

The mean calculation computes the exact mean and then floors it. Is this always correct, or are there some cases where the smallest integer larger than the non-integer mean produces lower cost?

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