twinlab.Emulator.get_process#

Emulator.get_process(process_id, verbose=False)[source]#

Get the results from a process associated with the emulator on the twinLab cloud.

This allows a user to retrieve any results from processes (jobs) they have run previously. The list of available process IDs can be obtained from the list_processes() method.

Parameters:
  • process_id (str) – The ID of the process from which to get the results.

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

Return type:

Union[None, float, DataFrame, Tuple[DataFrame, DataFrame], Tuple[DataFrame, float], str]

Example

emulator = tl.Emulator("quickstart")
emulator.get_process("sample-four-hungry-wolves")
            y
            0         1         2         3
0   -0.730114  0.474193  0.046743  1.327620
1   -0.656061  0.505923  0.074198  1.289113
2   -0.579500  0.538610  0.100665  1.247405
3   -0.502726  0.574996  0.128068  1.205057
4   -0.428691  0.614687  0.157740  1.165903