3. Multivariate Ornstein-Uhlenbeck Effective Connectivity

This notebook show how to estimate effective connectivity using the Multivariate Ornstein-Uhlenbeck (MOU) dynamical systems model.

Gilson, M., Moreno-Bote, R., Ponce-Alvarez, A., Ritter, P., & Deco, G. (2016). Estimation of directed effective connectivity from fMRI functional connectivity hints at asymmetries of cortical connectome. PLOS Computational Biology, 12(3), e1004762. https://doi.org/10.1371/journal.pcbi.1004762

3.1. Environment setup & pyMOU configuration

[4]:
import os
import os.path
from pathlib import Path
import numpy as np
import scipy.linalg as spl
from scipy import stats
import scipy.io as sio
import matplotlib.pyplot as plt
from pymou import MOU



model = 'new_2021'



# Optimization parameters
min_C     =  -1
max_C     =   1
eta_C     =   0.005
eta_Sigma =   0.05
eta_tau   =   0.05
max_iter  =   1000

n_sub    = 156
delta_TR = 1
n_rois   = 24


# Index dictionary
conf = {
        'tasks'   : ['vfm','movie','rest'],
        'eccen'   : ['fovea','para-fovea'],
        'fovea'   : [
                    [0,2,4,6,8,10,12,14,16,18,20,22],  #  < fovea
                    [1,3,5,7,9,11,13,15,17,19,21,23],   #  > fovea
                    ],
        'roiname' : ['V1','V2','V3'],
        'rois'    : [
                    [0,1,2,3,12,13,14,15],   # V1
                    [4,5,6,7,16,17,18,19],   # V2
                    [8,9,10,11,20,21,22,23]  # V3
                    ],
        'task'    : [
                    [0,1],     # retinotopy
                    [2,3,4,5], # movie watching
                    [6,7,8,9]  # resting state
                    ],

        'hemis'   : ['left', 'right'],
        'flows'   : ['outflow', 'inflow']
        }

The data is organized into retinotopy (RETBAR 1-2), movie-watching (MOVIE 1-4), and resting-state (REST 1-4) scans (10 sessions).

[5]:
# Load the time series data
time_series_path = Path('../../../temp/data/tseries_24rois_allsubjects_cleaned.npy')
absolute_path = time_series_path.resolve()
print(f"Reconstructed time series path: {absolute_path}")

time_series = np.load(time_series_path, allow_pickle=True).item()
data = time_series['data']
scan_idx = time_series['scan_idx']
print(scan_idx.shape)
Reconstructed time series path: /home/nicolas/Documents/GitHubProjects/retNet/temp/data/tseries_24rois_allsubjects_cleaned.npy
(10, 156)

3.2. Retinotopy time series

Only part of the dataset was usable (157 participants). As a quality check, in what follows we print the time series for the first two sessions.

[ ]:
# print VFM (first two sessions)
tSeries = np.zeros((n_sub,2,n_rois,300))

for i_sess in range(2):
    for i_sub in range(n_sub):
        tSeries[i_sub,i_sess,:,:] = data[scan_idx[i_sess,i_sub]]

n_sub  = tSeries.shape[0]
v_tau  = np.arange(3,dtype=float)
n_tau  = v_tau.size
t_time = tSeries.shape[3]

n_cond = 3

ts_emp = np.zeros([n_sub,n_cond,n_rois,t_time])
FC_emp = np.zeros([n_sub,n_cond,n_tau,n_rois,n_rois])


ts_emp = tSeries

for i_sub in range(n_sub):

    fig, axs = plt.subplots(1, 2, figsize=(9, 2), dpi=300)

    # Session 1
    plt.sca(axs[0])
    tps = ts_emp[i_sub, 0, :, :]
    im0 = plt.imshow(tps, cmap='Spectral_r', aspect='auto')
    plt.ylabel('Source ROI', fontsize=10)
    plt.xlabel('TR', fontsize=10)
    plt.title('Session 1', fontsize=10)

    # Session 2
    plt.sca(axs[1])
    tps = ts_emp[i_sub, 1, :, :]
    im1 = plt.imshow(tps, cmap='Spectral_r', aspect='auto')
    plt.xlabel('TR', fontsize=10)
    plt.title('Session 2', fontsize=10)

    # Add subject label vertically on the left
    axs[0].text(-0.25, 0.5, f'Subject {i_sub+1}', transform=axs[0].transAxes,
                fontsize=14, fontweight='bold', va='center', rotation=90)

    # Add shared colorbar on the right with matching height
    fig.subplots_adjust(right=0.88)
    cbar_ax = fig.add_axes([0.90, 0.15, 0.02, 0.7])
    cbar = fig.colorbar(im1, cax=cbar_ax)
    cbar.set_label('% BOLD', fontsize=10)

    plt.show()
../_images/notebooks_retNet_MOU_6_0.png
../_images/notebooks_retNet_MOU_6_1.png
../_images/notebooks_retNet_MOU_6_2.png
../_images/notebooks_retNet_MOU_6_3.png
../_images/notebooks_retNet_MOU_6_4.png
../_images/notebooks_retNet_MOU_6_5.png
../_images/notebooks_retNet_MOU_6_6.png
../_images/notebooks_retNet_MOU_6_7.png
../_images/notebooks_retNet_MOU_6_8.png
../_images/notebooks_retNet_MOU_6_9.png
../_images/notebooks_retNet_MOU_6_10.png
../_images/notebooks_retNet_MOU_6_11.png
../_images/notebooks_retNet_MOU_6_12.png
../_images/notebooks_retNet_MOU_6_13.png
../_images/notebooks_retNet_MOU_6_14.png
../_images/notebooks_retNet_MOU_6_15.png
../_images/notebooks_retNet_MOU_6_16.png
../_images/notebooks_retNet_MOU_6_17.png
../_images/notebooks_retNet_MOU_6_18.png
../_images/notebooks_retNet_MOU_6_19.png
../_images/notebooks_retNet_MOU_6_20.png
../_images/notebooks_retNet_MOU_6_21.png
../_images/notebooks_retNet_MOU_6_22.png
../_images/notebooks_retNet_MOU_6_23.png
../_images/notebooks_retNet_MOU_6_24.png
../_images/notebooks_retNet_MOU_6_25.png
../_images/notebooks_retNet_MOU_6_26.png
../_images/notebooks_retNet_MOU_6_27.png
../_images/notebooks_retNet_MOU_6_28.png
../_images/notebooks_retNet_MOU_6_29.png
../_images/notebooks_retNet_MOU_6_30.png
../_images/notebooks_retNet_MOU_6_31.png
../_images/notebooks_retNet_MOU_6_32.png
../_images/notebooks_retNet_MOU_6_33.png
../_images/notebooks_retNet_MOU_6_34.png
../_images/notebooks_retNet_MOU_6_35.png
../_images/notebooks_retNet_MOU_6_36.png
../_images/notebooks_retNet_MOU_6_37.png
../_images/notebooks_retNet_MOU_6_38.png
../_images/notebooks_retNet_MOU_6_39.png
../_images/notebooks_retNet_MOU_6_40.png
../_images/notebooks_retNet_MOU_6_41.png
../_images/notebooks_retNet_MOU_6_42.png
../_images/notebooks_retNet_MOU_6_43.png
../_images/notebooks_retNet_MOU_6_44.png
../_images/notebooks_retNet_MOU_6_45.png
../_images/notebooks_retNet_MOU_6_46.png
../_images/notebooks_retNet_MOU_6_47.png
../_images/notebooks_retNet_MOU_6_48.png
../_images/notebooks_retNet_MOU_6_49.png
../_images/notebooks_retNet_MOU_6_50.png
../_images/notebooks_retNet_MOU_6_51.png
../_images/notebooks_retNet_MOU_6_52.png
../_images/notebooks_retNet_MOU_6_53.png
../_images/notebooks_retNet_MOU_6_54.png
../_images/notebooks_retNet_MOU_6_55.png
../_images/notebooks_retNet_MOU_6_56.png
../_images/notebooks_retNet_MOU_6_57.png
../_images/notebooks_retNet_MOU_6_58.png
../_images/notebooks_retNet_MOU_6_59.png
../_images/notebooks_retNet_MOU_6_60.png
../_images/notebooks_retNet_MOU_6_61.png
../_images/notebooks_retNet_MOU_6_62.png
../_images/notebooks_retNet_MOU_6_63.png
../_images/notebooks_retNet_MOU_6_64.png
../_images/notebooks_retNet_MOU_6_65.png
../_images/notebooks_retNet_MOU_6_66.png
../_images/notebooks_retNet_MOU_6_67.png
../_images/notebooks_retNet_MOU_6_68.png
../_images/notebooks_retNet_MOU_6_69.png
../_images/notebooks_retNet_MOU_6_70.png
../_images/notebooks_retNet_MOU_6_71.png
../_images/notebooks_retNet_MOU_6_72.png
../_images/notebooks_retNet_MOU_6_73.png
../_images/notebooks_retNet_MOU_6_74.png
../_images/notebooks_retNet_MOU_6_75.png
../_images/notebooks_retNet_MOU_6_76.png
../_images/notebooks_retNet_MOU_6_77.png
../_images/notebooks_retNet_MOU_6_78.png
../_images/notebooks_retNet_MOU_6_79.png
../_images/notebooks_retNet_MOU_6_80.png
../_images/notebooks_retNet_MOU_6_81.png
../_images/notebooks_retNet_MOU_6_82.png
../_images/notebooks_retNet_MOU_6_83.png
../_images/notebooks_retNet_MOU_6_84.png
../_images/notebooks_retNet_MOU_6_85.png
../_images/notebooks_retNet_MOU_6_86.png
../_images/notebooks_retNet_MOU_6_87.png
../_images/notebooks_retNet_MOU_6_88.png
../_images/notebooks_retNet_MOU_6_89.png
../_images/notebooks_retNet_MOU_6_90.png
../_images/notebooks_retNet_MOU_6_91.png
../_images/notebooks_retNet_MOU_6_92.png
../_images/notebooks_retNet_MOU_6_93.png
../_images/notebooks_retNet_MOU_6_94.png
../_images/notebooks_retNet_MOU_6_95.png
../_images/notebooks_retNet_MOU_6_96.png
../_images/notebooks_retNet_MOU_6_97.png
../_images/notebooks_retNet_MOU_6_98.png
../_images/notebooks_retNet_MOU_6_99.png
../_images/notebooks_retNet_MOU_6_100.png
../_images/notebooks_retNet_MOU_6_101.png
../_images/notebooks_retNet_MOU_6_102.png
../_images/notebooks_retNet_MOU_6_103.png
../_images/notebooks_retNet_MOU_6_104.png
../_images/notebooks_retNet_MOU_6_105.png
../_images/notebooks_retNet_MOU_6_106.png
../_images/notebooks_retNet_MOU_6_107.png
../_images/notebooks_retNet_MOU_6_108.png
../_images/notebooks_retNet_MOU_6_109.png
../_images/notebooks_retNet_MOU_6_110.png
../_images/notebooks_retNet_MOU_6_111.png
../_images/notebooks_retNet_MOU_6_112.png
../_images/notebooks_retNet_MOU_6_113.png
../_images/notebooks_retNet_MOU_6_114.png
../_images/notebooks_retNet_MOU_6_115.png
../_images/notebooks_retNet_MOU_6_116.png
../_images/notebooks_retNet_MOU_6_117.png
../_images/notebooks_retNet_MOU_6_118.png
../_images/notebooks_retNet_MOU_6_119.png
../_images/notebooks_retNet_MOU_6_120.png
../_images/notebooks_retNet_MOU_6_121.png
../_images/notebooks_retNet_MOU_6_122.png
../_images/notebooks_retNet_MOU_6_123.png
../_images/notebooks_retNet_MOU_6_124.png
../_images/notebooks_retNet_MOU_6_125.png
../_images/notebooks_retNet_MOU_6_126.png
../_images/notebooks_retNet_MOU_6_127.png
../_images/notebooks_retNet_MOU_6_128.png
../_images/notebooks_retNet_MOU_6_129.png
../_images/notebooks_retNet_MOU_6_130.png
../_images/notebooks_retNet_MOU_6_131.png
../_images/notebooks_retNet_MOU_6_132.png
../_images/notebooks_retNet_MOU_6_133.png
../_images/notebooks_retNet_MOU_6_134.png
../_images/notebooks_retNet_MOU_6_135.png
../_images/notebooks_retNet_MOU_6_136.png
../_images/notebooks_retNet_MOU_6_137.png
../_images/notebooks_retNet_MOU_6_138.png
../_images/notebooks_retNet_MOU_6_139.png
../_images/notebooks_retNet_MOU_6_140.png
../_images/notebooks_retNet_MOU_6_141.png
../_images/notebooks_retNet_MOU_6_142.png
../_images/notebooks_retNet_MOU_6_143.png
../_images/notebooks_retNet_MOU_6_144.png
../_images/notebooks_retNet_MOU_6_145.png
../_images/notebooks_retNet_MOU_6_146.png
../_images/notebooks_retNet_MOU_6_147.png
../_images/notebooks_retNet_MOU_6_148.png
../_images/notebooks_retNet_MOU_6_149.png
../_images/notebooks_retNet_MOU_6_150.png
../_images/notebooks_retNet_MOU_6_151.png
../_images/notebooks_retNet_MOU_6_152.png
../_images/notebooks_retNet_MOU_6_153.png
../_images/notebooks_retNet_MOU_6_154.png
../_images/notebooks_retNet_MOU_6_155.png

