Ejemplo n.º 1
0
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
import bestExpressions_L_FDR_MOTOR_LASSO_1 as motor_FDR_LASSO
import bestExpressions_L_FDR_RELATIONAL_LASSO_1 as relational_FDR_LASSO
import bestExpressions_L_FDR_SOCIAL_LASSO_1 as social_FDR_LASSO
import bestExpressions_L_FDR_WM_LASSO_1 as wm_FDR_LASSO

functions_FDR_LASSO = [
    emotion_FDR_LASSO.getFuncs(),
    gambling_FDR_LASSO.getFuncs(),
    language_FDR_LASSO.getFuncs(),
    motor_FDR_LASSO.getFuncs(),
    relational_FDR_LASSO.getFuncs(),
    social_FDR_LASSO.getFuncs(),
    wm_FDR_LASSO.getFuncs()
]

# TOP 30
import bestExpressions_L_TOP30_EMOTION as emotion_TOP30
import bestExpressions_L_TOP30_GAMBLING as gambling_TOP30
import bestExpressions_L_TOP30_LANGUAGE as language_TOP30
import bestExpressions_L_TOP30_MOTOR as motor_TOP30
import bestExpressions_L_TOP30_RELATIONAL as relational_TOP30
import bestExpressions_L_TOP30_SOCIAL as social_TOP30
import bestExpressions_L_TOP30_WM as wm_TOP30

functions_TOP30 = [
    emotion_TOP30.getFuncs(),
    gambling_TOP30.getFuncs(),
Ejemplo n.º 2
0
import bestExpressions_L_FDR_RELATIONAL_LASSO_1 as relational		
import bestExpressions_L_FDR_SOCIAL_LASSO_1 as social
import bestExpressions_L_FDR_WM_LASSO_1 as wm

tasks = ["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
		ALL = []
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
import bestExpressions_L_FDR_MOTOR_LASSO_1 as motor_FDR_LASSO
import bestExpressions_L_FDR_RELATIONAL_LASSO_1 as relational_FDR_LASSO
import bestExpressions_L_FDR_SOCIAL_LASSO_1 as social_FDR_LASSO
import bestExpressions_L_FDR_WM_LASSO_1 as wm_FDR_LASSO

functions_FDR_LASSO = [emotion_FDR_LASSO.getFuncs(), gambling_FDR_LASSO.getFuncs(), language_FDR_LASSO.getFuncs(), motor_FDR_LASSO.getFuncs(), relational_FDR_LASSO.getFuncs(), social_FDR_LASSO.getFuncs(), wm_FDR_LASSO.getFuncs()]

# TOP 30
import bestExpressions_L_TOP30_EMOTION as emotion_TOP30	
import bestExpressions_L_TOP30_GAMBLING as gambling_TOP30	
import bestExpressions_L_TOP30_LANGUAGE as language_TOP30		
import bestExpressions_L_TOP30_MOTOR as motor_TOP30		
import bestExpressions_L_TOP30_RELATIONAL as relational_TOP30
import bestExpressions_L_TOP30_SOCIAL as social_TOP30
import bestExpressions_L_TOP30_WM as wm_TOP30

functions_TOP30 = [emotion_TOP30.getFuncs(), gambling_TOP30.getFuncs(), language_TOP30.getFuncs(), motor_TOP30.getFuncs(), relational_TOP30.getFuncs(), social_TOP30.getFuncs(), wm_TOP30.getFuncs()]

import bestExpressions_L_TOP30_EMOTION_LASSO_1 as emotion_TOP30_LASSO
import bestExpressions_L_TOP30_GAMBLING_LASSO_1 as gambling_TOP30_LASSO	
import bestExpressions_L_TOP30_LANGUAGE_LASSO_1 as language_TOP30_LASSO
Ejemplo n.º 4
0
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
        ALL = []