experiments/sarcos.py
def sarcos_all_joints_data():
    """
    Loads and returns data of SARCOS dataset for all joints.

    Returns
    -------
    data : list
        A list of length = 1, where each element is a dictionary which contains ``train_outputs``,
        ``train_inputs``, ``test_outputs``, ``test_inputs``, and ``id``
    """

    train = sio.loadmat(TRAIN_PATH)['sarcos_inv']
    test = sio.loadmat(TEST_PATH)['sarcos_inv_test']
    return{
        'train_inputs': train[:, :21],
        'train_outputs': train[:, 21:],
        'test_inputs': test[:, :21],
        'test_outputs': test[:, 21:],
        'id': 0
    }

    Loads and returns data of SARCOS dataset for all joints.

    Returns
    -------
    data : list
        A list of length = 1, where each element is a dictionary which contains ``train_outputs``,
        ``train_inputs``, ``test_outputs``, ``test_inputs``, and ``id``
    
Loads and returns data of SARCOS dataset for all joints.
Returns


Loads and returns data of SARCOS dataset for all joints . Returns
def sarcos_all_joints_data():
    train = sio.loadmat(TRAIN_PATH)['sarcos_inv']
    test = sio.loadmat(TEST_PATH)['sarcos_inv_test']
    return{
        'train_inputs': train[:, :21],
        'train_outputs': train[:, 21:],
        'test_inputs': test[:, :21],
        'test_outputs': test[:, 21:],
        'id': 0
    }
def sarcos_all_joints_data ( ) : train = sio . loadmat ( TRAIN_PATH ) [ 'sarcos_inv' ] test = sio . loadmat ( TEST_PATH ) [ 'sarcos_inv_test' ] return { 'train_inputs' : train [ : , : 21 ] , 'train_outputs' : train [ : , 21 : ] , 'test_inputs' : test [ : , : 21 ] , 'test_outputs' : test [ : , 21 : ] , 'id' : 0 }
Loads and returns data of SARCOS dataset for all joints.
Loads and returns data of SARCOS dataset for all joints .
"""
    Loads and returns data of SARCOS dataset for all joints.

    Returns
    -------
    data : list
        A list of length = 1, where each element is a dictionary which contains ``train_outputs``,
        ``train_inputs``, ``test_outputs``, ``test_inputs``, and ``id``
    """