3.3. Lyapunov optimization of the spatio-temporal covariances

To increase the statistical validity of the optimization results, we concatenate the data across time.

[ ]:
out_path         = '../../../temp/'

# Jacobian (off-diagonal elements = EC)
J_mod       = np.zeros([n_cond,n_sub,n_rois,n_rois])

# local variance (input covariance matrix, chosen to be diagonal)
Sigma_mod   = np.zeros([n_cond,n_sub,n_rois,n_rois])

model_fit   = np.zeros([n_cond,n_sub])
model_error = np.zeros([n_cond,n_sub])

t_time      = [300, 900] # time after concatenation


for i_cond in range(n_cond):

    for i_sub in range(n_sub):

        runs = conf['task'][i_cond]

        if i_cond == 0:

            run_1 = data[scan_idx[runs[0],i_sub]]
            run_2 = data[scan_idx[runs[1],i_sub]]

            ts_emp = np.concatenate((run_1, run_2), axis=1).T

        if i_cond == 1 or i_cond == 2:

            run_1 = data[scan_idx[runs[0],i_sub]]
            run_2 = data[scan_idx[runs[1],i_sub]]
            run_3 = data[scan_idx[runs[2],i_sub]]
            run_4 = data[scan_idx[runs[3],i_sub]]

            ts_emp = np.concatenate((run_1, run_2, run_3, run_4), axis=1).T


        print(ts_emp.shape)

        T = ts_emp.shape[1]

        mou = MOU()

        mou.fit(ts_emp, lag=1, min_C=min_C, max_C=max_C, eta_C=eta_C, eta_tau=eta_tau, eta_Sigma=eta_Sigma, max_iter=10000, algo_version='2021')


        print('participant : ', str(i_sub+1), conf['tasks'][i_cond], 'Model fit (Pearson correlation):',mou.d_fit['correlation'])
        print('participant : ', str(i_sub+1), conf['tasks'][i_cond], 'Model error (matrix distance):',mou.d_fit['distance'])

        # get results
        J_mod[i_cond,i_sub,:,:]       = mou.J # J_ij connection from source i to target j
        Sigma_mod[i_cond,i_sub,:,:]   = mou.Sigma
        model_fit[i_cond,i_sub]       = mou.d_fit['correlation']
        model_error[i_cond,i_sub]     = mou.d_fit['distance']

(600, 24)
participant :  1 vfm Model fit (Pearson correlation): 0.791544360691087
participant :  1 vfm Model error (matrix distance): 0.5428170171725957
(600, 24)
participant :  2 vfm Model fit (Pearson correlation): 0.6430734156517526
participant :  2 vfm Model error (matrix distance): 0.4754288794917413
(600, 24)
participant :  3 vfm Model fit (Pearson correlation): 0.813274177088821
participant :  3 vfm Model error (matrix distance): 0.5690151344902958
(600, 24)
participant :  4 vfm Model fit (Pearson correlation): 0.9334048139206934
participant :  4 vfm Model error (matrix distance): 0.6095956532048941
(600, 24)
participant :  5 vfm Model fit (Pearson correlation): 0.9285054015018929
participant :  5 vfm Model error (matrix distance): 0.5978288588923386
(600, 24)
participant :  6 vfm Model fit (Pearson correlation): 0.7244603406937349
participant :  6 vfm Model error (matrix distance): 0.3877286532337017
(600, 24)
participant :  7 vfm Model fit (Pearson correlation): 0.6968089701341946
participant :  7 vfm Model error (matrix distance): 0.665617301918931
(600, 24)
participant :  8 vfm Model fit (Pearson correlation): 0.9440283473728889
participant :  8 vfm Model error (matrix distance): 0.6189230835264765
(600, 24)
participant :  9 vfm Model fit (Pearson correlation): 0.9345053920565263
participant :  9 vfm Model error (matrix distance): 0.5681217555442029
(600, 24)
participant :  10 vfm Model fit (Pearson correlation): 0.9480582826427967
participant :  10 vfm Model error (matrix distance): 0.5069425997528443
(600, 24)
participant :  11 vfm Model fit (Pearson correlation): 0.8692774998440876
participant :  11 vfm Model error (matrix distance): 0.5907467146066046
(600, 24)
participant :  12 vfm Model fit (Pearson correlation): 0.8870728270744226
participant :  12 vfm Model error (matrix distance): 0.4930353419484488
(600, 24)
participant :  13 vfm Model fit (Pearson correlation): 0.7961822112648915
participant :  13 vfm Model error (matrix distance): 0.3479593225742038
(600, 24)
participant :  14 vfm Model fit (Pearson correlation): 0.7166728872622021
participant :  14 vfm Model error (matrix distance): 0.4441920056893196
(600, 24)
participant :  15 vfm Model fit (Pearson correlation): 0.9137043493236009
participant :  15 vfm Model error (matrix distance): 0.6376270623386362
(600, 24)
participant :  16 vfm Model fit (Pearson correlation): 0.8818239388017357
participant :  16 vfm Model error (matrix distance): 0.5888418190048699
(600, 24)
participant :  17 vfm Model fit (Pearson correlation): 0.8149708247728431
participant :  17 vfm Model error (matrix distance): 0.593389157050654
(600, 24)
participant :  18 vfm Model fit (Pearson correlation): 0.864528235217698
participant :  18 vfm Model error (matrix distance): 0.41255561013985753
(600, 24)
participant :  19 vfm Model fit (Pearson correlation): 0.920220146749671
participant :  19 vfm Model error (matrix distance): 0.5117885409672313
(600, 24)
participant :  20 vfm Model fit (Pearson correlation): 0.789042098129182
participant :  20 vfm Model error (matrix distance): 0.6014395621433056
(600, 24)
participant :  21 vfm Model fit (Pearson correlation): 0.7858414567596436
participant :  21 vfm Model error (matrix distance): 0.3588926186894419
(600, 24)
participant :  22 vfm Model fit (Pearson correlation): 0.8140704343396311
participant :  22 vfm Model error (matrix distance): 0.4817021764456708
(600, 24)
participant :  23 vfm Model fit (Pearson correlation): 0.6423926559856346
participant :  23 vfm Model error (matrix distance): 0.4020289301226221
(600, 24)
participant :  24 vfm Model fit (Pearson correlation): 0.828170453160654
participant :  24 vfm Model error (matrix distance): 0.4554144905348445
(600, 24)
participant :  25 vfm Model fit (Pearson correlation): 0.8460852175424531
participant :  25 vfm Model error (matrix distance): 0.6519712073866939
(600, 24)
participant :  26 vfm Model fit (Pearson correlation): 0.8125723380730073
participant :  26 vfm Model error (matrix distance): 0.4316196970660938
(600, 24)
participant :  27 vfm Model fit (Pearson correlation): 0.9063395511990048
participant :  27 vfm Model error (matrix distance): 0.4931679914005661
(600, 24)
participant :  28 vfm Model fit (Pearson correlation): 0.8497330955039009
participant :  28 vfm Model error (matrix distance): 0.5580752621490517
(600, 24)
participant :  29 vfm Model fit (Pearson correlation): 0.6284584314791453
participant :  29 vfm Model error (matrix distance): 0.5166936131220514
(600, 24)
participant :  30 vfm Model fit (Pearson correlation): 0.7658766985468635
participant :  30 vfm Model error (matrix distance): 0.36663399864920754
(600, 24)
participant :  31 vfm Model fit (Pearson correlation): 0.9041524976221968
participant :  31 vfm Model error (matrix distance): 0.62342085285569
(600, 24)
participant :  32 vfm Model fit (Pearson correlation): 0.9137815914789126
participant :  32 vfm Model error (matrix distance): 0.6500729404670628
(600, 24)
participant :  33 vfm Model fit (Pearson correlation): 0.6183809250454837
participant :  33 vfm Model error (matrix distance): 0.4590162307718322
(600, 24)
participant :  34 vfm Model fit (Pearson correlation): 0.6681497928827071
participant :  34 vfm Model error (matrix distance): 0.4739098477312579
(600, 24)
participant :  35 vfm Model fit (Pearson correlation): 0.7028259637501937
participant :  35 vfm Model error (matrix distance): 0.3894197068496217
(600, 24)
participant :  36 vfm Model fit (Pearson correlation): 0.7643811000308417
participant :  36 vfm Model error (matrix distance): 0.31130610360557953
(600, 24)
participant :  37 vfm Model fit (Pearson correlation): 0.8798961096092248
participant :  37 vfm Model error (matrix distance): 0.4451775825472782
(600, 24)
participant :  38 vfm Model fit (Pearson correlation): 0.869149593724933
participant :  38 vfm Model error (matrix distance): 0.5384771025065842
(600, 24)
participant :  39 vfm Model fit (Pearson correlation): 0.8314885762797187
participant :  39 vfm Model error (matrix distance): 0.5153831520522312
(600, 24)
participant :  40 vfm Model fit (Pearson correlation): 0.7999870755089374
participant :  40 vfm Model error (matrix distance): 0.6343202935488944
(600, 24)
participant :  41 vfm Model fit (Pearson correlation): 0.9198070596803871
participant :  41 vfm Model error (matrix distance): 0.43070015464808403
(600, 24)
participant :  42 vfm Model fit (Pearson correlation): 0.6557168925166967
participant :  42 vfm Model error (matrix distance): 0.5890094217927737
(600, 24)
participant :  43 vfm Model fit (Pearson correlation): 0.8183289062954139
participant :  43 vfm Model error (matrix distance): 0.4316690737726347
(600, 24)
participant :  44 vfm Model fit (Pearson correlation): 0.9000285126060579
participant :  44 vfm Model error (matrix distance): 0.5562684517068712
(600, 24)
participant :  45 vfm Model fit (Pearson correlation): 0.7585378008350405
participant :  45 vfm Model error (matrix distance): 0.5818149799738581
(600, 24)
participant :  46 vfm Model fit (Pearson correlation): 0.8971941794720507
participant :  46 vfm Model error (matrix distance): 0.578919023088224
(600, 24)
participant :  47 vfm Model fit (Pearson correlation): 0.7390639666819884
participant :  47 vfm Model error (matrix distance): 0.5045468383443716
(600, 24)
participant :  48 vfm Model fit (Pearson correlation): 0.8577216702101311
participant :  48 vfm Model error (matrix distance): 0.45555207416595234
(600, 24)
participant :  49 vfm Model fit (Pearson correlation): 0.9291076154814037
participant :  49 vfm Model error (matrix distance): 0.6180545624427078
(600, 24)
participant :  50 vfm Model fit (Pearson correlation): 0.8220329089762274
participant :  50 vfm Model error (matrix distance): 0.6682124417734623
(600, 24)
participant :  51 vfm Model fit (Pearson correlation): 0.797202217017356
participant :  51 vfm Model error (matrix distance): 0.4399257551834279
(600, 24)
participant :  52 vfm Model fit (Pearson correlation): 0.821064311459414
participant :  52 vfm Model error (matrix distance): 0.47766576151291484
(600, 24)
participant :  53 vfm Model fit (Pearson correlation): 0.9181509784329869
participant :  53 vfm Model error (matrix distance): 0.5939147908642035
(600, 24)
participant :  54 vfm Model fit (Pearson correlation): 0.8080626580019259
participant :  54 vfm Model error (matrix distance): 0.371578574937527
(600, 24)
participant :  55 vfm Model fit (Pearson correlation): 0.7773651060338002
participant :  55 vfm Model error (matrix distance): 0.40072789661092595
(600, 24)
participant :  56 vfm Model fit (Pearson correlation): 0.8050620763803015
participant :  56 vfm Model error (matrix distance): 0.4595500724112788
(600, 24)
participant :  57 vfm Model fit (Pearson correlation): 0.7532227368370861
participant :  57 vfm Model error (matrix distance): 0.4832832645010665
(600, 24)
participant :  58 vfm Model fit (Pearson correlation): 0.853170773779088
participant :  58 vfm Model error (matrix distance): 0.41231376536453385
(600, 24)
participant :  59 vfm Model fit (Pearson correlation): 0.9361044327149408
participant :  59 vfm Model error (matrix distance): 0.48171879468794965
(600, 24)
participant :  60 vfm Model fit (Pearson correlation): 0.9472605923287911
participant :  60 vfm Model error (matrix distance): 0.4738387365851211
(600, 24)
participant :  61 vfm Model fit (Pearson correlation): 0.8993082948972451
participant :  61 vfm Model error (matrix distance): 0.6830610512499677
(600, 24)
participant :  62 vfm Model fit (Pearson correlation): 0.7922263220934258
participant :  62 vfm Model error (matrix distance): 0.6525992546510422
(600, 24)
participant :  63 vfm Model fit (Pearson correlation): 0.8239680402341962
participant :  63 vfm Model error (matrix distance): 0.5018775865232147
(600, 24)
participant :  64 vfm Model fit (Pearson correlation): 0.8443749405707813
participant :  64 vfm Model error (matrix distance): 0.4738416819532435
(600, 24)
participant :  65 vfm Model fit (Pearson correlation): 0.7109489009364476
participant :  65 vfm Model error (matrix distance): 0.47152609920012634
(600, 24)
participant :  66 vfm Model fit (Pearson correlation): 0.9249525654279374
participant :  66 vfm Model error (matrix distance): 0.5529355352036072
(600, 24)
participant :  67 vfm Model fit (Pearson correlation): 0.8792029199624077
participant :  67 vfm Model error (matrix distance): 0.5854241087924491
(600, 24)
participant :  68 vfm Model fit (Pearson correlation): 0.8408532068314996
participant :  68 vfm Model error (matrix distance): 0.6647807683160822
(600, 24)
participant :  69 vfm Model fit (Pearson correlation): 0.9043264119306296
participant :  69 vfm Model error (matrix distance): 0.40141526507045794
(600, 24)
participant :  70 vfm Model fit (Pearson correlation): 0.7567592018657321
participant :  70 vfm Model error (matrix distance): 0.5645265342619421
(600, 24)
participant :  71 vfm Model fit (Pearson correlation): 0.7547170300850371
participant :  71 vfm Model error (matrix distance): 0.31458787299019914
(600, 24)
participant :  72 vfm Model fit (Pearson correlation): 0.8967298853027825
participant :  72 vfm Model error (matrix distance): 0.7426983165056625
(600, 24)
participant :  73 vfm Model fit (Pearson correlation): 0.7776663630338116
participant :  73 vfm Model error (matrix distance): 0.5474199889887263
(600, 24)
participant :  74 vfm Model fit (Pearson correlation): 0.8761432205047226
participant :  74 vfm Model error (matrix distance): 0.4905696916678088
(600, 24)
participant :  75 vfm Model fit (Pearson correlation): 0.824755859262905
participant :  75 vfm Model error (matrix distance): 0.25971260703003596
(600, 24)
participant :  76 vfm Model fit (Pearson correlation): 0.8709195491925555
participant :  76 vfm Model error (matrix distance): 0.5161329904950207
(600, 24)
participant :  77 vfm Model fit (Pearson correlation): 0.9028209840305526
participant :  77 vfm Model error (matrix distance): 0.4403240156373921
(600, 24)
participant :  78 vfm Model fit (Pearson correlation): 0.9392173953795007
participant :  78 vfm Model error (matrix distance): 0.6292262630808438
(600, 24)
participant :  79 vfm Model fit (Pearson correlation): 0.9355716440398274
participant :  79 vfm Model error (matrix distance): 0.4815097104940422
(600, 24)
participant :  80 vfm Model fit (Pearson correlation): 0.8700401506023607
participant :  80 vfm Model error (matrix distance): 0.5830586244643308
(600, 24)
participant :  81 vfm Model fit (Pearson correlation): 0.8651057705705689
participant :  81 vfm Model error (matrix distance): 0.4154892955482401
(600, 24)
participant :  82 vfm Model fit (Pearson correlation): 0.891700582382568
participant :  82 vfm Model error (matrix distance): 0.6637322886389541
(600, 24)
participant :  83 vfm Model fit (Pearson correlation): 0.8004354527354566
participant :  83 vfm Model error (matrix distance): 0.46851917274784843
(600, 24)
participant :  84 vfm Model fit (Pearson correlation): 0.930237861889088
participant :  84 vfm Model error (matrix distance): 0.5670680105921232
(600, 24)
participant :  85 vfm Model fit (Pearson correlation): 0.900859019008377
participant :  85 vfm Model error (matrix distance): 0.47895831334434336
(600, 24)
participant :  86 vfm Model fit (Pearson correlation): 0.8568411312677069
participant :  86 vfm Model error (matrix distance): 0.5095628734824111
(600, 24)
participant :  87 vfm Model fit (Pearson correlation): 0.7814112832489764
participant :  87 vfm Model error (matrix distance): 0.6349469527371077
(600, 24)
participant :  88 vfm Model fit (Pearson correlation): 0.829018576743762
participant :  88 vfm Model error (matrix distance): 0.3658529723190318
(600, 24)
participant :  89 vfm Model fit (Pearson correlation): 0.8753835695154993
participant :  89 vfm Model error (matrix distance): 0.6630656688343222
(600, 24)
participant :  90 vfm Model fit (Pearson correlation): 0.7547352575453798
participant :  90 vfm Model error (matrix distance): 0.6048949661789486
(600, 24)
participant :  91 vfm Model fit (Pearson correlation): 0.9458508383987072
participant :  91 vfm Model error (matrix distance): 0.5659410541458516
(600, 24)
participant :  92 vfm Model fit (Pearson correlation): 0.869091236271568
participant :  92 vfm Model error (matrix distance): 0.5516855295428896
(600, 24)
participant :  93 vfm Model fit (Pearson correlation): 0.8064405765656042
participant :  93 vfm Model error (matrix distance): 0.48312814015242006
(600, 24)
participant :  94 vfm Model fit (Pearson correlation): 0.8245857635581247
participant :  94 vfm Model error (matrix distance): 0.5066300805749473
(600, 24)
participant :  95 vfm Model fit (Pearson correlation): 0.7656188401297059
participant :  95 vfm Model error (matrix distance): 0.37676446528424423
(600, 24)
participant :  96 vfm Model fit (Pearson correlation): 0.9199358974657239
participant :  96 vfm Model error (matrix distance): 0.5920406741480033
(600, 24)
participant :  97 vfm Model fit (Pearson correlation): 0.8783550171386239
participant :  97 vfm Model error (matrix distance): 0.40402338841800955
(600, 24)
participant :  98 vfm Model fit (Pearson correlation): 0.6533498207505583
participant :  98 vfm Model error (matrix distance): 0.48561275683089233
(600, 24)
participant :  99 vfm Model fit (Pearson correlation): 0.8461673065116181
participant :  99 vfm Model error (matrix distance): 0.5912679923931548
(600, 24)
participant :  100 vfm Model fit (Pearson correlation): 0.9030775385095304
participant :  100 vfm Model error (matrix distance): 0.6022917545860131
(600, 24)
participant :  101 vfm Model fit (Pearson correlation): 0.9277159860669084
participant :  101 vfm Model error (matrix distance): 0.5883281369374619
(600, 24)
participant :  102 vfm Model fit (Pearson correlation): 0.9543041872383249
participant :  102 vfm Model error (matrix distance): 0.4978421139661043
(600, 24)
participant :  103 vfm Model fit (Pearson correlation): 0.7640175248121385
participant :  103 vfm Model error (matrix distance): 0.49062888971360663
(600, 24)
participant :  104 vfm Model fit (Pearson correlation): 0.8885528813403132
participant :  104 vfm Model error (matrix distance): 0.557304052381014
(600, 24)
participant :  105 vfm Model fit (Pearson correlation): 0.8208495121228788
participant :  105 vfm Model error (matrix distance): 0.5255501206847697
(600, 24)
participant :  106 vfm Model fit (Pearson correlation): 0.9308820936105145
participant :  106 vfm Model error (matrix distance): 0.6131751951674758
(600, 24)
participant :  107 vfm Model fit (Pearson correlation): 0.7332630340576207
participant :  107 vfm Model error (matrix distance): 0.4229845483166319
(600, 24)
participant :  108 vfm Model fit (Pearson correlation): 0.8271606267861683
participant :  108 vfm Model error (matrix distance): 0.6026742421928613
(600, 24)
participant :  109 vfm Model fit (Pearson correlation): 0.7848440731231658
participant :  109 vfm Model error (matrix distance): 0.5342448657802211
(600, 24)
participant :  110 vfm Model fit (Pearson correlation): 0.7231987663038917
participant :  110 vfm Model error (matrix distance): 0.46704760297275894
(600, 24)
participant :  111 vfm Model fit (Pearson correlation): 0.8141046985054183
participant :  111 vfm Model error (matrix distance): 0.4929775523681392
(600, 24)
participant :  112 vfm Model fit (Pearson correlation): 0.9054398118139401
participant :  112 vfm Model error (matrix distance): 0.5825322321280831
(600, 24)
participant :  113 vfm Model fit (Pearson correlation): 0.7173360399724806
participant :  113 vfm Model error (matrix distance): 0.34870709625075474
(600, 24)
participant :  114 vfm Model fit (Pearson correlation): 0.7790943197770595
participant :  114 vfm Model error (matrix distance): 0.5089558000880149
(600, 24)
participant :  115 vfm Model fit (Pearson correlation): 0.7494970241469145
participant :  115 vfm Model error (matrix distance): 0.44642642371761
(600, 24)
participant :  116 vfm Model fit (Pearson correlation): 0.7715396413476086
participant :  116 vfm Model error (matrix distance): 0.5408611627556497
(600, 24)
participant :  117 vfm Model fit (Pearson correlation): 0.7506530083422835
participant :  117 vfm Model error (matrix distance): 0.4914105080514244
(600, 24)
participant :  118 vfm Model fit (Pearson correlation): 0.9117953059567021
participant :  118 vfm Model error (matrix distance): 0.47819359589957783
(600, 24)
participant :  119 vfm Model fit (Pearson correlation): 0.7442370139519107
participant :  119 vfm Model error (matrix distance): 0.5482879378328411
(600, 24)
participant :  120 vfm Model fit (Pearson correlation): 0.9288355451013487
participant :  120 vfm Model error (matrix distance): 0.6904811281328052
(600, 24)
participant :  121 vfm Model fit (Pearson correlation): 0.7287584258193904
participant :  121 vfm Model error (matrix distance): 0.483606353134788
(600, 24)
participant :  122 vfm Model fit (Pearson correlation): 0.7224822512452541
participant :  122 vfm Model error (matrix distance): 0.6132122879789204
(600, 24)
participant :  123 vfm Model fit (Pearson correlation): 0.9325608095154825
participant :  123 vfm Model error (matrix distance): 0.6390712320668155
(600, 24)
participant :  124 vfm Model fit (Pearson correlation): 0.8497206845944115
participant :  124 vfm Model error (matrix distance): 0.5048050012973282
(600, 24)
participant :  125 vfm Model fit (Pearson correlation): 0.8746943509100369
participant :  125 vfm Model error (matrix distance): 0.6165634706454787
(600, 24)
participant :  126 vfm Model fit (Pearson correlation): 0.9001943527648781
participant :  126 vfm Model error (matrix distance): 0.5687104347023029
(600, 24)
participant :  127 vfm Model fit (Pearson correlation): 0.8351885144490565
participant :  127 vfm Model error (matrix distance): 0.31088599553088114
(600, 24)
participant :  128 vfm Model fit (Pearson correlation): 0.838553532883102
participant :  128 vfm Model error (matrix distance): 0.47433254479149123
(600, 24)
participant :  129 vfm Model fit (Pearson correlation): 0.7374316775465425
participant :  129 vfm Model error (matrix distance): 0.38750616135946186
(600, 24)
participant :  130 vfm Model fit (Pearson correlation): 0.936862927237271
participant :  130 vfm Model error (matrix distance): 0.6585941852151933
(600, 24)
participant :  131 vfm Model fit (Pearson correlation): 0.8171509716472165
participant :  131 vfm Model error (matrix distance): 0.5307298774789051
(600, 24)
participant :  132 vfm Model fit (Pearson correlation): 0.8437719662461389
participant :  132 vfm Model error (matrix distance): 0.5531901819949525
(600, 24)
participant :  133 vfm Model fit (Pearson correlation): 0.7564329079865421
participant :  133 vfm Model error (matrix distance): 0.5717775877269557
(600, 24)
participant :  134 vfm Model fit (Pearson correlation): 0.6701692734666684
participant :  134 vfm Model error (matrix distance): 0.690820850328403
(600, 24)
participant :  135 vfm Model fit (Pearson correlation): 0.9323266193406411
participant :  135 vfm Model error (matrix distance): 0.63953501806434
(600, 24)
participant :  136 vfm Model fit (Pearson correlation): 0.6577564477931968
participant :  136 vfm Model error (matrix distance): 0.4528307408475848
(600, 24)
participant :  137 vfm Model fit (Pearson correlation): 0.8277686282781942
participant :  137 vfm Model error (matrix distance): 0.5822585638898288
(600, 24)
participant :  138 vfm Model fit (Pearson correlation): 0.933625907001877
participant :  138 vfm Model error (matrix distance): 0.6578225560258022
(600, 24)
participant :  139 vfm Model fit (Pearson correlation): 0.868862766184461
participant :  139 vfm Model error (matrix distance): 0.49459004374786436
(600, 24)
participant :  140 vfm Model fit (Pearson correlation): 0.7711210529620531
participant :  140 vfm Model error (matrix distance): 0.6654963192216714
(600, 24)
participant :  141 vfm Model fit (Pearson correlation): 0.5290569903383886
participant :  141 vfm Model error (matrix distance): 0.3978544713561074
(600, 24)
participant :  142 vfm Model fit (Pearson correlation): 0.9291008453372354
participant :  142 vfm Model error (matrix distance): 0.5358505678576838
(600, 24)
participant :  143 vfm Model fit (Pearson correlation): 0.8327496535502344
participant :  143 vfm Model error (matrix distance): 0.7799138221148556
(600, 24)
participant :  144 vfm Model fit (Pearson correlation): 0.745166906618586
participant :  144 vfm Model error (matrix distance): 0.518381935804492
(600, 24)
participant :  145 vfm Model fit (Pearson correlation): 0.7567451141987954
participant :  145 vfm Model error (matrix distance): 0.6270462002584644
(600, 24)
participant :  146 vfm Model fit (Pearson correlation): 0.6879285971893785
participant :  146 vfm Model error (matrix distance): 0.4634636881926866
(600, 24)
participant :  147 vfm Model fit (Pearson correlation): 0.9184826012821053
participant :  147 vfm Model error (matrix distance): 0.6321138031843216
(600, 24)
participant :  148 vfm Model fit (Pearson correlation): 0.636989835631693
participant :  148 vfm Model error (matrix distance): 0.41574961650530506
(600, 24)
participant :  149 vfm Model fit (Pearson correlation): 0.8743641909246228
participant :  149 vfm Model error (matrix distance): 0.6288773973337567
(600, 24)
participant :  150 vfm Model fit (Pearson correlation): 0.9449988042561437
participant :  150 vfm Model error (matrix distance): 0.5767734521097657
(600, 24)
participant :  151 vfm Model fit (Pearson correlation): 0.9136000236346595
participant :  151 vfm Model error (matrix distance): 0.7220748880626691
(600, 24)
participant :  152 vfm Model fit (Pearson correlation): 0.7586471643110795
participant :  152 vfm Model error (matrix distance): 0.27751560285836857
(600, 24)
participant :  153 vfm Model fit (Pearson correlation): 0.8566585841569645
participant :  153 vfm Model error (matrix distance): 0.5985560725936747
(600, 24)
participant :  154 vfm Model fit (Pearson correlation): 0.7982794748415643
participant :  154 vfm Model error (matrix distance): 0.5215983647047138
(600, 24)
participant :  155 vfm Model fit (Pearson correlation): 0.9008491179051279
participant :  155 vfm Model error (matrix distance): 0.44441035316442196
(600, 24)
participant :  156 vfm Model fit (Pearson correlation): 0.8971200989150836
participant :  156 vfm Model error (matrix distance): 0.688931825881117
(3655, 24)
participant :  1 movie Model fit (Pearson correlation): 0.7032438255084705
participant :  1 movie Model error (matrix distance): 0.6638495806244087
(3655, 24)
participant :  2 movie Model fit (Pearson correlation): 0.6668322870778567
participant :  2 movie Model error (matrix distance): 0.6566325185636496
(3655, 24)
participant :  3 movie Model fit (Pearson correlation): 0.7862106207970072
participant :  3 movie Model error (matrix distance): 0.6600540498171295
(3655, 24)
participant :  4 movie Model fit (Pearson correlation): 0.8364384579663987
participant :  4 movie Model error (matrix distance): 0.6865083218430739
(3655, 24)
participant :  5 movie Model fit (Pearson correlation): 0.728206962660085
participant :  5 movie Model error (matrix distance): 0.5850242519051416
(3655, 24)
participant :  6 movie Model fit (Pearson correlation): 0.8179653393560777
participant :  6 movie Model error (matrix distance): 0.44497754695229075
(3655, 24)
participant :  7 movie Model fit (Pearson correlation): 0.853224833406214
participant :  7 movie Model error (matrix distance): 0.5553728922339493
(3655, 24)
participant :  8 movie Model fit (Pearson correlation): 0.8227362449147164
participant :  8 movie Model error (matrix distance): 0.49130681210617744
(3655, 24)
participant :  9 movie Model fit (Pearson correlation): 0.6111589289011418
participant :  9 movie Model error (matrix distance): 0.5895206170994923
(3655, 24)
participant :  10 movie Model fit (Pearson correlation): 0.7596409978424641
participant :  10 movie Model error (matrix distance): 0.6244679757223512
(3655, 24)
participant :  11 movie Model fit (Pearson correlation): 0.6046600135298079
participant :  11 movie Model error (matrix distance): 0.5470379328901458
(3655, 24)
participant :  12 movie Model fit (Pearson correlation): 0.7452915257930873
participant :  12 movie Model error (matrix distance): 0.5244215901497534
(3655, 24)
participant :  13 movie Model fit (Pearson correlation): 0.8818607817686189
participant :  13 movie Model error (matrix distance): 0.4761198544978338
(3655, 24)
participant :  14 movie Model fit (Pearson correlation): 0.316061308289775
participant :  14 movie Model error (matrix distance): 0.44438698181630987
(3655, 24)
participant :  15 movie Model fit (Pearson correlation): 0.7836846267813751
participant :  15 movie Model error (matrix distance): 0.6823711342108743
(3655, 24)
participant :  16 movie Model fit (Pearson correlation): 0.8224490896441212
participant :  16 movie Model error (matrix distance): 0.7095407128776373
(3655, 24)
participant :  17 movie Model fit (Pearson correlation): 0.7603376858946611
participant :  17 movie Model error (matrix distance): 0.6260359791994127
(3655, 24)
participant :  18 movie Model fit (Pearson correlation): 0.7803605128049614
participant :  18 movie Model error (matrix distance): 0.583637707606913
(3655, 24)
participant :  19 movie Model fit (Pearson correlation): 0.7325111625454755
participant :  19 movie Model error (matrix distance): 0.557581862215913
(3655, 24)
participant :  20 movie Model fit (Pearson correlation): 0.7244911143546163
participant :  20 movie Model error (matrix distance): 0.6804908538323176
(3655, 24)
participant :  21 movie Model fit (Pearson correlation): 0.5921618590182316
participant :  21 movie Model error (matrix distance): 0.620789698028916
(3655, 24)
participant :  22 movie Model fit (Pearson correlation): 0.7596187030464563
participant :  22 movie Model error (matrix distance): 0.5774047743724415
(3655, 24)
participant :  23 movie Model fit (Pearson correlation): 0.7204891516690852
participant :  23 movie Model error (matrix distance): 0.5649542144580416
(3655, 24)
participant :  24 movie Model fit (Pearson correlation): 0.4894435926004913
participant :  24 movie Model error (matrix distance): 0.46624673762422075
(3655, 24)
participant :  25 movie Model fit (Pearson correlation): 0.7813354392918348
participant :  25 movie Model error (matrix distance): 0.6481290390992446
(3655, 24)
participant :  26 movie Model fit (Pearson correlation): 0.8223588189158747
participant :  26 movie Model error (matrix distance): 0.5830674535712707
(3655, 24)
participant :  27 movie Model fit (Pearson correlation): 0.8164977341868491
participant :  27 movie Model error (matrix distance): 0.6645162929083408
(3655, 24)
participant :  28 movie Model fit (Pearson correlation): 0.6921300507596211
participant :  28 movie Model error (matrix distance): 0.6793377384146291
(3655, 24)
participant :  29 movie Model fit (Pearson correlation): 0.6780533693289045
participant :  29 movie Model error (matrix distance): 0.6873918002108639
(3655, 24)
participant :  30 movie Model fit (Pearson correlation): 0.6989984904261215
participant :  30 movie Model error (matrix distance): 0.7337869933890062
(3655, 24)
participant :  31 movie Model fit (Pearson correlation): 0.5779346566741692
participant :  31 movie Model error (matrix distance): 0.6560965212970209
(3655, 24)
participant :  32 movie Model fit (Pearson correlation): 0.7954689462013504
participant :  32 movie Model error (matrix distance): 0.6104957709645674
(3655, 24)
participant :  33 movie Model fit (Pearson correlation): 0.33227317806803286
participant :  33 movie Model error (matrix distance): 0.5019106315204848
(3655, 24)
participant :  34 movie Model fit (Pearson correlation): 0.5015977655217956
participant :  34 movie Model error (matrix distance): 0.4917269144661597
(3655, 24)
participant :  35 movie Model fit (Pearson correlation): 0.7171237303988909
participant :  35 movie Model error (matrix distance): 0.7383639676735889
(3655, 24)
participant :  36 movie Model fit (Pearson correlation): 0.5936709673798526
participant :  36 movie Model error (matrix distance): 0.29365330740695905
(3655, 24)
participant :  37 movie Model fit (Pearson correlation): 0.7286428877102956
participant :  37 movie Model error (matrix distance): 0.6483594681111826
(3655, 24)
participant :  38 movie Model fit (Pearson correlation): 0.7800193127335942
participant :  38 movie Model error (matrix distance): 0.626221245140858
(3655, 24)
participant :  39 movie Model fit (Pearson correlation): 0.7737204951280623
participant :  39 movie Model error (matrix distance): 0.6014320279892642
(3655, 24)
participant :  40 movie Model fit (Pearson correlation): 0.75054069797907
participant :  40 movie Model error (matrix distance): 0.7358847084791057
(3655, 24)
participant :  41 movie Model fit (Pearson correlation): 0.7598698207775636
participant :  41 movie Model error (matrix distance): 0.6505692495319233
(3655, 24)
participant :  42 movie Model fit (Pearson correlation): 0.5406974184763131
participant :  42 movie Model error (matrix distance): 0.6832078670651363
(3655, 24)
participant :  43 movie Model fit (Pearson correlation): 0.7560410532268131
participant :  43 movie Model error (matrix distance): 0.698894043537535
(3655, 24)
participant :  44 movie Model fit (Pearson correlation): 0.7947633788054161
participant :  44 movie Model error (matrix distance): 0.6102087309524328
(3655, 24)
participant :  45 movie Model fit (Pearson correlation): 0.7685828758487587
participant :  45 movie Model error (matrix distance): 0.6629975560803851
(3655, 24)
participant :  46 movie Model fit (Pearson correlation): 0.76218880889969
participant :  46 movie Model error (matrix distance): 0.6068075625775824
(3655, 24)
participant :  47 movie Model fit (Pearson correlation): 0.5815897000579613
participant :  47 movie Model error (matrix distance): 0.7013232834423777
(3655, 24)
participant :  48 movie Model fit (Pearson correlation): 0.8369140876530818
participant :  48 movie Model error (matrix distance): 0.7406154470411738
(3655, 24)
participant :  49 movie Model fit (Pearson correlation): 0.6521321593139209
participant :  49 movie Model error (matrix distance): 0.5568321057559177
(3655, 24)
participant :  50 movie Model fit (Pearson correlation): 0.7125972334376565
participant :  50 movie Model error (matrix distance): 0.6510162432593987
(3655, 24)
participant :  51 movie Model fit (Pearson correlation): 0.7849142314540751
participant :  51 movie Model error (matrix distance): 0.587585892250801
(3655, 24)
participant :  52 movie Model fit (Pearson correlation): 0.6243434824045118
participant :  52 movie Model error (matrix distance): 0.6758759752718293
(3655, 24)
participant :  53 movie Model fit (Pearson correlation): 0.8995383466919908
participant :  53 movie Model error (matrix distance): 0.697042897007184
(3655, 24)
participant :  54 movie Model fit (Pearson correlation): 0.6552882657531145
participant :  54 movie Model error (matrix distance): 0.5118508368993735
(3655, 24)
participant :  55 movie Model fit (Pearson correlation): 0.7915258562595768
participant :  55 movie Model error (matrix distance): 0.59044212472294
(3655, 24)
participant :  56 movie Model fit (Pearson correlation): 0.7627946109634375
participant :  56 movie Model error (matrix distance): 0.5491945021652281
(3655, 24)
participant :  57 movie Model fit (Pearson correlation): 0.5963213051674543
participant :  57 movie Model error (matrix distance): 0.6202944145908863
(3655, 24)
participant :  58 movie Model fit (Pearson correlation): 0.7069063533026143
participant :  58 movie Model error (matrix distance): 0.6160468410593765
(3655, 24)
participant :  59 movie Model fit (Pearson correlation): 0.715636153072208
participant :  59 movie Model error (matrix distance): 0.618148051180992
(3655, 24)
participant :  60 movie Model fit (Pearson correlation): 0.6999688128988788
participant :  60 movie Model error (matrix distance): 0.618913098760757
(3655, 24)
participant :  61 movie Model fit (Pearson correlation): 0.4539495820793955
participant :  61 movie Model error (matrix distance): 0.5875686705383916
(3655, 24)
participant :  62 movie Model fit (Pearson correlation): 0.7169823959048938
participant :  62 movie Model error (matrix distance): 0.5841485696850047
(3655, 24)
participant :  63 movie Model fit (Pearson correlation): 0.4035493178426559
participant :  63 movie Model error (matrix distance): 0.615186009699686
(3655, 24)
participant :  64 movie Model fit (Pearson correlation): 0.38403864731684534
participant :  64 movie Model error (matrix distance): 0.49913427541397387
(3655, 24)
participant :  65 movie Model fit (Pearson correlation): 0.4847172628590329
participant :  65 movie Model error (matrix distance): 0.6344034168681727
(3655, 24)
participant :  66 movie Model fit (Pearson correlation): 0.8512925484672373
participant :  66 movie Model error (matrix distance): 0.5403716310231412
(3655, 24)
participant :  67 movie Model fit (Pearson correlation): 0.6792175308220862
participant :  67 movie Model error (matrix distance): 0.7354181674651555
(3655, 24)
participant :  68 movie Model fit (Pearson correlation): 0.725208114851945
participant :  68 movie Model error (matrix distance): 0.6831660046258605
(3655, 24)
participant :  69 movie Model fit (Pearson correlation): 0.8890837084640044
participant :  69 movie Model error (matrix distance): 0.555269861023159
(3655, 24)
participant :  70 movie Model fit (Pearson correlation): 0.6469523506277711
participant :  70 movie Model error (matrix distance): 0.6835004847833894
(3655, 24)
participant :  71 movie Model fit (Pearson correlation): 0.6482318530850399
participant :  71 movie Model error (matrix distance): 0.578193633151225
(3655, 24)
participant :  72 movie Model fit (Pearson correlation): 0.7518765868264538
participant :  72 movie Model error (matrix distance): 0.5807188154832235
(3655, 24)
participant :  73 movie Model fit (Pearson correlation): 0.7522820889781174
participant :  73 movie Model error (matrix distance): 0.5738890693956589
(3655, 24)
participant :  74 movie Model fit (Pearson correlation): 0.7081802370029016
participant :  74 movie Model error (matrix distance): 0.5502185110906888
(3655, 24)
participant :  75 movie Model fit (Pearson correlation): 0.9288664095385546
participant :  75 movie Model error (matrix distance): 0.6262212278044805
(3655, 24)
participant :  76 movie Model fit (Pearson correlation): 0.6075661278656882
participant :  76 movie Model error (matrix distance): 0.5704350721668928
(3655, 24)
participant :  77 movie Model fit (Pearson correlation): 0.8628409554308532
participant :  77 movie Model error (matrix distance): 0.49367804865415815
(3655, 24)
participant :  78 movie Model fit (Pearson correlation): 0.7365139363438079
participant :  78 movie Model error (matrix distance): 0.6972012555972329
(3655, 24)
participant :  79 movie Model fit (Pearson correlation): 0.8637657015893957
participant :  79 movie Model error (matrix distance): 0.6358548181445757
(3655, 24)
participant :  80 movie Model fit (Pearson correlation): 0.7887320517362106
participant :  80 movie Model error (matrix distance): 0.6490745957273061
(3655, 24)
participant :  81 movie Model fit (Pearson correlation): 0.5857956842346835
participant :  81 movie Model error (matrix distance): 0.44661891514377167
(3655, 24)
participant :  82 movie Model fit (Pearson correlation): 0.7493315064940214
participant :  82 movie Model error (matrix distance): 0.5197079411227784
(3655, 24)
participant :  83 movie Model fit (Pearson correlation): 0.7993405687631809
participant :  83 movie Model error (matrix distance): 0.6364365867523212
(3655, 24)
participant :  84 movie Model fit (Pearson correlation): 0.8970870501623881
participant :  84 movie Model error (matrix distance): 0.596396319908337
(3655, 24)
participant :  85 movie Model fit (Pearson correlation): 0.6228597947885974
participant :  85 movie Model error (matrix distance): 0.42011659106270927
(3655, 24)
participant :  86 movie Model fit (Pearson correlation): 0.8857842102727328
participant :  86 movie Model error (matrix distance): 0.5547819018527762
(3655, 24)
participant :  87 movie Model fit (Pearson correlation): 0.6409353797082668
participant :  87 movie Model error (matrix distance): 0.6933290550564193
(3655, 24)
participant :  88 movie Model fit (Pearson correlation): 0.6325465203863656
participant :  88 movie Model error (matrix distance): 0.4847360220819006
(3655, 24)
participant :  89 movie Model fit (Pearson correlation): 0.5270288618277909
participant :  89 movie Model error (matrix distance): 0.6436162850657913
(3655, 24)
participant :  90 movie Model fit (Pearson correlation): 0.6300655662642698
participant :  90 movie Model error (matrix distance): 0.45201774205422085
(3655, 24)
participant :  91 movie Model fit (Pearson correlation): 0.7747421225732025
participant :  91 movie Model error (matrix distance): 0.5719885097863521
(3655, 24)
participant :  92 movie Model fit (Pearson correlation): 0.5614232532802852
participant :  92 movie Model error (matrix distance): 0.661305061260756
(3655, 24)
participant :  93 movie Model fit (Pearson correlation): 0.5949196253769554
participant :  93 movie Model error (matrix distance): 0.6800562654057101
(3655, 24)
participant :  94 movie Model fit (Pearson correlation): 0.7739435770639113
participant :  94 movie Model error (matrix distance): 0.5430435981967905
(3655, 24)
participant :  95 movie Model fit (Pearson correlation): 0.6859341415051483
participant :  95 movie Model error (matrix distance): 0.5852716743064386
(3655, 24)
participant :  96 movie Model fit (Pearson correlation): 0.746453501318807
participant :  96 movie Model error (matrix distance): 0.6619875818770263
(3655, 24)
participant :  97 movie Model fit (Pearson correlation): 0.7329029524754478
participant :  97 movie Model error (matrix distance): 0.6237442994448825
(3655, 24)
participant :  98 movie Model fit (Pearson correlation): 0.530769892569285
participant :  98 movie Model error (matrix distance): 0.6779329026110767
(3655, 24)
participant :  99 movie Model fit (Pearson correlation): 0.8759380454630936
participant :  99 movie Model error (matrix distance): 0.640957692434605
(3655, 24)
participant :  100 movie Model fit (Pearson correlation): 0.7483239870312799
participant :  100 movie Model error (matrix distance): 0.6038755270120639
(3655, 24)
participant :  101 movie Model fit (Pearson correlation): 0.8447302514614173
participant :  101 movie Model error (matrix distance): 0.5340183389646963
(3655, 24)
participant :  102 movie Model fit (Pearson correlation): 0.7843473923788895
participant :  102 movie Model error (matrix distance): 0.5404292367291397
(3655, 24)
participant :  103 movie Model fit (Pearson correlation): 0.8372128147937801
participant :  103 movie Model error (matrix distance): 0.6742320683881018
(3655, 24)
participant :  104 movie Model fit (Pearson correlation): 0.7143584863631569
participant :  104 movie Model error (matrix distance): 0.47054161757875207
(3655, 24)
participant :  105 movie Model fit (Pearson correlation): 0.7805588688523133
participant :  105 movie Model error (matrix distance): 0.6381581306687449
(3655, 24)
participant :  106 movie Model fit (Pearson correlation): 0.6583321052089861
participant :  106 movie Model error (matrix distance): 0.5304399465186054
(3655, 24)
participant :  107 movie Model fit (Pearson correlation): 0.7262731072637363
participant :  107 movie Model error (matrix distance): 0.5875237631729946
(3655, 24)
participant :  108 movie Model fit (Pearson correlation): 0.5462707937357191
participant :  108 movie Model error (matrix distance): 0.7318209718924347
(3655, 24)
participant :  109 movie Model fit (Pearson correlation): 0.6996999425819171
participant :  109 movie Model error (matrix distance): 0.6743908400683409
(3655, 24)
participant :  110 movie Model fit (Pearson correlation): 0.7013870165030252
participant :  110 movie Model error (matrix distance): 0.6487770357760099
(3655, 24)
participant :  111 movie Model fit (Pearson correlation): 0.42281188537094294
participant :  111 movie Model error (matrix distance): 0.4749486356347805
(3655, 24)
participant :  112 movie Model fit (Pearson correlation): 0.7879201582635229
participant :  112 movie Model error (matrix distance): 0.6561992683603106
(3655, 24)
participant :  113 movie Model fit (Pearson correlation): 0.7496407819114347
participant :  113 movie Model error (matrix distance): 0.5561373164638449
(3655, 24)
participant :  114 movie Model fit (Pearson correlation): 0.6627544659342494
participant :  114 movie Model error (matrix distance): 0.6933715053783094
(3655, 24)
participant :  115 movie Model fit (Pearson correlation): 0.5119800419676914
participant :  115 movie Model error (matrix distance): 0.6151926359682364
(3655, 24)
participant :  116 movie Model fit (Pearson correlation): 0.5231244085078288
participant :  116 movie Model error (matrix distance): 0.5754820612282467
(3655, 24)
participant :  117 movie Model fit (Pearson correlation): 0.33450766396555764
participant :  117 movie Model error (matrix distance): 0.7093393600060782
(3655, 24)
participant :  118 movie Model fit (Pearson correlation): 0.7646170692967055
participant :  118 movie Model error (matrix distance): 0.5843585248057825
(3655, 24)
participant :  119 movie Model fit (Pearson correlation): 0.646162139346129
participant :  119 movie Model error (matrix distance): 0.5232395619146271
(3655, 24)
participant :  120 movie Model fit (Pearson correlation): 0.6812922724050958
participant :  120 movie Model error (matrix distance): 0.6257865651898151
(3655, 24)
participant :  121 movie Model fit (Pearson correlation): 0.603353947686591
participant :  121 movie Model error (matrix distance): 0.6065602517404545
(3655, 24)
participant :  122 movie Model fit (Pearson correlation): 0.44001458653067116
participant :  122 movie Model error (matrix distance): 0.518991323378484
(3655, 24)
participant :  123 movie Model fit (Pearson correlation): 0.506482767565176
participant :  123 movie Model error (matrix distance): 0.563413685187186
(3655, 24)
participant :  124 movie Model fit (Pearson correlation): 0.660293135892535
participant :  124 movie Model error (matrix distance): 0.5964278169971603
(3655, 24)
participant :  125 movie Model fit (Pearson correlation): 0.44184018597925456
participant :  125 movie Model error (matrix distance): 0.523366274956344
(3655, 24)
participant :  126 movie Model fit (Pearson correlation): 0.6990974877361251
participant :  126 movie Model error (matrix distance): 0.584651090725609
(3655, 24)
participant :  127 movie Model fit (Pearson correlation): 0.806361848150683
participant :  127 movie Model error (matrix distance): 0.48232406852976706
(3655, 24)
participant :  128 movie Model fit (Pearson correlation): 0.7928184597165568
participant :  128 movie Model error (matrix distance): 0.6070395481001205
(3655, 24)
participant :  129 movie Model fit (Pearson correlation): 0.7555936201736143
participant :  129 movie Model error (matrix distance): 0.5842474489811216
(3655, 24)
participant :  130 movie Model fit (Pearson correlation): 0.6632707635127288
participant :  130 movie Model error (matrix distance): 0.6853483982932708
(3655, 24)
participant :  131 movie Model fit (Pearson correlation): 0.5967308316778555
participant :  131 movie Model error (matrix distance): 0.7191438613436363
(3655, 24)
participant :  132 movie Model fit (Pearson correlation): 0.8217145688638219
participant :  132 movie Model error (matrix distance): 0.6027466411786861
(3655, 24)
participant :  133 movie Model fit (Pearson correlation): 0.6163480886423723
participant :  133 movie Model error (matrix distance): 0.5730800475500055
(3655, 24)
participant :  134 movie Model fit (Pearson correlation): 0.6181039087029511
participant :  134 movie Model error (matrix distance): 0.7299338913590117
(3655, 24)
participant :  135 movie Model fit (Pearson correlation): 0.5228063984848648
participant :  135 movie Model error (matrix distance): 0.6893504570990255
(3655, 24)
participant :  136 movie Model fit (Pearson correlation): 0.5400131425745535
participant :  136 movie Model error (matrix distance): 0.626658961858739
(3655, 24)
participant :  137 movie Model fit (Pearson correlation): 0.6561173643470224
participant :  137 movie Model error (matrix distance): 0.571267364559389
(3655, 24)
participant :  138 movie Model fit (Pearson correlation): 0.6231208410674143
participant :  138 movie Model error (matrix distance): 0.5448748077286014
(3655, 24)
participant :  139 movie Model fit (Pearson correlation): 0.698767118868125
participant :  139 movie Model error (matrix distance): 0.6540420280630679
(3655, 24)
participant :  140 movie Model fit (Pearson correlation): 0.8164275721106097
participant :  140 movie Model error (matrix distance): 0.6531782635781727
(3655, 24)
participant :  141 movie Model fit (Pearson correlation): 0.5179785268779356
participant :  141 movie Model error (matrix distance): 0.5113654732549625
(3655, 24)
participant :  142 movie Model fit (Pearson correlation): 0.8254692511110592
participant :  142 movie Model error (matrix distance): 0.623024981887687
(3655, 24)
participant :  143 movie Model fit (Pearson correlation): 0.568559602953103
participant :  143 movie Model error (matrix distance): 0.7902065456763783
(3655, 24)
participant :  144 movie Model fit (Pearson correlation): 0.443340327356239
participant :  144 movie Model error (matrix distance): 0.6065786726831663
(3655, 24)
participant :  145 movie Model fit (Pearson correlation): 0.7382070554452465
participant :  145 movie Model error (matrix distance): 0.5921383403093078
(3655, 24)
participant :  146 movie Model fit (Pearson correlation): 0.8112431724046136
participant :  146 movie Model error (matrix distance): 0.3922317144619542
(3655, 24)
participant :  147 movie Model fit (Pearson correlation): 0.6508558592213277
participant :  147 movie Model error (matrix distance): 0.5246025368674788
(3655, 24)
participant :  148 movie Model fit (Pearson correlation): 0.5122005196274702
participant :  148 movie Model error (matrix distance): 0.5909245734244961
(3655, 24)
participant :  149 movie Model fit (Pearson correlation): 0.6929591696628177
participant :  149 movie Model error (matrix distance): 0.6146392068387412
(3655, 24)
participant :  150 movie Model fit (Pearson correlation): 0.6850726215032639
participant :  150 movie Model error (matrix distance): 0.5926047948998323
(3655, 24)
participant :  151 movie Model fit (Pearson correlation): 0.7871135637348106
participant :  151 movie Model error (matrix distance): 0.7726987615146047
(3655, 24)
participant :  152 movie Model fit (Pearson correlation): 0.708373018113377
participant :  152 movie Model error (matrix distance): 0.5721881453223966
(3655, 24)
participant :  153 movie Model fit (Pearson correlation): 0.8677687116293018
participant :  153 movie Model error (matrix distance): 0.6090234360668647
(3655, 24)
participant :  154 movie Model fit (Pearson correlation): 0.7226482042481822
participant :  154 movie Model error (matrix distance): 0.6012426062977901
(3655, 24)
participant :  155 movie Model fit (Pearson correlation): 0.7022905609297875
participant :  155 movie Model error (matrix distance): 0.5198475267687883
(3655, 24)
participant :  156 movie Model fit (Pearson correlation): 0.352266668925205
participant :  156 movie Model error (matrix distance): 0.616518279225331
(3600, 24)
participant :  1 rest Model fit (Pearson correlation): 0.716673897713533
participant :  1 rest Model error (matrix distance): 0.6024350521865678
(3600, 24)
participant :  2 rest Model fit (Pearson correlation): 0.8609866132190466
participant :  2 rest Model error (matrix distance): 0.5132347534724824
(3600, 24)
participant :  3 rest Model fit (Pearson correlation): 0.6683490955241226
participant :  3 rest Model error (matrix distance): 0.7071558425223685
(3600, 24)
participant :  4 rest Model fit (Pearson correlation): 0.7947793832538601
participant :  4 rest Model error (matrix distance): 0.5388180734880528
(3600, 24)
participant :  5 rest Model fit (Pearson correlation): 0.6857569615588573
participant :  5 rest Model error (matrix distance): 0.6379470550547985
(3600, 24)
participant :  6 rest Model fit (Pearson correlation): 0.7121678481171665
participant :  6 rest Model error (matrix distance): 0.517318921119573
(3600, 24)
participant :  7 rest Model fit (Pearson correlation): 0.4174879225342796
participant :  7 rest Model error (matrix distance): 0.5164479371743576
(3600, 24)
participant :  8 rest Model fit (Pearson correlation): 0.6545991748036448
participant :  8 rest Model error (matrix distance): 0.5180175536743319
(3600, 24)
participant :  9 rest Model fit (Pearson correlation): 0.44440257859664833
participant :  9 rest Model error (matrix distance): 0.37458025567508657
(3600, 24)
participant :  10 rest Model fit (Pearson correlation): 0.7937181656739463
participant :  10 rest Model error (matrix distance): 0.579904744470779
(3600, 24)
participant :  11 rest Model fit (Pearson correlation): 0.38465501022727533
participant :  11 rest Model error (matrix distance): 0.583846138215429
(3600, 24)
participant :  12 rest Model fit (Pearson correlation): 0.5398871875484574
participant :  12 rest Model error (matrix distance): 0.5290482613737668
(3600, 24)
participant :  13 rest Model fit (Pearson correlation): 0.5461342368350104
participant :  13 rest Model error (matrix distance): 0.40143990764964305
(3600, 24)
participant :  14 rest Model fit (Pearson correlation): 0.60651512542579
participant :  14 rest Model error (matrix distance): 0.4450665344126944
(3600, 24)
participant :  15 rest Model fit (Pearson correlation): 0.7170727038574463
participant :  15 rest Model error (matrix distance): 0.6379022099389261
(3600, 24)
participant :  16 rest Model fit (Pearson correlation): 0.7788332819562704
participant :  16 rest Model error (matrix distance): 0.40740449846608023
(3600, 24)
participant :  17 rest Model fit (Pearson correlation): 0.7825888506317755
participant :  17 rest Model error (matrix distance): 0.5594208346434999
(3600, 24)
participant :  18 rest Model fit (Pearson correlation): 0.7441174027461184
participant :  18 rest Model error (matrix distance): 0.5553768424514922
(3600, 24)
participant :  19 rest Model fit (Pearson correlation): 0.6412900466291092
participant :  19 rest Model error (matrix distance): 0.44898041218897694
(3600, 24)
participant :  20 rest Model fit (Pearson correlation): 0.5963742442521148
participant :  20 rest Model error (matrix distance): 0.5630071774679373
(3600, 24)
participant :  21 rest Model fit (Pearson correlation): 0.5766658422968733
participant :  21 rest Model error (matrix distance): 0.6560290870355859
(3600, 24)
participant :  22 rest Model fit (Pearson correlation): 0.7839520302273304
participant :  22 rest Model error (matrix distance): 0.5247257053638759
(3600, 24)
participant :  23 rest Model fit (Pearson correlation): 0.7000166334360937
participant :  23 rest Model error (matrix distance): 0.24508046577468787
(3600, 24)
participant :  24 rest Model fit (Pearson correlation): 0.7738485981975884
participant :  24 rest Model error (matrix distance): 0.5982642710345754
(3600, 24)
participant :  25 rest Model fit (Pearson correlation): 0.6957102664010248
participant :  25 rest Model error (matrix distance): 0.3044642654077077
(3600, 24)
participant :  26 rest Model fit (Pearson correlation): 0.6654686782344059
participant :  26 rest Model error (matrix distance): 0.3705698420349527
(3600, 24)
participant :  27 rest Model fit (Pearson correlation): 0.539617612137006
participant :  27 rest Model error (matrix distance): 0.4685214238888575
(3600, 24)
participant :  28 rest Model fit (Pearson correlation): 0.583808268493365
participant :  28 rest Model error (matrix distance): 0.5436503429314503
(3600, 24)
participant :  29 rest Model fit (Pearson correlation): 0.5287860507282318
participant :  29 rest Model error (matrix distance): 0.5496027747135706
(3600, 24)
participant :  30 rest Model fit (Pearson correlation): 0.6657854215768203
participant :  30 rest Model error (matrix distance): 0.4973533906563333
(3600, 24)
participant :  31 rest Model fit (Pearson correlation): 0.6499240004374651
participant :  31 rest Model error (matrix distance): 0.5283075174285996
(3600, 24)
participant :  32 rest Model fit (Pearson correlation): 0.7434365037869666
participant :  32 rest Model error (matrix distance): 0.54834879354242
(3600, 24)
participant :  33 rest Model fit (Pearson correlation): 0.4764980970839327
participant :  33 rest Model error (matrix distance): 0.4516139695234099
(3600, 24)
participant :  34 rest Model fit (Pearson correlation): 0.5208044269519674
participant :  34 rest Model error (matrix distance): 0.40766124655008834
(3600, 24)
participant :  35 rest Model fit (Pearson correlation): 0.64476691267159
participant :  35 rest Model error (matrix distance): 0.6597914659782186
(3600, 24)
participant :  36 rest Model fit (Pearson correlation): 0.7879489654607625
participant :  36 rest Model error (matrix distance): 0.42403313663825776
(3600, 24)
participant :  37 rest Model fit (Pearson correlation): 0.8223061942728149
participant :  37 rest Model error (matrix distance): 0.5156447448887664
(3600, 24)
participant :  38 rest Model fit (Pearson correlation): 0.8503082510354325
participant :  38 rest Model error (matrix distance): 0.6225732595000069
(3600, 24)
participant :  39 rest Model fit (Pearson correlation): 0.5538267652165939
participant :  39 rest Model error (matrix distance): 0.6132586889496298
(3600, 24)
participant :  40 rest Model fit (Pearson correlation): 0.8203873853445651
participant :  40 rest Model error (matrix distance): 0.6177404734487366
(3600, 24)
participant :  41 rest Model fit (Pearson correlation): 0.43829885898152987
participant :  41 rest Model error (matrix distance): 0.42566693580989245
(3600, 24)
participant :  42 rest Model fit (Pearson correlation): 0.4568884936031741
participant :  42 rest Model error (matrix distance): 0.5373077319730043
(3600, 24)
participant :  43 rest Model fit (Pearson correlation): 0.7322612219306965
participant :  43 rest Model error (matrix distance): 0.6902692271782351
(3600, 24)
participant :  44 rest Model fit (Pearson correlation): 0.89511942929313
participant :  44 rest Model error (matrix distance): 0.5159155763695824
(3600, 24)
participant :  45 rest Model fit (Pearson correlation): 0.8425192151779877
participant :  45 rest Model error (matrix distance): 0.5588824152313271
(3600, 24)
participant :  46 rest Model fit (Pearson correlation): 0.720674186794195
participant :  46 rest Model error (matrix distance): 0.46909997172441487
(3600, 24)
participant :  47 rest Model fit (Pearson correlation): 0.8147180120083378
participant :  47 rest Model error (matrix distance): 0.25974748161266425
(3600, 24)
participant :  48 rest Model fit (Pearson correlation): 0.6919008909207606
participant :  48 rest Model error (matrix distance): 0.5561802865836984
(3600, 24)
participant :  49 rest Model fit (Pearson correlation): 0.5285355511539683
participant :  49 rest Model error (matrix distance): 0.5695206638071051
(3600, 24)
participant :  50 rest Model fit (Pearson correlation): 0.6001745829213911
participant :  50 rest Model error (matrix distance): 0.3985474741679452
(3600, 24)
participant :  51 rest Model fit (Pearson correlation): 0.6739779021391729
participant :  51 rest Model error (matrix distance): 0.510384009731286
(3600, 24)
participant :  52 rest Model fit (Pearson correlation): 0.5169162145545099
participant :  52 rest Model error (matrix distance): 0.4222251349799349
(3600, 24)
participant :  53 rest Model fit (Pearson correlation): 0.7345941940094052
participant :  53 rest Model error (matrix distance): 0.5691521074359707
(3600, 24)
participant :  54 rest Model fit (Pearson correlation): 0.6069691202910077
participant :  54 rest Model error (matrix distance): 0.5783878217528019
(3600, 24)
participant :  55 rest Model fit (Pearson correlation): 0.37749421792971827
participant :  55 rest Model error (matrix distance): 0.3956987258345569
(3600, 24)
participant :  56 rest Model fit (Pearson correlation): 0.6089049834975545
participant :  56 rest Model error (matrix distance): 0.44951621644655976
(3600, 24)
participant :  57 rest Model fit (Pearson correlation): 0.8202783554038142
participant :  57 rest Model error (matrix distance): 0.6965009355506542
(3600, 24)
participant :  58 rest Model fit (Pearson correlation): 0.6915327023305657
participant :  58 rest Model error (matrix distance): 0.5222268380099164
(3600, 24)
participant :  59 rest Model fit (Pearson correlation): 0.805084617941815
participant :  59 rest Model error (matrix distance): 0.4832205956473048
(3600, 24)
participant :  60 rest Model fit (Pearson correlation): 0.7536409902646124
participant :  60 rest Model error (matrix distance): 0.592860285622161
(3600, 24)
participant :  61 rest Model fit (Pearson correlation): 0.5627222073093537
participant :  61 rest Model error (matrix distance): 0.5898108248285716
(3600, 24)
participant :  62 rest Model fit (Pearson correlation): 0.7889942567372936
participant :  62 rest Model error (matrix distance): 0.6549559267280459
(3600, 24)
participant :  63 rest Model fit (Pearson correlation): 0.6295890621431772
participant :  63 rest Model error (matrix distance): 0.36242011591114764
(3600, 24)
participant :  64 rest Model fit (Pearson correlation): 0.606397155390528
participant :  64 rest Model error (matrix distance): 0.35837493356828215
(3600, 24)
participant :  65 rest Model fit (Pearson correlation): 0.7665237342495455
participant :  65 rest Model error (matrix distance): 0.7995903135525044
(3600, 24)
participant :  66 rest Model fit (Pearson correlation): 0.7941953197998652
participant :  66 rest Model error (matrix distance): 0.6200488533265653
(3600, 24)
participant :  67 rest Model fit (Pearson correlation): 0.7554126008531312
participant :  67 rest Model error (matrix distance): 0.4309550294881785
(3600, 24)
participant :  68 rest Model fit (Pearson correlation): 0.7358147216299764
participant :  68 rest Model error (matrix distance): 0.4359980235087356
(3600, 24)
participant :  69 rest Model fit (Pearson correlation): 0.7036828385856041
participant :  69 rest Model error (matrix distance): 0.2998352148123553
(3600, 24)
participant :  70 rest Model fit (Pearson correlation): 0.6593754706906729
participant :  70 rest Model error (matrix distance): 0.5606561010335713
(3600, 24)
participant :  71 rest Model fit (Pearson correlation): 0.5600282506731449
participant :  71 rest Model error (matrix distance): 0.4232983754466363
(3600, 24)
participant :  72 rest Model fit (Pearson correlation): 0.8729510247097906
participant :  72 rest Model error (matrix distance): 0.7094734706215845
(3600, 24)
participant :  73 rest Model fit (Pearson correlation): 0.6649660266873095
participant :  73 rest Model error (matrix distance): 0.501002867472996
(3600, 24)
participant :  74 rest Model fit (Pearson correlation): 0.6064392479876741
participant :  74 rest Model error (matrix distance): 0.3874465532724084
(3600, 24)
participant :  75 rest Model fit (Pearson correlation): 0.6645336024873275
participant :  75 rest Model error (matrix distance): 0.575305350189445
(3600, 24)
participant :  76 rest Model fit (Pearson correlation): 0.7673734741637048
participant :  76 rest Model error (matrix distance): 0.6149340759794197
(3600, 24)
participant :  77 rest Model fit (Pearson correlation): 0.5128919542406438
participant :  77 rest Model error (matrix distance): 0.49351346627941545
(3600, 24)
participant :  78 rest Model fit (Pearson correlation): 0.5120169472177297
participant :  78 rest Model error (matrix distance): 0.431490825578723
(3600, 24)
participant :  79 rest Model fit (Pearson correlation): 0.7748830619522333
participant :  79 rest Model error (matrix distance): 0.5524587766358616
(3600, 24)
participant :  80 rest Model fit (Pearson correlation): 0.8610732766999865
participant :  80 rest Model error (matrix distance): 0.54527021369645
(3600, 24)
participant :  81 rest Model fit (Pearson correlation): 0.6216593315653851
participant :  81 rest Model error (matrix distance): 0.504232074859335
(3600, 24)
participant :  82 rest Model fit (Pearson correlation): 0.8200662869536506
participant :  82 rest Model error (matrix distance): 0.5132127014734031
(3600, 24)
participant :  83 rest Model fit (Pearson correlation): 0.7397159036498939
participant :  83 rest Model error (matrix distance): 0.609801248811209
(3600, 24)
participant :  84 rest Model fit (Pearson correlation): 0.7111027272679165
participant :  84 rest Model error (matrix distance): 0.6524873321712591
(3600, 24)
participant :  85 rest Model fit (Pearson correlation): 0.8580180326157221
participant :  85 rest Model error (matrix distance): 0.5137977604631263
(3600, 24)
participant :  86 rest Model fit (Pearson correlation): 0.743818160006597
participant :  86 rest Model error (matrix distance): 0.41423037769361254
(3600, 24)
participant :  87 rest Model fit (Pearson correlation): 0.7193266485660492
participant :  87 rest Model error (matrix distance): 0.38453374165977044
(3600, 24)
participant :  88 rest Model fit (Pearson correlation): 0.6864463273215252
participant :  88 rest Model error (matrix distance): 0.4492903032321477
(3600, 24)
participant :  89 rest Model fit (Pearson correlation): 0.7794770231619463
participant :  89 rest Model error (matrix distance): 0.605443966124819
(3600, 24)
participant :  90 rest Model fit (Pearson correlation): 0.6765086875067735
participant :  90 rest Model error (matrix distance): 0.4247928568526943
(3600, 24)
participant :  91 rest Model fit (Pearson correlation): 0.5090932815914536
participant :  91 rest Model error (matrix distance): 0.4361926670052692
(3600, 24)
participant :  92 rest Model fit (Pearson correlation): 0.5488681919743785
participant :  92 rest Model error (matrix distance): 0.4599538570441428
(3600, 24)
participant :  93 rest Model fit (Pearson correlation): 0.6131540509635589
participant :  93 rest Model error (matrix distance): 0.6380158679882744
(3600, 24)
participant :  94 rest Model fit (Pearson correlation): 0.4616104277719202
participant :  94 rest Model error (matrix distance): 0.4340034670365429
(3600, 24)
participant :  95 rest Model fit (Pearson correlation): 0.5073313037865271
participant :  95 rest Model error (matrix distance): 0.5588027045801021
(3600, 24)
participant :  96 rest Model fit (Pearson correlation): 0.6898038498316167
participant :  96 rest Model error (matrix distance): 0.5427919731795801
(3600, 24)
participant :  97 rest Model fit (Pearson correlation): 0.8088188404509574
participant :  97 rest Model error (matrix distance): 0.4361043865337242
(3600, 24)
participant :  98 rest Model fit (Pearson correlation): 0.4294165755258301
participant :  98 rest Model error (matrix distance): 0.5296166541836612
(3600, 24)
participant :  99 rest Model fit (Pearson correlation): 0.9138029232370684
participant :  99 rest Model error (matrix distance): 0.5274582382319113
(3600, 24)
participant :  100 rest Model fit (Pearson correlation): 0.7916956523821255
participant :  100 rest Model error (matrix distance): 0.5851410924159383
(3600, 24)
participant :  101 rest Model fit (Pearson correlation): 0.5768858462027616
participant :  101 rest Model error (matrix distance): 0.42690718857406695
(3600, 24)
participant :  102 rest Model fit (Pearson correlation): 0.7499649754950124
participant :  102 rest Model error (matrix distance): 0.4292166842854743
(3600, 24)
participant :  103 rest Model fit (Pearson correlation): 0.6099223015355
participant :  103 rest Model error (matrix distance): 0.5846290375261198
(3600, 24)
participant :  104 rest Model fit (Pearson correlation): 0.7763368414550849
participant :  104 rest Model error (matrix distance): 0.5656736015211998
(3600, 24)
participant :  105 rest Model fit (Pearson correlation): 0.4715119921269233
participant :  105 rest Model error (matrix distance): 0.7218322114394542
(3600, 24)
participant :  106 rest Model fit (Pearson correlation): 0.7422523911275456
participant :  106 rest Model error (matrix distance): 0.44371989867998257
(3600, 24)
participant :  107 rest Model fit (Pearson correlation): 0.8068432745082768
participant :  107 rest Model error (matrix distance): 0.482234246643803
(3600, 24)
participant :  108 rest Model fit (Pearson correlation): 0.8521820352197171
participant :  108 rest Model error (matrix distance): 0.6124208106391553
(3600, 24)
participant :  109 rest Model fit (Pearson correlation): 0.757956488322737
participant :  109 rest Model error (matrix distance): 0.4282493685983949
(3600, 24)
participant :  110 rest Model fit (Pearson correlation): 0.7285750489645223
participant :  110 rest Model error (matrix distance): 0.5589499978313714
(3600, 24)
participant :  111 rest Model fit (Pearson correlation): 0.6580779939311506
participant :  111 rest Model error (matrix distance): 0.5469151228480433
(3600, 24)
participant :  112 rest Model fit (Pearson correlation): 0.815713900063312
participant :  112 rest Model error (matrix distance): 0.5833115845836397
(3600, 24)
participant :  113 rest Model fit (Pearson correlation): 0.8077507844117595
participant :  113 rest Model error (matrix distance): 0.4456914325844067
(3600, 24)
participant :  114 rest Model fit (Pearson correlation): 0.6591276851622296
participant :  114 rest Model error (matrix distance): 0.4175026156864538
(3600, 24)
participant :  115 rest Model fit (Pearson correlation): 0.39562041455662145
participant :  115 rest Model error (matrix distance): 0.48231900672186057
(3600, 24)
participant :  116 rest Model fit (Pearson correlation): 0.535814157947554
participant :  116 rest Model error (matrix distance): 0.49199506258123654
(3600, 24)
participant :  117 rest Model fit (Pearson correlation): 0.4596367012717104
participant :  117 rest Model error (matrix distance): 0.49209603963001924
(3600, 24)
participant :  118 rest Model fit (Pearson correlation): 0.6453521166964793
participant :  118 rest Model error (matrix distance): 0.5620087133509222
(3600, 24)
participant :  119 rest Model fit (Pearson correlation): 0.8250323853450152
participant :  119 rest Model error (matrix distance): 0.5318943716554889
(3600, 24)
participant :  120 rest Model fit (Pearson correlation): 0.8413350441379133
participant :  120 rest Model error (matrix distance): 0.6288915620452938
(3600, 24)
participant :  121 rest Model fit (Pearson correlation): 0.7234691206068483
participant :  121 rest Model error (matrix distance): 0.569909838872027
(3600, 24)
participant :  122 rest Model fit (Pearson correlation): 0.5881085490478953
participant :  122 rest Model error (matrix distance): 0.48953173974667047
(3600, 24)
participant :  123 rest Model fit (Pearson correlation): 0.8499817959347611
participant :  123 rest Model error (matrix distance): 0.49185021847508364
(3600, 24)
participant :  124 rest Model fit (Pearson correlation): 0.6680042647360778
participant :  124 rest Model error (matrix distance): 0.6253346634353119
(3600, 24)
participant :  125 rest Model fit (Pearson correlation): 0.8427229676622783
participant :  125 rest Model error (matrix distance): 0.32798574746292486
(3600, 24)
participant :  126 rest Model fit (Pearson correlation): 0.7879097047246997
participant :  126 rest Model error (matrix distance): 0.5659800752393906
(3600, 24)
participant :  127 rest Model fit (Pearson correlation): 0.5900156076623406
participant :  127 rest Model error (matrix distance): 0.48872061182220916
(3600, 24)
participant :  128 rest Model fit (Pearson correlation): 0.7734046632448339
participant :  128 rest Model error (matrix distance): 0.323138957755986
(3600, 24)
participant :  129 rest Model fit (Pearson correlation): 0.8283879153581952
participant :  129 rest Model error (matrix distance): 0.5472228062796456
(3600, 24)
participant :  130 rest Model fit (Pearson correlation): 0.9016005961957994
participant :  130 rest Model error (matrix distance): 0.3039544996891683
(3600, 24)
participant :  131 rest Model fit (Pearson correlation): 0.6165754269997983
participant :  131 rest Model error (matrix distance): 0.5948650180980327
(3600, 24)
participant :  132 rest Model fit (Pearson correlation): 0.8251998419754887
participant :  132 rest Model error (matrix distance): 0.5116082618770282
(3600, 24)
participant :  133 rest Model fit (Pearson correlation): 0.2663408745068599
participant :  133 rest Model error (matrix distance): 0.41511462377313413
(3600, 24)
participant :  134 rest Model fit (Pearson correlation): 0.6720863043675281
participant :  134 rest Model error (matrix distance): 0.5427110904808969
(3600, 24)
participant :  135 rest Model fit (Pearson correlation): 0.6647568299589073
participant :  135 rest Model error (matrix distance): 0.608419303742086
(3600, 24)
participant :  136 rest Model fit (Pearson correlation): 0.6237772677303048
participant :  136 rest Model error (matrix distance): 0.561412059929927
(3600, 24)
participant :  137 rest Model fit (Pearson correlation): 0.7331655685395526
participant :  137 rest Model error (matrix distance): 0.5240493186521438
(3600, 24)
participant :  138 rest Model fit (Pearson correlation): 0.8031824728495995
participant :  138 rest Model error (matrix distance): 0.6472108982339304
(3600, 24)
participant :  139 rest Model fit (Pearson correlation): 0.7284262255570287
participant :  139 rest Model error (matrix distance): 0.709725134684165
(3600, 24)
participant :  140 rest Model fit (Pearson correlation): 0.6066885920436043
participant :  140 rest Model error (matrix distance): 0.4572355986768001
(3600, 24)
participant :  141 rest Model fit (Pearson correlation): 0.4250186980119649
participant :  141 rest Model error (matrix distance): 0.40609540474171135
(3600, 24)
participant :  142 rest Model fit (Pearson correlation): 0.8525593634590629
participant :  142 rest Model error (matrix distance): 0.6239896250514338
(3600, 24)
participant :  143 rest Model fit (Pearson correlation): 0.7065405041413464
participant :  143 rest Model error (matrix distance): 0.7204852905619132
(3600, 24)
participant :  144 rest Model fit (Pearson correlation): 0.5089863448812765
participant :  144 rest Model error (matrix distance): 0.630104286369945
(3600, 24)
participant :  145 rest Model fit (Pearson correlation): 0.7455492872608246
participant :  145 rest Model error (matrix distance): 0.5366954398873096
(3600, 24)
participant :  146 rest Model fit (Pearson correlation): 0.8674132856320222
participant :  146 rest Model error (matrix distance): 0.2941633074148706
(3600, 24)
participant :  147 rest Model fit (Pearson correlation): 0.5327850051032892
participant :  147 rest Model error (matrix distance): 0.41425551126017357
(3600, 24)
participant :  148 rest Model fit (Pearson correlation): 0.5266881618906898
participant :  148 rest Model error (matrix distance): 0.45321093332624274
(3600, 24)
participant :  149 rest Model fit (Pearson correlation): 0.7223631114885524
participant :  149 rest Model error (matrix distance): 0.5274883429356274
(3600, 24)
participant :  150 rest Model fit (Pearson correlation): 0.7476556436549546
participant :  150 rest Model error (matrix distance): 0.577860610693196
(3600, 24)
participant :  151 rest Model fit (Pearson correlation): 0.8525257209677315
participant :  151 rest Model error (matrix distance): 0.7211928263274892
(3600, 24)
participant :  152 rest Model fit (Pearson correlation): 0.8091563790932983
participant :  152 rest Model error (matrix distance): 0.6132962931453715
(3587, 24)
participant :  153 rest Model fit (Pearson correlation): 0.6711105904445844
participant :  153 rest Model error (matrix distance): 0.3579926608491222
(3600, 24)
participant :  154 rest Model fit (Pearson correlation): 0.8480149433824458
participant :  154 rest Model error (matrix distance): 0.4212274203049052
(3600, 24)
participant :  155 rest Model fit (Pearson correlation): 0.8382744061854284
participant :  155 rest Model error (matrix distance): 0.3615157459348065
(3600, 24)
participant :  156 rest Model fit (Pearson correlation): 0.24127781107374913
participant :  156 rest Model error (matrix distance): 0.5479287217935407

