twinlab.Emulator.view#

Emulator.view(verbose=False)[source]#

View an emulator that exists on the twinLab cloud.

This returns the parameter configuration of the emulator that is stored on the twinLab cloud. This allows a user to check the parameters that were used to train an emulator.

Parameters:

verbose (bool, optional) – Display information about the operation while running.

Return type:

dict

Example

emulator = tl.Emulator("quickstart")
emulator.view()
{'dataset_id': 'quickstart',
 'decompose_inputs': False,
 'decompose_outputs': False,
 'estimator': 'gaussian_process_regression',
 'estimator_kwargs': {'detrend': False, 'estimator_type': 'single_task_gp'},
 'inputs': ['x'],
 'modal_handle': 'fc-6L9EsWZhOkc8xyHguPphh6',
 'model_id': 'quickstart',
 'model_selection': False,
 'model_selection_kwargs': {'base_kernels': 'restricted',
                            'depth': 1,
                            'evaluation_metric': 'MSLL',
                            'val_ratio': 0.2},
 'outputs': ['y'],
 'train_test_ratio': 0.8}