Result Structs
module crystallize.experiments.result_structs
Section titled “module crystallize.experiments.result_structs”class TreatmentMetrics
Section titled “class TreatmentMetrics”TreatmentMetrics(metrics: ‘Dict[str, List[Any]]‘)
method TreatmentMetrics.__init__
Section titled “method TreatmentMetrics.__init__”__init__(metrics: 'Dict[str, List[Any]]') → Noneclass HypothesisResult
Section titled “class HypothesisResult”HypothesisResult(name: ‘str’, results: ‘Dict[str, Dict[str, Any]]’, ranking: ‘Dict[str, Any]‘)
method HypothesisResult.__init__
Section titled “method HypothesisResult.__init__”__init__( name: 'str', results: 'Dict[str, Dict[str, Any]]', ranking: 'Dict[str, Any]') → Nonemethod HypothesisResult.get_for_treatment
Section titled “method HypothesisResult.get_for_treatment”get_for_treatment(treatment: 'str') → Optional[Dict[str, Any]]class ExperimentMetrics
Section titled “class ExperimentMetrics”ExperimentMetrics(baseline: ‘TreatmentMetrics’, treatments: ‘Dict[str, TreatmentMetrics]’, hypotheses: ‘List[HypothesisResult]‘)
method ExperimentMetrics.__init__
Section titled “method ExperimentMetrics.__init__”__init__( baseline: 'TreatmentMetrics', treatments: 'Dict[str, TreatmentMetrics]', hypotheses: 'List[HypothesisResult]') → Nonemethod ExperimentMetrics.to_df
Section titled “method ExperimentMetrics.to_df”to_df()class AggregateData
Section titled “class AggregateData”Grouped results collected from all replicates.
method AggregateData.__init__
Section titled “method AggregateData.__init__”__init__( baseline_metrics: 'Dict[str, List[Any]]', treatment_metrics_dict: 'Dict[str, Dict[str, List[Any]]]', baseline_seeds: 'List[int]', treatment_seeds_agg: 'Dict[str, List[int]]', provenance_runs: "'DefaultDict[str, Dict[int, List[Mapping[str, Any]]]]'", errors: 'Dict[str, Exception]') → None