Skip to content

Allow a retrain bank to be built without precomputed scores #446

Description

@luciaquirke

Building a bank currently requires finished attribution scores, because the validate path calls load_scores_loss_signed unconditionally and writes a score_sum column for every row of validation.csv — but when exclude_zero_scores is false, scores are only used for the document count and that reporting column, both of which are avoidable. Making scores optional there would let a filter's random controls be trained during the scoring pass instead of after it, which is about 10 hours on a 1M-document row.

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