Skip to content

Latest commit

 

History

History
72 lines (41 loc) · 5.52 KB

File metadata and controls

72 lines (41 loc) · 5.52 KB
graph LR
    Plot_Generation_Facade["Plot Generation Facade"]
    Core_Plotting_Utilities["Core Plotting Utilities"]
    Plot_Request_Orchestrator["Plot Request Orchestrator"]
    Plot_Output_Handler["Plot Output Handler"]
    Analysis_Plotting_API["Analysis & Plotting API"]
    Analysis_Plotting_API -- "invokes" --> Plot_Request_Orchestrator
    Plot_Request_Orchestrator -- "orchestrates" --> Plot_Generation_Facade
    Plot_Request_Orchestrator -- "calls" --> Plot_Output_Handler
    Plot_Generation_Facade -- "delegates to" --> Core_Plotting_Utilities
Loading

CodeBoardingDemoContact

Details

The plotting subsystem in libra is designed around a clear separation of concerns, facilitating robust and flexible data visualization. The Analysis & Plotting API serves as the primary entry point, allowing users to initiate high-level analytical and plotting workflows. This API invokes the Plot Request Orchestrator, which acts as a crucial intermediary. The Plot Request Orchestrator is responsible for preparing data and parameters for plotting, and then orchestrates the Plot Generation Facade to initiate the actual plot creation. Additionally, the Plot Request Orchestrator coordinates with the Plot Output Handler to manage the rendering and saving of generated plots. The Plot Generation Facade provides a simplified interface for plot generation, abstracting complexities and dispatching requests to the Core Plotting Utilities. These utilities encapsulate the concrete logic for generating various plot types, performing the actual data visualization and rendering operations. This architecture ensures a streamlined flow from user request to plot output, with clear responsibilities for each component.

Plot Generation Facade

Provides a unified, simplified interface for initiating plot generation, abstracting the underlying complexities of specific plotting utilities for both Keras and non-Keras models. It acts as a dispatcher to the concrete plotting functions based on the model type.

Related Classes/Methods:

Core Plotting Utilities

Encapsulates the concrete logic for generating various types of plots, such as loss curves, accuracy plots, elbow cluster graphs, and multi-class ROC curves. These utilities perform the actual data visualization and rendering operations.

Related Classes/Methods:

Plot Request Orchestrator

Serves as an intermediary for high-level plot requests, abstracting the details of how plots are generated and saved from the higher-level query components. It prepares the necessary data and parameters for the plotting process and coordinates with the plot rendering and saving mechanisms.

Related Classes/Methods:

Plot Output Handler

Manages the final stages of visualization, including rendering the generated plots to a visual format (e.g., displaying them) and persisting them to a specified location (e.g., saving to a file).

Related Classes/Methods:

Analysis & Plotting API

Provides the primary entry points for users or other modules to initiate comprehensive analytical and plotting workflows. It acts as the high-level interface through which the client object (the user's primary interaction point) accesses the visualization capabilities.

Related Classes/Methods: