twinlab.list_emulators_statuses#

twinlab.list_emulators_statuses(verbose=False)[source]#

List the status of training and trained emulators, as well as those that have failed to train.

This includes the start and end times of training, the status of the emulator, and any error messages if the emulator failed to train.

Parameters:

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

Returns:

Statuses of emulators on the twinLab cloud.

Return type:

list

Example

statuses = tl.list_emulators_statuses()
print(statuses)
[
    {
        "status": "success",
        "start_time": "2024-08-20 12:28:05",
        "end_time": "2024-08-20 12:28:07",
        "emulator_name": "biscuits",
    },
    {
        "status": "processing",
        "start_time": "2024-08-20 12:19:16",
        "emulator_name": "gardening",
    },
    {
        "status": "failure",
        "start_time": "2024-08-06 13:07:06",
        "end_time": "2024-08-06 13:07:07",
        "error": "KeyError: DataFrame must contain columns: ['X,y']",
        "emulator_name": "new-emulator",
    },
]