3.4. Plot MOU EC

[25]:
J_mod_full = J_mod.copy()
for i_cond in range(J_mod.shape[0]):
    for i_sub in range(J_mod.shape[1]):
        np.fill_diagonal(J_mod_full[i_cond, i_sub, :, :], 0)

for i_sub in range(n_sub):

    fig, axs = plt.subplots(1,3,figsize=(10, 6))
    # =============================================================================
    plt.sca(axs[0])
    vmax_ret = max(abs(np.min(J_mod_full[0,i_sub,:,:])), abs(np.max(J_mod_full[0,i_sub,:,:])))
    im0 = plt.imshow(J_mod_full[0,i_sub,:,:].T, vmin=-vmax_ret, vmax=vmax_ret, cmap='BrBG_r')
    plt.xlabel('Source ROI', fontsize=10)
    plt.ylabel('Target ROI', fontsize=10)
    plt.title('retinotopy', fontsize=10)
    plt.colorbar(im0, ax=axs[0], orientation='horizontal', pad=0.15, label='EC')

    # Add subject label vertically on the left
    axs[0].text(-0.35, 0.5, f'Subject {i_sub+1}', transform=axs[0].transAxes,
                fontsize=14, fontweight='bold', va='center', rotation=90)

    plt.sca(axs[1])
    vmax_mov = max(abs(np.min(J_mod_full[1,i_sub,:,:])), abs(np.max(J_mod_full[1,i_sub,:,:])))
    im1 = plt.imshow(J_mod_full[1,i_sub,:,:].T, vmin=-vmax_mov, vmax=vmax_mov, cmap='BrBG_r')
    plt.xlabel('Source ROI', fontsize=10)
    plt.title('movie', fontsize=10)
    plt.colorbar(im1, ax=axs[1], orientation='horizontal', pad=0.15, label='EC')

    plt.sca(axs[2])
    vmax_rest = max(abs(np.min(J_mod_full[2,i_sub,:,:])), abs(np.max(J_mod_full[2,i_sub,:,:])))
    im2 = plt.imshow(J_mod_full[2,i_sub,:,:].T, vmin=-vmax_rest, vmax=vmax_rest, cmap='BrBG_r')
    plt.xlabel('Source ROI', fontsize=10)
    plt.title('rest', fontsize=10)
    plt.colorbar(im2, ax=axs[2], orientation='horizontal', pad=0.15, label='EC')

    plt.tight_layout()
    plt.show()
