コード例 #1
0
    motor_BC.getFuncs(),
    relational_BC.getFuncs(),
    social_BC.getFuncs(),
    wm_BC.getFuncs()
]

import bestExpressions_L_BC_EMOTION_LASSO_1 as emotion_BC_LASSO
import bestExpressions_L_BC_GAMBLING_LASSO_1 as gambling_BC_LASSO
import bestExpressions_L_BC_LANGUAGE_LASSO_1 as language_BC_LASSO
import bestExpressions_L_BC_MOTOR_LASSO_1 as motor_BC_LASSO
import bestExpressions_L_BC_RELATIONAL_LASSO_1 as relational_BC_LASSO
import bestExpressions_L_BC_SOCIAL_LASSO_1 as social_BC_LASSO
import bestExpressions_L_BC_WM_LASSO_1 as wm_BC_LASSO

functions_BC_LASSO = [
    emotion_BC_LASSO.getFuncs(),
    gambling_BC_LASSO.getFuncs(),
    language_BC_LASSO.getFuncs(),
    motor_BC_LASSO.getFuncs(),
    relational_BC_LASSO.getFuncs(),
    social_BC_LASSO.getFuncs(),
    wm_BC_LASSO.getFuncs()
]

# FDR
import bestExpressions_L_FDR_EMOTION as emotion_FDR
import bestExpressions_L_FDR_GAMBLING as gambling_FDR
import bestExpressions_L_FDR_LANGUAGE as language_FDR
import bestExpressions_L_FDR_MOTOR as motor_FDR
import bestExpressions_L_FDR_RELATIONAL as relational_FDR
import bestExpressions_L_FDR_SOCIAL as social_FDR
コード例 #2
0
    "EMOTION", "GAMBLING", "LANGUAGE", "MOTOR", "RELATIONAL", "SOCIAL", "WM"
]
lasts = ["7", "2", "16", "21", "28", "3", "21"]
#subjects =[100307, 100408, 101006, 101107, 101309, 101410, 101915, 102008, 102311, 102816, 103111, 103414, 103515, 103818, 104012, 104820, 105014, 105115, 105216, 105923, 106016, 106319, 106521, 107321, 107422, 108121, 108323, 108525, 108828, 109123, 109325, 110411, 111312, 111413, 111514, 111716, 112819, 113215, 113619, 113821, 113922, 114419, 114924, 115320, 116524, 117122, 117324, 118528, 118730, 118932, 119833, 120111, 120212, 120515, 121315, 121618, 122317, 122620, 123117, 123420, 123925, 124220, 124422, 124826, 125525, 126325, 126628, 127630, 127933, 128127, 128632, 129028, 130013, 130316, 130922, 131217, 131722, 131924, 132118, 133019, 133625, 133827, 133928, 134324, 135225, 135528, 135932, 136227, 136833, 137027, 137128, 137633, 137936, 138231, 138534, 139233, 139637, 140117, 140824, 140925, 141422, 141826, 142424, 142626, 142828, 143325, 144226, 144832, 145531, 145834]

subjects = [
    100307, 100408, 101006, 101107, 101309, 101410, 101915, 102008, 102311,
    102816, 103111, 103414, 103515, 103818, 104012, 104820, 105014, 105115,
    105216, 105923, 106016, 106319, 106521, 107321, 107422, 108121, 108323,
    108525, 108828, 109123, 109325, 110411, 111312, 111413, 111514, 111716,
    113215, 113619, 113922, 114419
]

#all_functions_line = funcsL_EMOTION[:len(subjects)] + funcsL_GAMBLING[:len(subjects)] + funcsL_LANGUAGE[:len(subjects)] + funcsL_MOTOR[:len(subjects)] + funcsL_RELATIONAL[:len(subjects)] + funcsL_SOCIAL[:len(subjects)] + funcsL_WM[:len(subjects)]

all_functions_line = emotion.getFuncs() + gambling.getFuncs(
) + language.getFuncs() + motor.getFuncs() + relational.getFuncs(
) + social.getFuncs() + wm.getFuncs()

matrixMSE = []
matrixABE = []

matrixMIN = []

lastsCount = 0

for t in tasks:
    fs = 'funcsL_' + t + ' = ['
    count = 0
    for s in subjects:
        print t, s
import bestExpressions_L_BC_MOTOR as motor_BC		
import bestExpressions_L_BC_RELATIONAL as relational_BC
import bestExpressions_L_BC_SOCIAL as social_BC
import bestExpressions_L_BC_WM as wm_BC

functions_BC = [emotion_BC.getFuncs(), gambling_BC.getFuncs(), language_BC.getFuncs(), motor_BC.getFuncs(), relational_BC.getFuncs(), social_BC.getFuncs(), wm_BC.getFuncs()]

import bestExpressions_L_BC_EMOTION_LASSO_1 as emotion_BC_LASSO
import bestExpressions_L_BC_GAMBLING_LASSO_1 as gambling_BC_LASSO	
import bestExpressions_L_BC_LANGUAGE_LASSO_1 as language_BC_LASSO
import bestExpressions_L_BC_MOTOR_LASSO_1 as motor_BC_LASSO
import bestExpressions_L_BC_RELATIONAL_LASSO_1 as relational_BC_LASSO
import bestExpressions_L_BC_SOCIAL_LASSO_1 as social_BC_LASSO
import bestExpressions_L_BC_WM_LASSO_1 as wm_BC_LASSO

functions_BC_LASSO = [emotion_BC_LASSO.getFuncs(), gambling_BC_LASSO.getFuncs(), language_BC_LASSO.getFuncs(), motor_BC_LASSO.getFuncs(), relational_BC_LASSO.getFuncs(), social_BC_LASSO.getFuncs(), wm_BC_LASSO.getFuncs()]

# FDR
import bestExpressions_L_FDR_EMOTION as emotion_FDR	
import bestExpressions_L_FDR_GAMBLING as gambling_FDR	
import bestExpressions_L_FDR_LANGUAGE as language_FDR		
import bestExpressions_L_FDR_MOTOR as motor_FDR		
import bestExpressions_L_FDR_RELATIONAL as relational_FDR
import bestExpressions_L_FDR_SOCIAL as social_FDR
import bestExpressions_L_FDR_WM as wm_FDR

functions_FDR = [emotion_FDR.getFuncs(), gambling_FDR.getFuncs(), language_FDR.getFuncs(), motor_FDR.getFuncs(), relational_FDR.getFuncs(), social_FDR.getFuncs(), wm_FDR.getFuncs()]

import bestExpressions_L_FDR_EMOTION_LASSO_1 as emotion_FDR_LASSO
import bestExpressions_L_FDR_GAMBLING_LASSO_1 as gambling_FDR_LASSO	
import bestExpressions_L_FDR_LANGUAGE_LASSO_1 as language_FDR_LASSO