Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

combining plots #142

Merged
merged 1 commit into from
Nov 11, 2024
Merged

combining plots #142

merged 1 commit into from
Nov 11, 2024

Conversation

joyce-yuan
Copy link
Collaborator

given a set of experiments, plot_combined_exp.py will combine the experiments onto one graph

def combine_and_plot(
    exp_name: str, 
    experiment_map: Dict[str, str], 
    metrics_list: List[str], 
    plot_titles: List[str], 
    xlabels: List[str], 
    ylabels: List[str], 
    output_dir: str, 
) -> None:
    """
    Combine and plot metrics from multiple experiments with 95% confidence intervals.
    
    Args:
        exp_name (str): Name of the experiment to be used in the output file names
        experiment_map (Dict[str, str]): Dictionary mapping experiment key names to file paths.
        metrics_list (List[str]): List of metrics to plot (e.g., ['train_acc', 'test_loss']).
        plot_titles (List[str]): List of titles for each plot in the same order as metrics_list.
        xlabels (List[str]): List of x-axis labels in the same order as metrics_list.
        ylabels (List[str]): List of y-axis labels in the same order as metrics_list.
        output_dir (str): Directory to save the plots and resulting logs.
    """

@tremblerz tremblerz merged commit 95eae15 into main Nov 11, 2024
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants