Skip to content

configviscomponent

configviscomponent

Module for config visu component

Classes

ConfigVisComponent

ConfigVisComponent(
    meta_function=None,
    target_value_list=None,
    assert_on_error=False,
)

Bases: SingleExpVisComponent

Visu component to show the configs of a single experiment as yaml code

Source code in niceml/dashboard/components/expviscomponent.py
def __init__(
    self,
    meta_function: Optional[MetaFunction] = None,
    target_value_list: Optional[List[Any]] = None,
    assert_on_error: bool = False,
):
    # Create empty list for chart images
    self.chart_images_list: List[Image.Image] = []
    self.meta_function = meta_function
    self.target_value_list = [] if target_value_list is None else target_value_list
    self.assert_on_error = assert_on_error