../_images/notebooks_retNet_MOU_10_0.png
../_images/notebooks_retNet_MOU_10_1.png
../_images/notebooks_retNet_MOU_10_2.png
../_images/notebooks_retNet_MOU_10_3.png
../_images/notebooks_retNet_MOU_10_4.png
../_images/notebooks_retNet_MOU_10_5.png
../_images/notebooks_retNet_MOU_10_6.png
../_images/notebooks_retNet_MOU_10_7.png
../_images/notebooks_retNet_MOU_10_8.png
../_images/notebooks_retNet_MOU_10_9.png
../_images/notebooks_retNet_MOU_10_10.png
../_images/notebooks_retNet_MOU_10_11.png
../_images/notebooks_retNet_MOU_10_12.png
../_images/notebooks_retNet_MOU_10_13.png
../_images/notebooks_retNet_MOU_10_14.png
../_images/notebooks_retNet_MOU_10_15.png
../_images/notebooks_retNet_MOU_10_16.png
../_images/notebooks_retNet_MOU_10_17.png
../_images/notebooks_retNet_MOU_10_18.png
../_images/notebooks_retNet_MOU_10_19.png
../_images/notebooks_retNet_MOU_10_20.png
../_images/notebooks_retNet_MOU_10_21.png
../_images/notebooks_retNet_MOU_10_22.png
../_images/notebooks_retNet_MOU_10_23.png
../_images/notebooks_retNet_MOU_10_24.png
../_images/notebooks_retNet_MOU_10_25.png
../_images/notebooks_retNet_MOU_10_26.png
../_images/notebooks_retNet_MOU_10_27.png
../_images/notebooks_retNet_MOU_10_28.png
../_images/notebooks_retNet_MOU_10_29.png
../_images/notebooks_retNet_MOU_10_30.png
../_images/notebooks_retNet_MOU_10_31.png
../_images/notebooks_retNet_MOU_10_32.png
../_images/notebooks_retNet_MOU_10_33.png
../_images/notebooks_retNet_MOU_10_34.png
../_images/notebooks_retNet_MOU_10_35.png
../_images/notebooks_retNet_MOU_10_36.png
../_images/notebooks_retNet_MOU_10_37.png
../_images/notebooks_retNet_MOU_10_38.png
../_images/notebooks_retNet_MOU_10_39.png
../_images/notebooks_retNet_MOU_10_40.png
../_images/notebooks_retNet_MOU_10_41.png
../_images/notebooks_retNet_MOU_10_42.png
../_images/notebooks_retNet_MOU_10_43.png
../_images/notebooks_retNet_MOU_10_44.png
../_images/notebooks_retNet_MOU_10_45.png
../_images/notebooks_retNet_MOU_10_46.png
../_images/notebooks_retNet_MOU_10_47.png
../_images/notebooks_retNet_MOU_10_48.png
../_images/notebooks_retNet_MOU_10_49.png
../_images/notebooks_retNet_MOU_10_50.png
../_images/notebooks_retNet_MOU_10_51.png
../_images/notebooks_retNet_MOU_10_52.png
../_images/notebooks_retNet_MOU_10_53.png
../_images/notebooks_retNet_MOU_10_54.png
../_images/notebooks_retNet_MOU_10_55.png
../_images/notebooks_retNet_MOU_10_56.png
../_images/notebooks_retNet_MOU_10_57.png
../_images/notebooks_retNet_MOU_10_58.png
../_images/notebooks_retNet_MOU_10_59.png
../_images/notebooks_retNet_MOU_10_60.png
../_images/notebooks_retNet_MOU_10_61.png
../_images/notebooks_retNet_MOU_10_62.png
../_images/notebooks_retNet_MOU_10_63.png
../_images/notebooks_retNet_MOU_10_64.png
../_images/notebooks_retNet_MOU_10_65.png
../_images/notebooks_retNet_MOU_10_66.png
../_images/notebooks_retNet_MOU_10_67.png
../_images/notebooks_retNet_MOU_10_68.png
../_images/notebooks_retNet_MOU_10_69.png
../_images/notebooks_retNet_MOU_10_70.png
../_images/notebooks_retNet_MOU_10_71.png
../_images/notebooks_retNet_MOU_10_72.png
../_images/notebooks_retNet_MOU_10_73.png
../_images/notebooks_retNet_MOU_10_74.png
../_images/notebooks_retNet_MOU_10_75.png
../_images/notebooks_retNet_MOU_10_76.png
../_images/notebooks_retNet_MOU_10_77.png
../_images/notebooks_retNet_MOU_10_78.png
../_images/notebooks_retNet_MOU_10_79.png
../_images/notebooks_retNet_MOU_10_80.png
../_images/notebooks_retNet_MOU_10_81.png
../_images/notebooks_retNet_MOU_10_82.png
../_images/notebooks_retNet_MOU_10_83.png
../_images/notebooks_retNet_MOU_10_84.png
../_images/notebooks_retNet_MOU_10_85.png
../_images/notebooks_retNet_MOU_10_86.png
../_images/notebooks_retNet_MOU_10_87.png
../_images/notebooks_retNet_MOU_10_88.png
../_images/notebooks_retNet_MOU_10_89.png
../_images/notebooks_retNet_MOU_10_90.png
../_images/notebooks_retNet_MOU_10_91.png
../_images/notebooks_retNet_MOU_10_92.png
../_images/notebooks_retNet_MOU_10_93.png
../_images/notebooks_retNet_MOU_10_94.png
../_images/notebooks_retNet_MOU_10_95.png
../_images/notebooks_retNet_MOU_10_96.png
../_images/notebooks_retNet_MOU_10_97.png
../_images/notebooks_retNet_MOU_10_98.png
../_images/notebooks_retNet_MOU_10_99.png
../_images/notebooks_retNet_MOU_10_100.png
../_images/notebooks_retNet_MOU_10_101.png
../_images/notebooks_retNet_MOU_10_102.png
../_images/notebooks_retNet_MOU_10_103.png
../_images/notebooks_retNet_MOU_10_104.png
../_images/notebooks_retNet_MOU_10_105.png
../_images/notebooks_retNet_MOU_10_106.png
../_images/notebooks_retNet_MOU_10_107.png
../_images/notebooks_retNet_MOU_10_108.png
../_images/notebooks_retNet_MOU_10_109.png
../_images/notebooks_retNet_MOU_10_110.png
../_images/notebooks_retNet_MOU_10_111.png
../_images/notebooks_retNet_MOU_10_112.png
../_images/notebooks_retNet_MOU_10_113.png
../_images/notebooks_retNet_MOU_10_114.png
../_images/notebooks_retNet_MOU_10_115.png
../_images/notebooks_retNet_MOU_10_116.png
../_images/notebooks_retNet_MOU_10_117.png
../_images/notebooks_retNet_MOU_10_118.png
../_images/notebooks_retNet_MOU_10_119.png
../_images/notebooks_retNet_MOU_10_120.png
../_images/notebooks_retNet_MOU_10_121.png
../_images/notebooks_retNet_MOU_10_122.png
../_images/notebooks_retNet_MOU_10_123.png
../_images/notebooks_retNet_MOU_10_124.png
../_images/notebooks_retNet_MOU_10_125.png
../_images/notebooks_retNet_MOU_10_126.png
../_images/notebooks_retNet_MOU_10_127.png
../_images/notebooks_retNet_MOU_10_128.png
../_images/notebooks_retNet_MOU_10_129.png
../_images/notebooks_retNet_MOU_10_130.png
../_images/notebooks_retNet_MOU_10_131.png
../_images/notebooks_retNet_MOU_10_132.png
../_images/notebooks_retNet_MOU_10_133.png
../_images/notebooks_retNet_MOU_10_134.png
../_images/notebooks_retNet_MOU_10_135.png
../_images/notebooks_retNet_MOU_10_136.png
../_images/notebooks_retNet_MOU_10_137.png
../_images/notebooks_retNet_MOU_10_138.png
../_images/notebooks_retNet_MOU_10_139.png
../_images/notebooks_retNet_MOU_10_140.png
../_images/notebooks_retNet_MOU_10_141.png
../_images/notebooks_retNet_MOU_10_142.png
../_images/notebooks_retNet_MOU_10_143.png
../_images/notebooks_retNet_MOU_10_144.png
../_images/notebooks_retNet_MOU_10_145.png
../_images/notebooks_retNet_MOU_10_146.png
../_images/notebooks_retNet_MOU_10_147.png
../_images/notebooks_retNet_MOU_10_148.png
../_images/notebooks_retNet_MOU_10_149.png
../_images/notebooks_retNet_MOU_10_150.png
../_images/notebooks_retNet_MOU_10_151.png
../_images/notebooks_retNet_MOU_10_152.png
../_images/notebooks_retNet_MOU_10_153.png
../_images/notebooks_retNet_MOU_10_154.png
../_images/notebooks_retNet_MOU_10_155.png

3.5. Save network parameters for best fitting model

[24]:
out_path = "../../../temp/results_MOU/"

np.save(os.path.join(out_path,'Fit_' + model + '.npy'), model_fit)
np.save(os.path.join(out_path,'Error_' + model + '.npy'), model_error)
np.save(os.path.join(out_path,'J_mod_' + model + '.npy'), J_mod)
np.save(os.path.join(out_path,'Sigma_mod_' + model + '.npy'), Sigma_mod)

print("Saved results to: ", Path(out_path).resolve())
Saved results to:  /home/nicolas/Documents/GitHubProjects/retNet/temp/results_MOU