tigerforecast.experiments package

core

create_full_problem_to_methods(problems_ids, …) Description: Associate all given problems to all given methods.
run_experiment(problem, method[, metric, …]) Description: Initializes the experiment instance.
run_experiments(problem, method[, metric, …]) Description: Initializes the experiment instance.

metrics

mse(y_pred, y_true) Description: mean-square-error loss
cross_entropy(y_pred, y_true[, eps]) Description: cross entropy loss, y_pred is equivalent to logits and y_true to labels

experiment

Experiment() Description: Streamlines the process of performing experiments and comparing results of methods across a range of problems.

new_experiment

NewExperiment() Description: class for implementing algorithms with enforced modularity

precomputed

recompute([verbose, load_bar]) Description: Recomputes all the results.
load_prob_method_to_result([problem_ids, …]) Description: Initializes the experiment instance.