factor_agent.web.run_view.Comparison#
- class Comparison(name, segment, holdout, factors, selection, seeds, top_k, train_window, test_window, baseline, with_accepted, difference, verdict, forced, contribution, code_version, written)[source]#
Bases:
objectOne Acceptance report: the user’s model with and without accepted factors, on validation or the hold-out.
nameis the report’s file name without.json(validation, orvalidation_<digest>for a selection).holdoutis true for a report on the hold-out.factorsholds the labels of the factors added to the model.selectionis true for a selection of fewer than every accepted factor,Nonefor a report written before the flag.baselineandwith_acceptedhold each compared statistic averaged overseeds,differencethe second minus the first.verdictis"improves"when the rank IC and the top-k excess return both rise with the factors,"does_not_improve"when neither does,"mixed"otherwise,Nonewhen either is undefined.forcedis true for a hold-out opened again past its lock.contributionis the report’s contribution table, the largest rank IC difference first: empty when no contribution was asked for,Nonefor a report written before the table.writtenis the report file’s time (UTC).
Attributes#
- Comparison.name#
- Comparison.segment#
- Comparison.holdout#
- Comparison.factors#
- Comparison.selection#
- Comparison.seeds#
- Comparison.top_k#
- Comparison.train_window#
- Comparison.test_window#
- Comparison.baseline#
- Comparison.with_accepted#
- Comparison.difference#
- Comparison.verdict#
- Comparison.forced#
- Comparison.contribution#
- Comparison.code_version#
- Comparison.written#