-
Notifications
You must be signed in to change notification settings - Fork 416
visualizer interface #1062
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
Merged
Merged
visualizer interface #1062
Changes from 1 commit
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,105 @@ | ||
| from typing import Dict, Any | ||
| import matplotlib.pyplot as plt | ||
| import seaborn as sns | ||
|
|
||
| class RobynVisualizer: | ||
| def __init__(self): | ||
| pass | ||
|
|
||
| def plot_adstock(self, plot: bool = False) -> plt.Figure: | ||
| """ | ||
| Create example plots for adstock hyperparameters. | ||
|
|
||
| Args: | ||
| plot (bool): Whether to display the plot. | ||
|
|
||
| Returns: | ||
| plt.Figure: The generated figure. | ||
| """ | ||
| pass | ||
|
|
||
| def plot_saturation(self, plot: bool = False) -> plt.Figure: | ||
| """ | ||
| Create example plots for saturation hyperparameters. | ||
|
|
||
| Args: | ||
| plot (bool): Whether to display the plot. | ||
|
|
||
| Returns: | ||
| plt.Figure: The generated figure. | ||
| """ | ||
| pass | ||
|
|
||
| def plot_moo_distribution(self, output_models: Dict[str, Any]) -> plt.Figure: | ||
| """ | ||
| Plot MOO (multi-objective optimization) distribution. | ||
|
|
||
| Args: | ||
| output_models (Dict[str, Any]): The output models data. | ||
|
|
||
| Returns: | ||
| plt.Figure: The generated figure. | ||
| """ | ||
| pass | ||
|
|
||
| def plot_moo_cloud(self, output_models: Dict[str, Any]) -> plt.Figure: | ||
| """ | ||
| Plot MOO (multi-objective optimization) cloud. | ||
|
|
||
| Args: | ||
| output_models (Dict[str, Any]): The output models data. | ||
|
|
||
| Returns: | ||
| plt.Figure: The generated figure. | ||
| """ | ||
| pass | ||
|
|
||
| def plot_ts_validation(self, output_models: Dict[str, Any]) -> plt.Figure: | ||
| """ | ||
| Plot time-series validation. | ||
|
|
||
| Args: | ||
| output_models (Dict[str, Any]): The output models data. | ||
|
|
||
| Returns: | ||
| plt.Figure: The generated figure. | ||
| """ | ||
| pass | ||
|
|
||
| def plot_onepager(self, input_collect: Dict[str, Any], output_collect: Dict[str, Any], select_model: str) -> Dict[str, plt.Figure]: | ||
| """ | ||
| Generate one-pager plots for a selected model. | ||
|
|
||
| Args: | ||
| input_collect (Dict[str, Any]): The input collection data. | ||
| output_collect (Dict[str, Any]): The output collection data. | ||
| select_model (str): The selected model identifier. | ||
|
|
||
| Returns: | ||
| Dict[str, plt.Figure]: A dictionary of generated figures. | ||
| """ | ||
| pass | ||
|
|
||
| def plot_allocator(self, allocator_collect: Dict[str, Any]) -> plt.Figure: | ||
| """ | ||
| Plot allocator's output. | ||
|
|
||
| Args: | ||
| allocator_collect (Dict[str, Any]): The allocator collection data. | ||
|
|
||
| Returns: | ||
| plt.Figure: The generated figure. | ||
| """ | ||
| pass | ||
|
|
||
| def plot_response(self, response_data: Dict[str, Any]) -> plt.Figure: | ||
| """ | ||
| Plot response curves. | ||
|
|
||
| Args: | ||
| response_data (Dict[str, Any]): The response data. | ||
|
|
||
| Returns: | ||
| plt.Figure: The generated figure. | ||
| """ | ||
| pass |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.