In [10]:
import pandas as pd
import numpy as np
from sklearn.externals import joblib
import scikitplot.plotters as skplt
from sklearn.pipeline import Pipeline
from sklearn.model_selection import StratifiedShuffleSplit
from sklearn.ensemble import RandomForestClassifier
from sklearn.metrics import classification_report, confusion_matrix
from sklearn.preprocessing import StandardScaler
import imblearn.pipeline as pl
from scikitplot import classifier_factory
from imblearn.over_sampling import RandomOverSampler
from sklearn.metrics import roc_auc_score, roc_curve
from sklearn.ensemble import AdaBoostClassifier, GradientBoostingClassifier
from sklearn.neighbors import KNeighborsClassifier
from sklearn import svm
from sklearn.feature_selection import SelectFromModel
from sklearn.linear_model import RandomizedLasso
from sklearn.utils import class_weight
import warnings; warnings.simplefilter('ignore')
import time
from sklearn.naive_bayes import GaussianNB
from sklearn.neural_network import MLPClassifier
from sklearn.gaussian_process import GaussianProcessClassifier
from sklearn.gaussian_process.kernels import RBF

In [11]:
labels = pd.read_csv('./labels2.csv', index_col=0)
pts = pd.read_csv('./pts.csv', index_col=0)

In [ ]:
# For determining Ch 5 features
summit_data = pts[pts['system_id'] == 3]
summit_labels = labels[pts['system_id'] == 3]
summit_data = summit_data.drop([
'min_nnz_row.1',
'system_id',
'matrix_id', 
'status_id', 
'time', 
'HPL_Tflops',        
'StarDGEMM_Gflops',                        
'SingleDGEMM_Gflops',                      
'PTRANS_GBs',                              
'MPIRandomAccess_LCG_GUPs',                
'MPIRandomAccess_GUPs',                    
'StarRandomAccess_LCG_GUPs',               
'SingleRandomAccess_LCG_GUPs',             
'StarRandomAccess_GUPs',                   
'SingleRandomAccess_GUPs',                 
'StarSTREAM_Copy',                         
'StarSTREAM_Scale',                        
'StarSTREAM_Add',                          
'StarSTREAM_Triad',                        
'SingleSTREAM_Copy',                       
'SingleSTREAM_Scale',                      
'SingleSTREAM_Add',                        
'SingleSTREAM_Triad',                      
'StarFFT_Gflops',                          
'SingleFFT_Gflops',                        
'MPIFFT_Gflops',                           
'MaxPingPongLatency_usec',                 
'RandomlyOrderedRingLatency_usec',         
'MinPingPongBandwidth_GBytes',             
'NaturallyOrderedRingBandwidth_GBytes',    
'RandomlyOrderedRingBandwidth_GBytes',     
'MinPingPongLatency_usec',                 
'AvgPingPongLatency_usec',                 
'MaxPingPongBandwidth_GBytes',             
'AvgPingPongBandwidth_GBytes',             
'NaturallyOrderedRingLatency_usec',        
'MemProc',                                
'core_count',                              
'cpu_freq',                                
'bogo_mips',                              
'l1_cache',                                
'l2_cache',                                
'l3_cache',                                
'memory_size',                             
'memory_freq',                             
'memory_type'], axis=1)

summit_data.info()

X = summit_data.as_matrix()
y = summit_labels.as_matrix()
clfLasso = RandomizedLasso()
clfLasso.fit(X,y[:,7])
for i,j in zip(summit_data.columns, clfLasso.scores_):
    print(i,j)

In [ ]:
# For determining Ch 6 features
ch6_data = pts[pts['np'] == 4]
ch6_labels = labels[pts['np'] == 4]
ch6_data = ch6_data.drop([
'min_nnz_row.1',
'np',
'matrix_id', 
'status_id',
'system_id',
'time'], axis=1)

ch6_data.info()

X = ch6_data.as_matrix()
y = ch6_labels.as_matrix()
clfLasso = RandomizedLasso()
clfLasso.fit(X,y[:,15]) # The 25% threshold, specific to each np and sys
for i,j in zip(ch6_data.columns, clfLasso.scores_):
    print(i,j)

In [ ]:
# For determining Ch 7 features
ch7_data = pts
ch7_labels = labels
ch7_data = ch7_data.drop([
'min_nnz_row.1',
'matrix_id', 
'status_id',
'system_id',
'core_count',
'time'], axis=1)

ch7_data.info()

X = ch7_data.as_matrix()
y = ch7_labels.as_matrix()
clfLasso = RandomizedLasso()    
for num in range(0,18):
    print('\n', num)
    clfLasso.fit(X,y[:,num]) # The 25% threshold, specific to each np and sys
    for i,j in zip(ch7_data.columns, clfLasso.scores_):
        print(i,j)

In [12]:
# Adding in Cavity flow stuff for Ch8 predictions
cavity_flow = pd.read_csv('./cavity_flow_pts.csv', 
                          header=0, index_col=0)
cavity_flow_results = pd.read_csv('./labels_cavity.csv', 
                                 header=0, index_col=0)
cavity_flow = cavity_flow.drop([
'matrix_id',
'system_id',
'time',
'min_nnz_row.1',
'status_id'], axis=1)

ch8_data = pts
ch8_labels = labels
ch8_data = ch8_data.drop([
'matrix_id', 
'system_id',
'min_nnz_row.1',
'time',
'status_id'], axis=1)

In [42]:
# Trains on UF matrices and tests on cavity flow
X = ch8_data.as_matrix()
y = ch8_labels.as_matrix()
print(X.shape, y.shape)
print(cavity_flow.shape, cavity_flow_results.shape)
for i in range(0,18):
    clf = RandomForestClassifier()
    start_time = time.time()
    clf = clf.fit(X, y[:,i])
    #a = pd.DataFrame(clf.predict(cavity_flow))
    a = clf.predict_proba(cavity_flow)
    #skplt.plot_confusion_matrix(cavity_flow_results.iloc[:,i], a)
    skplt.plot_precision_recall_curve(cavity_flow_results.iloc[:,i], a)
    print(time.time()-start_time)
    plt.title(i)
    plt.show()


(871535, 78) (871535, 18)
(2520, 78) (2520, 18)
44.54063296318054
38.23482036590576
27.765143632888794
27.556966304779053
27.794955253601074
30.850618600845337
26.231040477752686
36.652111530303955
32.23186445236206
31.882317781448364
34.608999252319336
32.691163301467896
32.4729061126709
33.0370831489563
36.58794903755188
35.877370834350586
37.00289058685303
31.35710048675537

In [63]:
# Trains on UF matrices + half cavity flow and tests 
#   on the other half of cavity flow
# Adding in Cavity flow stuff for Ch8 predictions
X_train = pd.read_csv('./pts+first_half_cavity.csv', 
                          header=0, index_col=0)
y_train = pd.read_csv('./labels2+first_half_cavity.csv', 
                                 header=0, index_col=0)
X_test = pd.read_csv('./cavity_flow_pts_second_half.csv', 
                    header=0, index_col=0)
y_test = pd.read_csv('./labels_cavity_second_half.csv',
                    header=0, index_col=0)


X_train = X_train.drop([
'matrix_id',
'system_id',
'time',
'min_nnz_row.1',
'status_id'], axis=1)
X_test = X_test.drop([
'matrix_id',
'system_id',
'time',
'min_nnz_row.1',
'status_id'], axis=1)

for i in range(0,18):
    clf = RandomForestClassifier()
    start_time = time.time()
    clf = clf.fit(X_train.as_matrix(), y_train.as_matrix()[:,i])
    #a = pd.DataFrame(clf.predict(X_test))
    a = clf.predict_proba(X_test)
    #skplt.plot_confusion_matrix(y_test.as_matrix()[:,i], a)
    #skplt.plot_precision_recall_curve(y_test.iloc[:,i], a)
    skplt.plot_roc_curve(y_test.iloc[:,i], a)
    print(time.time()-start_time)
    plt.title(i)
    plt.show()


17.902650117874146
16.003519296646118
10.209529638290405
11.382481575012207
12.858874797821045
14.26705026626587
12.33736276626587
13.290831089019775
14.495733976364136
14.887174844741821
12.100276708602905
12.354877948760986
12.155374765396118
14.72692608833313
14.335873126983643
15.395948648452759
17.169700145721436
16.928687572479248

In [57]:
# Trains on cavity data and tests on UF matrices
X = cavity_flow.as_matrix()
y = cavity_flow_results.as_matrix()
for i in range(0,18):
    clf = RandomForestClassifier()
    start_time = time.time()
    clf = clf.fit(X, y[:,i])
    #a = pd.DataFrame(clf.predict(ch8_data))
    a = clf.predict_proba(ch8_data)
    #skplt.plot_confusion_matrix(ch8_labels.iloc[:,i], a)
    skplt.plot_roc_curve(ch8_labels.iloc[:,i], a)
    #skplt.plot_precision_recall_curve(ch8_labels.iloc[:,i], a)
    print(time.time()-start_time)
    plt.title(i)
    plt.show()


1.5008175373077393
1.5470435619354248
1.2283296585083008
1.5100488662719727
1.391118049621582
1.5528488159179688
1.332362413406372
1.8442766666412354
1.4349229335784912
1.467496633529663
1.347377061843872
1.3730883598327637
1.6525156497955322
1.8052177429199219
1.3226025104522705
1.4148211479187012
1.4579732418060303
1.4721674919128418

In [43]:
# Trains and tests on cavity flow data
X = cavity_flow.as_matrix()
y = cavity_flow_results.as_matrix()
for i in range(0,18):
    clf = RandomForestClassifier()
    classifier_factory(clf)
    start_time = time.time()
    #clf.plot_confusion_matrix(X, y[:,i])
    clf.plot_roc_curve(X,y[:,i])
    #clf.plot_precision_recall_curve(X,y[:,i])
    print(time.time()-start_time)
    plt.title(i)
    plt.show()


0.27037978172302246
0.15891647338867188
0.14742732048034668
0.13226795196533203
0.1419222354888916
0.14049839973449707
0.13507485389709473
0.15335512161254883
0.1692197322845459
0.18033099174499512
0.5387613773345947
0.211961030960083
0.23029208183288574
0.17198514938354492
0.1825847625732422
0.15137147903442383
0.14221644401550293
0.155562162399292

In [5]:
# Ch8 Feature ranking for Cavity flow only
for r in range(0,18):
    print(str(r) + '\n')
    clfLasso = RandomizedLasso()
    clfLasso.fit(cavity_flow,cavity_flow_results.iloc[:,r])
    zipped = sorted(zip(cavity_flow.columns, clfLasso.scores_), 
                    key=lambda x: x[1], reverse=True)
    for i,j in zipped:
        print(i,j)


0

solver_id 1.0
prec_id 1.0
np 0.715
diag_avg 0.505
col_log_val_spread 0.435
num_value_symm_2 0.39
antisymm_frob_norm 0.29
nnz_pattern_symm_2 0.23
StarSTREAM_Triad 0.19
row_log_val_spread 0.17
frob_norm 0.155
symm_frob_norm 0.125
MaxPingPongBandwidth_GBytes 0.08
PTRANS_GBs 0.05
StarSTREAM_Copy 0.045
bogo_mips 0.045
col_var 0.045
one_norm 0.045
NaturallyOrderedRingLatency_usec 0.035
MinPingPongLatency_usec 0.03
StarDGEMM_Gflops 0.02
SingleDGEMM_Gflops 0.02
MinPingPongBandwidth_GBytes 0.02
trace 0.02
abs_trace 0.02
SingleRandomAccess_LCG_GUPs 0.015
MPIFFT_Gflops 0.015
StarRandomAccess_LCG_GUPs 0.01
StarSTREAM_Add 0.01
StarFFT_Gflops 0.01
SingleFFT_Gflops 0.01
RandomlyOrderedRingLatency_usec 0.01
RandomlyOrderedRingBandwidth_GBytes 0.01
MemProc 0.01
antisymm_inf_norm 0.01
MPIRandomAccess_GUPs 0.005
SingleSTREAM_Scale 0.005
SingleSTREAM_Add 0.005
SingleSTREAM_Triad 0.005
MaxPingPongLatency_usec 0.005
AvgPingPongLatency_usec 0.005
rows 0.005
cols 0.005
diag_var 0.005
symm_inf_norm 0.005
HPL_Tflops 0.0
MPIRandomAccess_LCG_GUPs 0.0
StarRandomAccess_GUPs 0.0
SingleRandomAccess_GUPs 0.0
StarSTREAM_Scale 0.0
SingleSTREAM_Copy 0.0
NaturallyOrderedRingBandwidth_GBytes 0.0
AvgPingPongBandwidth_GBytes 0.0
core_count 0.0
cpu_freq 0.0
l1_cache 0.0
l2_cache 0.0
l3_cache 0.0
memory_size 0.0
memory_freq 0.0
memory_type 0.0
min_nnz_row 0.0
row_var 0.0
nnz 0.0
inf_norm 0.0
max_nnz_row 0.0
avg_nnz_row 0.0
dummy_rows 0.0
dummy_rows_kind 0.0
num_value_symm_1 0.0
nnz_pattern_symm_1 0.0
row_diag_dom 0.0
col_diag_dom 0.0
diag_sign 0.0
diag_nnz 0.0
lower_bw 0.0
upper_bw 0.0
symm 0.0
1

solver_id 1.0
prec_id 0.995
row_log_val_spread 0.655
nnz_pattern_symm_2 0.61
diag_avg 0.61
col_log_val_spread 0.6
num_value_symm_2 0.505
StarSTREAM_Triad 0.36
np 0.36
frob_norm 0.23
symm_frob_norm 0.215
antisymm_frob_norm 0.205
one_norm 0.18
MaxPingPongBandwidth_GBytes 0.17
col_var 0.13
StarSTREAM_Copy 0.105
bogo_mips 0.1
PTRANS_GBs 0.09
trace 0.08
NaturallyOrderedRingLatency_usec 0.04
SingleDGEMM_Gflops 0.035
rows 0.035
row_var 0.035
StarSTREAM_Scale 0.03
MinPingPongBandwidth_GBytes 0.03
MPIFFT_Gflops 0.025
RandomlyOrderedRingLatency_usec 0.025
diag_var 0.025
symm_inf_norm 0.025
abs_trace 0.025
StarDGEMM_Gflops 0.02
SingleFFT_Gflops 0.02
AvgPingPongBandwidth_GBytes 0.02
antisymm_inf_norm 0.02
MPIRandomAccess_LCG_GUPs 0.015
MPIRandomAccess_GUPs 0.015
StarRandomAccess_LCG_GUPs 0.015
SingleRandomAccess_LCG_GUPs 0.015
SingleSTREAM_Scale 0.015
MaxPingPongLatency_usec 0.015
RandomlyOrderedRingBandwidth_GBytes 0.015
MemProc 0.015
inf_norm 0.015
StarSTREAM_Add 0.01
SingleSTREAM_Triad 0.01
StarFFT_Gflops 0.01
MinPingPongLatency_usec 0.01
AvgPingPongLatency_usec 0.01
nnz 0.01
HPL_Tflops 0.005
StarRandomAccess_GUPs 0.005
SingleSTREAM_Copy 0.005
SingleSTREAM_Add 0.005
cols 0.005
diag_nnz 0.005
SingleRandomAccess_GUPs 0.0
NaturallyOrderedRingBandwidth_GBytes 0.0
core_count 0.0
cpu_freq 0.0
l1_cache 0.0
l2_cache 0.0
l3_cache 0.0
memory_size 0.0
memory_freq 0.0
memory_type 0.0
min_nnz_row 0.0
max_nnz_row 0.0
avg_nnz_row 0.0
dummy_rows 0.0
dummy_rows_kind 0.0
num_value_symm_1 0.0
nnz_pattern_symm_1 0.0
row_diag_dom 0.0
col_diag_dom 0.0
diag_sign 0.0
lower_bw 0.0
upper_bw 0.0
symm 0.0
2

prec_id 0.97
solver_id 0.815
StarSTREAM_Triad 0.33
np 0.185
MaxPingPongBandwidth_GBytes 0.17
PTRANS_GBs 0.125
row_log_val_spread 0.125
num_value_symm_2 0.12
diag_avg 0.115
col_log_val_spread 0.105
bogo_mips 0.08
StarSTREAM_Copy 0.075
nnz_pattern_symm_2 0.07
diag_var 0.055
SingleDGEMM_Gflops 0.05
MinPingPongLatency_usec 0.035
StarSTREAM_Add 0.03
StarSTREAM_Scale 0.025
SingleSTREAM_Add 0.025
MPIFFT_Gflops 0.025
NaturallyOrderedRingLatency_usec 0.025
StarRandomAccess_LCG_GUPs 0.02
rows 0.02
col_var 0.02
antisymm_frob_norm 0.02
HPL_Tflops 0.015
MaxPingPongLatency_usec 0.015
row_var 0.015
trace 0.015
SingleSTREAM_Copy 0.01
SingleSTREAM_Scale 0.01
SingleSTREAM_Triad 0.01
StarFFT_Gflops 0.01
RandomlyOrderedRingBandwidth_GBytes 0.01
AvgPingPongBandwidth_GBytes 0.01
symm_frob_norm 0.01
antisymm_inf_norm 0.01
StarDGEMM_Gflops 0.005
MPIRandomAccess_GUPs 0.005
SingleRandomAccess_GUPs 0.005
SingleFFT_Gflops 0.005
RandomlyOrderedRingLatency_usec 0.005
NaturallyOrderedRingBandwidth_GBytes 0.005
MemProc 0.005
cols 0.005
nnz 0.005
frob_norm 0.005
inf_norm 0.005
symm_inf_norm 0.005
MPIRandomAccess_LCG_GUPs 0.0
SingleRandomAccess_LCG_GUPs 0.0
StarRandomAccess_GUPs 0.0
MinPingPongBandwidth_GBytes 0.0
AvgPingPongLatency_usec 0.0
core_count 0.0
cpu_freq 0.0
l1_cache 0.0
l2_cache 0.0
l3_cache 0.0
memory_size 0.0
memory_freq 0.0
memory_type 0.0
min_nnz_row 0.0
one_norm 0.0
max_nnz_row 0.0
abs_trace 0.0
avg_nnz_row 0.0
dummy_rows 0.0
dummy_rows_kind 0.0
num_value_symm_1 0.0
nnz_pattern_symm_1 0.0
row_diag_dom 0.0
col_diag_dom 0.0
diag_sign 0.0
diag_nnz 0.0
lower_bw 0.0
upper_bw 0.0
symm 0.0
3

prec_id 0.995
solver_id 0.975
np 0.905
row_log_val_spread 0.545
col_log_val_spread 0.455
diag_var 0.39
num_value_symm_2 0.35
nnz_pattern_symm_2 0.35
diag_avg 0.33
StarSTREAM_Triad 0.245
MaxPingPongBandwidth_GBytes 0.205
trace 0.155
symm_frob_norm 0.125
abs_trace 0.125
antisymm_frob_norm 0.115
antisymm_inf_norm 0.115
StarSTREAM_Copy 0.11
PTRANS_GBs 0.105
bogo_mips 0.105
col_var 0.105
frob_norm 0.1
one_norm 0.1
rows 0.07
row_var 0.06
symm_inf_norm 0.055
nnz 0.05
SingleDGEMM_Gflops 0.045
cols 0.04
MinPingPongLatency_usec 0.03
StarDGEMM_Gflops 0.025
SingleSTREAM_Scale 0.025
NaturallyOrderedRingLatency_usec 0.025
inf_norm 0.025
MPIRandomAccess_GUPs 0.02
StarRandomAccess_GUPs 0.02
SingleFFT_Gflops 0.02
diag_nnz 0.02
lower_bw 0.02
upper_bw 0.02
StarRandomAccess_LCG_GUPs 0.015
SingleRandomAccess_LCG_GUPs 0.015
StarFFT_Gflops 0.015
MPIFFT_Gflops 0.015
StarSTREAM_Scale 0.01
StarSTREAM_Add 0.01
SingleSTREAM_Copy 0.01
SingleSTREAM_Add 0.01
MaxPingPongLatency_usec 0.01
RandomlyOrderedRingBandwidth_GBytes 0.01
AvgPingPongLatency_usec 0.01
MemProc 0.01
HPL_Tflops 0.005
SingleRandomAccess_GUPs 0.005
SingleSTREAM_Triad 0.005
RandomlyOrderedRingLatency_usec 0.005
MinPingPongBandwidth_GBytes 0.005
MPIRandomAccess_LCG_GUPs 0.0
NaturallyOrderedRingBandwidth_GBytes 0.0
AvgPingPongBandwidth_GBytes 0.0
core_count 0.0
cpu_freq 0.0
l1_cache 0.0
l2_cache 0.0
l3_cache 0.0
memory_size 0.0
memory_freq 0.0
memory_type 0.0
min_nnz_row 0.0
max_nnz_row 0.0
avg_nnz_row 0.0
dummy_rows 0.0
dummy_rows_kind 0.0
num_value_symm_1 0.0
nnz_pattern_symm_1 0.0
row_diag_dom 0.0
col_diag_dom 0.0
diag_sign 0.0
symm 0.0
4

prec_id 1.0
solver_id 0.985
np 0.95
row_log_val_spread 0.49
diag_var 0.32
MaxPingPongBandwidth_GBytes 0.3
antisymm_frob_norm 0.275
col_log_val_spread 0.265
nnz_pattern_symm_2 0.215
frob_norm 0.205
one_norm 0.195
num_value_symm_2 0.19
diag_avg 0.175
StarSTREAM_Triad 0.165
trace 0.165
symm_frob_norm 0.155
col_var 0.135
StarSTREAM_Copy 0.12
abs_trace 0.12
antisymm_inf_norm 0.11
PTRANS_GBs 0.095
row_var 0.095
rows 0.09
bogo_mips 0.06
SingleDGEMM_Gflops 0.055
MinPingPongLatency_usec 0.05
StarSTREAM_Add 0.045
cols 0.045
nnz 0.045
symm_inf_norm 0.045
SingleSTREAM_Scale 0.04
StarRandomAccess_GUPs 0.035
HPL_Tflops 0.03
SingleRandomAccess_LCG_GUPs 0.03
SingleSTREAM_Triad 0.03
StarFFT_Gflops 0.03
SingleFFT_Gflops 0.03
MaxPingPongLatency_usec 0.03
diag_nnz 0.03
StarRandomAccess_LCG_GUPs 0.025
MPIFFT_Gflops 0.025
NaturallyOrderedRingLatency_usec 0.025
inf_norm 0.025
MPIRandomAccess_LCG_GUPs 0.02
MPIRandomAccess_GUPs 0.02
RandomlyOrderedRingBandwidth_GBytes 0.02
StarDGEMM_Gflops 0.015
StarSTREAM_Scale 0.015
SingleSTREAM_Copy 0.015
RandomlyOrderedRingLatency_usec 0.015
NaturallyOrderedRingBandwidth_GBytes 0.015
AvgPingPongBandwidth_GBytes 0.01
MemProc 0.01
upper_bw 0.01
SingleRandomAccess_GUPs 0.005
SingleSTREAM_Add 0.005
MinPingPongBandwidth_GBytes 0.005
AvgPingPongLatency_usec 0.005
core_count 0.0
cpu_freq 0.0
l1_cache 0.0
l2_cache 0.0
l3_cache 0.0
memory_size 0.0
memory_freq 0.0
memory_type 0.0
min_nnz_row 0.0
max_nnz_row 0.0
avg_nnz_row 0.0
dummy_rows 0.0
dummy_rows_kind 0.0
num_value_symm_1 0.0
nnz_pattern_symm_1 0.0
row_diag_dom 0.0
col_diag_dom 0.0
diag_sign 0.0
lower_bw 0.0
symm 0.0
5

prec_id 1.0
np 0.995
solver_id 0.99
row_log_val_spread 0.815
antisymm_frob_norm 0.37
num_value_symm_2 0.33
col_log_val_spread 0.27
diag_avg 0.265
nnz_pattern_symm_2 0.26
frob_norm 0.255
symm_frob_norm 0.245
StarSTREAM_Triad 0.225
diag_var 0.17
one_norm 0.145
PTRANS_GBs 0.14
rows 0.11
trace 0.105
StarSTREAM_Copy 0.095
bogo_mips 0.09
MaxPingPongBandwidth_GBytes 0.085
antisymm_inf_norm 0.085
MPIFFT_Gflops 0.08
StarSTREAM_Add 0.07
col_var 0.05
NaturallyOrderedRingLatency_usec 0.045
SingleDGEMM_Gflops 0.04
MinPingPongLatency_usec 0.04
nnz 0.035
abs_trace 0.035
SingleRandomAccess_LCG_GUPs 0.03
SingleSTREAM_Scale 0.03
row_var 0.03
StarDGEMM_Gflops 0.025
RandomlyOrderedRingBandwidth_GBytes 0.025
MPIRandomAccess_LCG_GUPs 0.02
StarRandomAccess_LCG_GUPs 0.02
SingleSTREAM_Add 0.02
SingleSTREAM_Triad 0.02
MaxPingPongLatency_usec 0.02
cols 0.02
inf_norm 0.02
MPIRandomAccess_GUPs 0.015
StarFFT_Gflops 0.015
RandomlyOrderedRingLatency_usec 0.015
AvgPingPongBandwidth_GBytes 0.015
symm_inf_norm 0.015
HPL_Tflops 0.01
SingleRandomAccess_GUPs 0.01
StarSTREAM_Scale 0.01
SingleSTREAM_Copy 0.01
AvgPingPongLatency_usec 0.01
MemProc 0.01
diag_nnz 0.01
StarRandomAccess_GUPs 0.005
SingleFFT_Gflops 0.005
MinPingPongBandwidth_GBytes 0.005
lower_bw 0.005
NaturallyOrderedRingBandwidth_GBytes 0.0
core_count 0.0
cpu_freq 0.0
l1_cache 0.0
l2_cache 0.0
l3_cache 0.0
memory_size 0.0
memory_freq 0.0
memory_type 0.0
min_nnz_row 0.0
max_nnz_row 0.0
avg_nnz_row 0.0
dummy_rows 0.0
dummy_rows_kind 0.0
num_value_symm_1 0.0
nnz_pattern_symm_1 0.0
row_diag_dom 0.0
col_diag_dom 0.0
diag_sign 0.0
upper_bw 0.0
symm 0.0
6

prec_id 0.995
solver_id 0.6
StarSTREAM_Triad 0.29
MaxPingPongBandwidth_GBytes 0.205
bogo_mips 0.1
StarSTREAM_Copy 0.095
np 0.095
col_log_val_spread 0.07
PTRANS_GBs 0.065
row_log_val_spread 0.06
num_value_symm_2 0.055
nnz_pattern_symm_2 0.055
diag_avg 0.045
NaturallyOrderedRingLatency_usec 0.04
antisymm_frob_norm 0.04
SingleDGEMM_Gflops 0.035
RandomlyOrderedRingBandwidth_GBytes 0.035
MinPingPongLatency_usec 0.03
StarSTREAM_Add 0.025
StarSTREAM_Scale 0.02
MPIFFT_Gflops 0.02
StarDGEMM_Gflops 0.015
diag_var 0.015
HPL_Tflops 0.01
StarRandomAccess_LCG_GUPs 0.01
SingleSTREAM_Add 0.01
SingleSTREAM_Triad 0.01
rows 0.01
MPIRandomAccess_LCG_GUPs 0.005
MPIRandomAccess_GUPs 0.005
SingleRandomAccess_LCG_GUPs 0.005
StarRandomAccess_GUPs 0.005
SingleRandomAccess_GUPs 0.005
SingleSTREAM_Scale 0.005
StarFFT_Gflops 0.005
MaxPingPongLatency_usec 0.005
RandomlyOrderedRingLatency_usec 0.005
MemProc 0.005
row_var 0.005
frob_norm 0.005
symm_frob_norm 0.005
one_norm 0.005
inf_norm 0.005
symm_inf_norm 0.005
trace 0.005
diag_nnz 0.005
SingleSTREAM_Copy 0.0
SingleFFT_Gflops 0.0
MinPingPongBandwidth_GBytes 0.0
NaturallyOrderedRingBandwidth_GBytes 0.0
AvgPingPongLatency_usec 0.0
AvgPingPongBandwidth_GBytes 0.0
core_count 0.0
cpu_freq 0.0
l1_cache 0.0
l2_cache 0.0
l3_cache 0.0
memory_size 0.0
memory_freq 0.0
memory_type 0.0
cols 0.0
min_nnz_row 0.0
col_var 0.0
nnz 0.0
antisymm_inf_norm 0.0
max_nnz_row 0.0
abs_trace 0.0
avg_nnz_row 0.0
dummy_rows 0.0
dummy_rows_kind 0.0
num_value_symm_1 0.0
nnz_pattern_symm_1 0.0
row_diag_dom 0.0
col_diag_dom 0.0
diag_sign 0.0
lower_bw 0.0
upper_bw 0.0
symm 0.0
7

prec_id 1.0
solver_id 0.71
np 0.435
StarSTREAM_Triad 0.24
MaxPingPongBandwidth_GBytes 0.135
MPIFFT_Gflops 0.105
StarSTREAM_Copy 0.09
bogo_mips 0.09
PTRANS_GBs 0.07
SingleDGEMM_Gflops 0.065
StarSTREAM_Add 0.06
col_log_val_spread 0.055
row_log_val_spread 0.05
num_value_symm_2 0.04
diag_avg 0.04
diag_var 0.035
RandomlyOrderedRingBandwidth_GBytes 0.03
NaturallyOrderedRingLatency_usec 0.03
StarDGEMM_Gflops 0.025
MinPingPongLatency_usec 0.025
SingleSTREAM_Scale 0.02
nnz_pattern_symm_2 0.02
SingleRandomAccess_LCG_GUPs 0.015
SingleSTREAM_Add 0.015
SingleSTREAM_Triad 0.015
StarFFT_Gflops 0.015
RandomlyOrderedRingLatency_usec 0.015
HPL_Tflops 0.01
StarSTREAM_Scale 0.01
AvgPingPongBandwidth_GBytes 0.01
antisymm_frob_norm 0.01
trace 0.01
MPIRandomAccess_LCG_GUPs 0.005
MPIRandomAccess_GUPs 0.005
StarRandomAccess_LCG_GUPs 0.005
StarRandomAccess_GUPs 0.005
SingleRandomAccess_GUPs 0.005
SingleSTREAM_Copy 0.005
MaxPingPongLatency_usec 0.005
MinPingPongBandwidth_GBytes 0.005
AvgPingPongLatency_usec 0.005
MemProc 0.005
rows 0.005
row_var 0.005
col_var 0.005
nnz 0.005
frob_norm 0.005
SingleFFT_Gflops 0.0
NaturallyOrderedRingBandwidth_GBytes 0.0
core_count 0.0
cpu_freq 0.0
l1_cache 0.0
l2_cache 0.0
l3_cache 0.0
memory_size 0.0
memory_freq 0.0
memory_type 0.0
cols 0.0
min_nnz_row 0.0
symm_frob_norm 0.0
one_norm 0.0
inf_norm 0.0
symm_inf_norm 0.0
antisymm_inf_norm 0.0
max_nnz_row 0.0
abs_trace 0.0
avg_nnz_row 0.0
dummy_rows 0.0
dummy_rows_kind 0.0
num_value_symm_1 0.0
nnz_pattern_symm_1 0.0
row_diag_dom 0.0
col_diag_dom 0.0
diag_sign 0.0
diag_nnz 0.0
lower_bw 0.0
upper_bw 0.0
symm 0.0
8

prec_id 1.0
solver_id 0.995
row_log_val_spread 0.33
StarSTREAM_Triad 0.295
antisymm_frob_norm 0.285
col_log_val_spread 0.22
diag_avg 0.2
np 0.18
diag_var 0.175
frob_norm 0.16
symm_frob_norm 0.12
MaxPingPongBandwidth_GBytes 0.115
bogo_mips 0.095
PTRANS_GBs 0.09
one_norm 0.09
SingleDGEMM_Gflops 0.08
StarSTREAM_Copy 0.08
MinPingPongLatency_usec 0.06
trace 0.045
MPIFFT_Gflops 0.04
rows 0.04
abs_trace 0.04
StarSTREAM_Add 0.035
RandomlyOrderedRingBandwidth_GBytes 0.03
symm_inf_norm 0.03
StarDGEMM_Gflops 0.02
NaturallyOrderedRingLatency_usec 0.02
cols 0.02
row_var 0.02
col_var 0.015
antisymm_inf_norm 0.015
num_value_symm_2 0.015
StarRandomAccess_LCG_GUPs 0.01
StarSTREAM_Scale 0.01
SingleSTREAM_Copy 0.01
MaxPingPongLatency_usec 0.01
nnz 0.01
inf_norm 0.01
MPIRandomAccess_GUPs 0.005
SingleRandomAccess_GUPs 0.005
SingleSTREAM_Scale 0.005
SingleSTREAM_Add 0.005
SingleSTREAM_Triad 0.005
RandomlyOrderedRingLatency_usec 0.005
MemProc 0.005
nnz_pattern_symm_2 0.005
HPL_Tflops 0.0
MPIRandomAccess_LCG_GUPs 0.0
SingleRandomAccess_LCG_GUPs 0.0
StarRandomAccess_GUPs 0.0
StarFFT_Gflops 0.0
SingleFFT_Gflops 0.0
MinPingPongBandwidth_GBytes 0.0
NaturallyOrderedRingBandwidth_GBytes 0.0
AvgPingPongLatency_usec 0.0
AvgPingPongBandwidth_GBytes 0.0
core_count 0.0
cpu_freq 0.0
l1_cache 0.0
l2_cache 0.0
l3_cache 0.0
memory_size 0.0
memory_freq 0.0
memory_type 0.0
min_nnz_row 0.0
max_nnz_row 0.0
avg_nnz_row 0.0
dummy_rows 0.0
dummy_rows_kind 0.0
num_value_symm_1 0.0
nnz_pattern_symm_1 0.0
row_diag_dom 0.0
col_diag_dom 0.0
diag_sign 0.0
diag_nnz 0.0
lower_bw 0.0
upper_bw 0.0
symm 0.0
9

solver_id 1.0
prec_id 1.0
num_value_symm_2 0.525
np 0.49
antisymm_frob_norm 0.4
row_log_val_spread 0.365
diag_avg 0.35
col_log_val_spread 0.26
frob_norm 0.24
nnz_pattern_symm_2 0.23
StarSTREAM_Triad 0.195
symm_frob_norm 0.145
MaxPingPongBandwidth_GBytes 0.105
bogo_mips 0.08
PTRANS_GBs 0.06
col_var 0.06
one_norm 0.06
StarSTREAM_Copy 0.055
MPIFFT_Gflops 0.055
SingleDGEMM_Gflops 0.05
MinPingPongLatency_usec 0.05
RandomlyOrderedRingBandwidth_GBytes 0.04
trace 0.04
StarSTREAM_Add 0.03
NaturallyOrderedRingLatency_usec 0.03
HPL_Tflops 0.02
StarDGEMM_Gflops 0.015
StarSTREAM_Scale 0.015
SingleSTREAM_Add 0.015
SingleSTREAM_Triad 0.015
MinPingPongBandwidth_GBytes 0.015
MemProc 0.015
abs_trace 0.015
MPIRandomAccess_GUPs 0.01
SingleSTREAM_Copy 0.01
SingleFFT_Gflops 0.01
RandomlyOrderedRingLatency_usec 0.01
AvgPingPongLatency_usec 0.01
rows 0.01
MPIRandomAccess_LCG_GUPs 0.005
StarRandomAccess_LCG_GUPs 0.005
SingleRandomAccess_LCG_GUPs 0.005
StarFFT_Gflops 0.005
MaxPingPongLatency_usec 0.005
AvgPingPongBandwidth_GBytes 0.005
row_var 0.005
nnz 0.005
symm_inf_norm 0.005
antisymm_inf_norm 0.005
StarRandomAccess_GUPs 0.0
SingleRandomAccess_GUPs 0.0
SingleSTREAM_Scale 0.0
NaturallyOrderedRingBandwidth_GBytes 0.0
core_count 0.0
cpu_freq 0.0
l1_cache 0.0
l2_cache 0.0
l3_cache 0.0
memory_size 0.0
memory_freq 0.0
memory_type 0.0
cols 0.0
min_nnz_row 0.0
diag_var 0.0
inf_norm 0.0
max_nnz_row 0.0
avg_nnz_row 0.0
dummy_rows 0.0
dummy_rows_kind 0.0
num_value_symm_1 0.0
nnz_pattern_symm_1 0.0
row_diag_dom 0.0
col_diag_dom 0.0
diag_sign 0.0
diag_nnz 0.0
lower_bw 0.0
upper_bw 0.0
symm 0.0
10

prec_id 1.0
solver_id 0.995
np 0.87
col_log_val_spread 0.735
row_log_val_spread 0.645
diag_avg 0.595
num_value_symm_2 0.555
nnz_pattern_symm_2 0.52
StarSTREAM_Triad 0.26
antisymm_frob_norm 0.215
diag_var 0.18
frob_norm 0.155
trace 0.145
symm_frob_norm 0.12
MaxPingPongBandwidth_GBytes 0.115
antisymm_inf_norm 0.115
StarSTREAM_Copy 0.11
bogo_mips 0.105
rows 0.085
col_var 0.085
one_norm 0.075
abs_trace 0.065
PTRANS_GBs 0.06
SingleDGEMM_Gflops 0.055
MinPingPongLatency_usec 0.055
NaturallyOrderedRingLatency_usec 0.05
row_var 0.05
StarDGEMM_Gflops 0.045
MPIFFT_Gflops 0.045
cols 0.04
StarSTREAM_Add 0.035
RandomlyOrderedRingBandwidth_GBytes 0.035
nnz 0.035
symm_inf_norm 0.035
SingleRandomAccess_LCG_GUPs 0.03
inf_norm 0.03
MPIRandomAccess_GUPs 0.025
SingleRandomAccess_GUPs 0.025
SingleSTREAM_Scale 0.025
SingleSTREAM_Add 0.025
lower_bw 0.025
HPL_Tflops 0.02
SingleSTREAM_Copy 0.02
MaxPingPongLatency_usec 0.02
AvgPingPongBandwidth_GBytes 0.02
upper_bw 0.02
MPIRandomAccess_LCG_GUPs 0.015
StarRandomAccess_GUPs 0.015
StarSTREAM_Scale 0.015
SingleSTREAM_Triad 0.015
StarFFT_Gflops 0.015
SingleFFT_Gflops 0.015
MinPingPongBandwidth_GBytes 0.015
NaturallyOrderedRingBandwidth_GBytes 0.015
AvgPingPongLatency_usec 0.015
MemProc 0.015
StarRandomAccess_LCG_GUPs 0.01
RandomlyOrderedRingLatency_usec 0.01
diag_nnz 0.01
core_count 0.0
cpu_freq 0.0
l1_cache 0.0
l2_cache 0.0
l3_cache 0.0
memory_size 0.0
memory_freq 0.0
memory_type 0.0
min_nnz_row 0.0
max_nnz_row 0.0
avg_nnz_row 0.0
dummy_rows 0.0
dummy_rows_kind 0.0
num_value_symm_1 0.0
nnz_pattern_symm_1 0.0
row_diag_dom 0.0
col_diag_dom 0.0
diag_sign 0.0
symm 0.0
11

solver_id 1.0
prec_id 1.0
np 0.995
row_log_val_spread 0.91
diag_avg 0.515
nnz_pattern_symm_2 0.47
num_value_symm_2 0.425
diag_var 0.42
col_log_val_spread 0.245
trace 0.195
StarSTREAM_Triad 0.11
antisymm_inf_norm 0.105
rows 0.095
MaxPingPongBandwidth_GBytes 0.08
symm_frob_norm 0.08
row_var 0.075
SingleDGEMM_Gflops 0.065
col_var 0.065
abs_trace 0.065
PTRANS_GBs 0.06
frob_norm 0.06
StarSTREAM_Copy 0.045
MinPingPongLatency_usec 0.045
bogo_mips 0.045
symm_inf_norm 0.045
StarRandomAccess_LCG_GUPs 0.04
SingleSTREAM_Triad 0.04
SingleFFT_Gflops 0.04
MPIFFT_Gflops 0.04
nnz 0.04
StarRandomAccess_GUPs 0.035
StarSTREAM_Add 0.035
antisymm_frob_norm 0.035
one_norm 0.035
inf_norm 0.035
NaturallyOrderedRingLatency_usec 0.03
StarDGEMM_Gflops 0.025
MPIRandomAccess_GUPs 0.025
SingleSTREAM_Add 0.025
MemProc 0.025
cols 0.025
diag_nnz 0.025
SingleRandomAccess_GUPs 0.02
MaxPingPongLatency_usec 0.02
AvgPingPongLatency_usec 0.02
AvgPingPongBandwidth_GBytes 0.02
HPL_Tflops 0.015
MPIRandomAccess_LCG_GUPs 0.015
SingleSTREAM_Scale 0.015
StarFFT_Gflops 0.015
RandomlyOrderedRingLatency_usec 0.015
MinPingPongBandwidth_GBytes 0.015
NaturallyOrderedRingBandwidth_GBytes 0.015
RandomlyOrderedRingBandwidth_GBytes 0.015
StarSTREAM_Scale 0.01
lower_bw 0.01
SingleRandomAccess_LCG_GUPs 0.005
SingleSTREAM_Copy 0.005
upper_bw 0.005
core_count 0.0
cpu_freq 0.0
l1_cache 0.0
l2_cache 0.0
l3_cache 0.0
memory_size 0.0
memory_freq 0.0
memory_type 0.0
min_nnz_row 0.0
max_nnz_row 0.0
avg_nnz_row 0.0
dummy_rows 0.0
dummy_rows_kind 0.0
num_value_symm_1 0.0
nnz_pattern_symm_1 0.0
row_diag_dom 0.0
col_diag_dom 0.0
diag_sign 0.0
symm 0.0
12

np 0.995
solver_id 0.99
prec_id 0.99
row_log_val_spread 0.705
diag_var 0.34
col_log_val_spread 0.29
antisymm_frob_norm 0.24
frob_norm 0.205
symm_frob_norm 0.12
StarSTREAM_Triad 0.11
trace 0.08
diag_avg 0.075
rows 0.07
MaxPingPongBandwidth_GBytes 0.065
nnz_pattern_symm_2 0.06
cols 0.055
one_norm 0.055
num_value_symm_2 0.055
StarSTREAM_Copy 0.05
PTRANS_GBs 0.045
row_var 0.045
SingleDGEMM_Gflops 0.04
antisymm_inf_norm 0.04
bogo_mips 0.035
col_var 0.035
symm_inf_norm 0.035
abs_trace 0.035
nnz 0.03
NaturallyOrderedRingLatency_usec 0.02
inf_norm 0.02
MPIFFT_Gflops 0.015
MinPingPongLatency_usec 0.015
StarSTREAM_Add 0.01
RandomlyOrderedRingBandwidth_GBytes 0.01
HPL_Tflops 0.005
StarDGEMM_Gflops 0.005
MPIRandomAccess_LCG_GUPs 0.005
MPIRandomAccess_GUPs 0.005
StarRandomAccess_LCG_GUPs 0.005
SingleRandomAccess_GUPs 0.005
SingleSTREAM_Copy 0.005
SingleSTREAM_Scale 0.005
SingleSTREAM_Triad 0.005
AvgPingPongBandwidth_GBytes 0.005
MemProc 0.005
diag_nnz 0.005
lower_bw 0.005
upper_bw 0.005
SingleRandomAccess_LCG_GUPs 0.0
StarRandomAccess_GUPs 0.0
StarSTREAM_Scale 0.0
SingleSTREAM_Add 0.0
StarFFT_Gflops 0.0
SingleFFT_Gflops 0.0
MaxPingPongLatency_usec 0.0
RandomlyOrderedRingLatency_usec 0.0
MinPingPongBandwidth_GBytes 0.0
NaturallyOrderedRingBandwidth_GBytes 0.0
AvgPingPongLatency_usec 0.0
core_count 0.0
cpu_freq 0.0
l1_cache 0.0
l2_cache 0.0
l3_cache 0.0
memory_size 0.0
memory_freq 0.0
memory_type 0.0
min_nnz_row 0.0
max_nnz_row 0.0
avg_nnz_row 0.0
dummy_rows 0.0
dummy_rows_kind 0.0
num_value_symm_1 0.0
nnz_pattern_symm_1 0.0
row_diag_dom 0.0
col_diag_dom 0.0
diag_sign 0.0
symm 0.0
13

np 1.0
prec_id 1.0
solver_id 0.995
row_log_val_spread 0.495
diag_avg 0.425
antisymm_frob_norm 0.33
StarSTREAM_Triad 0.3
col_log_val_spread 0.23
frob_norm 0.22
num_value_symm_2 0.19
MaxPingPongBandwidth_GBytes 0.17
symm_frob_norm 0.155
nnz_pattern_symm_2 0.12
StarSTREAM_Copy 0.1
PTRANS_GBs 0.09
one_norm 0.08
bogo_mips 0.07
col_var 0.07
MPIFFT_Gflops 0.055
MinPingPongLatency_usec 0.055
trace 0.05
NaturallyOrderedRingLatency_usec 0.04
SingleDGEMM_Gflops 0.035
RandomlyOrderedRingBandwidth_GBytes 0.03
abs_trace 0.02
diag_var 0.015
antisymm_inf_norm 0.015
StarDGEMM_Gflops 0.01
MPIRandomAccess_GUPs 0.01
SingleFFT_Gflops 0.01
MaxPingPongLatency_usec 0.01
rows 0.01
row_var 0.01
nnz 0.01
inf_norm 0.01
symm_inf_norm 0.01
StarRandomAccess_LCG_GUPs 0.005
SingleRandomAccess_GUPs 0.005
StarSTREAM_Scale 0.005
StarSTREAM_Add 0.005
SingleSTREAM_Copy 0.005
SingleSTREAM_Scale 0.005
StarFFT_Gflops 0.005
MinPingPongBandwidth_GBytes 0.005
NaturallyOrderedRingBandwidth_GBytes 0.005
AvgPingPongLatency_usec 0.005
AvgPingPongBandwidth_GBytes 0.005
MemProc 0.005
cols 0.005
HPL_Tflops 0.0
MPIRandomAccess_LCG_GUPs 0.0
SingleRandomAccess_LCG_GUPs 0.0
StarRandomAccess_GUPs 0.0
SingleSTREAM_Add 0.0
SingleSTREAM_Triad 0.0
RandomlyOrderedRingLatency_usec 0.0
core_count 0.0
cpu_freq 0.0
l1_cache 0.0
l2_cache 0.0
l3_cache 0.0
memory_size 0.0
memory_freq 0.0
memory_type 0.0
min_nnz_row 0.0
max_nnz_row 0.0
avg_nnz_row 0.0
dummy_rows 0.0
dummy_rows_kind 0.0
num_value_symm_1 0.0
nnz_pattern_symm_1 0.0
row_diag_dom 0.0
col_diag_dom 0.0
diag_sign 0.0
diag_nnz 0.0
lower_bw 0.0
upper_bw 0.0
symm 0.0
14

prec_id 1.0
solver_id 0.99
np 0.86
row_log_val_spread 0.725
col_log_val_spread 0.69
diag_avg 0.57
num_value_symm_2 0.535
nnz_pattern_symm_2 0.515
StarSTREAM_Triad 0.275
diag_var 0.25
antisymm_frob_norm 0.19
frob_norm 0.185
symm_frob_norm 0.155
trace 0.15
PTRANS_GBs 0.12
StarSTREAM_Copy 0.115
col_var 0.115
abs_trace 0.11
SingleDGEMM_Gflops 0.095
MaxPingPongBandwidth_GBytes 0.09
one_norm 0.085
bogo_mips 0.08
antisymm_inf_norm 0.08
rows 0.07
nnz 0.07
MPIFFT_Gflops 0.06
row_var 0.06
StarDGEMM_Gflops 0.055
MinPingPongLatency_usec 0.055
MPIRandomAccess_LCG_GUPs 0.05
StarFFT_Gflops 0.05
RandomlyOrderedRingBandwidth_GBytes 0.05
StarSTREAM_Scale 0.045
StarSTREAM_Add 0.045
MinPingPongBandwidth_GBytes 0.045
NaturallyOrderedRingLatency_usec 0.045
MPIRandomAccess_GUPs 0.04
SingleSTREAM_Scale 0.04
SingleSTREAM_Triad 0.04
SingleFFT_Gflops 0.04
symm_inf_norm 0.04
StarRandomAccess_GUPs 0.035
RandomlyOrderedRingLatency_usec 0.035
AvgPingPongLatency_usec 0.035
cols 0.035
HPL_Tflops 0.03
StarRandomAccess_LCG_GUPs 0.03
SingleRandomAccess_LCG_GUPs 0.03
MaxPingPongLatency_usec 0.03
MemProc 0.03
SingleSTREAM_Add 0.025
inf_norm 0.025
SingleRandomAccess_GUPs 0.02
SingleSTREAM_Copy 0.015
NaturallyOrderedRingBandwidth_GBytes 0.015
AvgPingPongBandwidth_GBytes 0.015
diag_nnz 0.01
lower_bw 0.01
upper_bw 0.01
core_count 0.0
cpu_freq 0.0
l1_cache 0.0
l2_cache 0.0
l3_cache 0.0
memory_size 0.0
memory_freq 0.0
memory_type 0.0
min_nnz_row 0.0
max_nnz_row 0.0
avg_nnz_row 0.0
dummy_rows 0.0
dummy_rows_kind 0.0
num_value_symm_1 0.0
nnz_pattern_symm_1 0.0
row_diag_dom 0.0
col_diag_dom 0.0
diag_sign 0.0
symm 0.0
15

prec_id 1.0
solver_id 0.985
np 0.95
diag_var 0.425
row_log_val_spread 0.38
col_log_val_spread 0.37
antisymm_frob_norm 0.205
frob_norm 0.185
num_value_symm_2 0.14
nnz_pattern_symm_2 0.135
symm_frob_norm 0.12
StarSTREAM_Triad 0.1
MaxPingPongBandwidth_GBytes 0.085
StarSTREAM_Copy 0.075
bogo_mips 0.07
trace 0.06
diag_avg 0.06
row_var 0.05
antisymm_inf_norm 0.05
one_norm 0.045
SingleDGEMM_Gflops 0.04
rows 0.04
abs_trace 0.04
MinPingPongLatency_usec 0.035
col_var 0.035
symm_inf_norm 0.035
NaturallyOrderedRingLatency_usec 0.03
MPIRandomAccess_GUPs 0.025
RandomlyOrderedRingBandwidth_GBytes 0.025
nnz 0.025
StarDGEMM_Gflops 0.02
MPIFFT_Gflops 0.02
cols 0.02
inf_norm 0.02
diag_nnz 0.02
upper_bw 0.02
PTRANS_GBs 0.015
StarSTREAM_Add 0.015
SingleSTREAM_Add 0.01
MinPingPongBandwidth_GBytes 0.01
NaturallyOrderedRingBandwidth_GBytes 0.01
lower_bw 0.01
MPIRandomAccess_LCG_GUPs 0.005
StarRandomAccess_LCG_GUPs 0.005
StarRandomAccess_GUPs 0.005
SingleSTREAM_Scale 0.005
SingleSTREAM_Triad 0.005
SingleFFT_Gflops 0.005
AvgPingPongBandwidth_GBytes 0.005
MemProc 0.005
HPL_Tflops 0.0
SingleRandomAccess_LCG_GUPs 0.0
SingleRandomAccess_GUPs 0.0
StarSTREAM_Scale 0.0
SingleSTREAM_Copy 0.0
StarFFT_Gflops 0.0
MaxPingPongLatency_usec 0.0
RandomlyOrderedRingLatency_usec 0.0
AvgPingPongLatency_usec 0.0
core_count 0.0
cpu_freq 0.0
l1_cache 0.0
l2_cache 0.0
l3_cache 0.0
memory_size 0.0
memory_freq 0.0
memory_type 0.0
min_nnz_row 0.0
max_nnz_row 0.0
avg_nnz_row 0.0
dummy_rows 0.0
dummy_rows_kind 0.0
num_value_symm_1 0.0
nnz_pattern_symm_1 0.0
row_diag_dom 0.0
col_diag_dom 0.0
diag_sign 0.0
symm 0.0
16

solver_id 1.0
prec_id 1.0
antisymm_frob_norm 0.465
diag_avg 0.38
np 0.34
frob_norm 0.245
row_log_val_spread 0.23
symm_frob_norm 0.15
col_log_val_spread 0.095
StarSTREAM_Triad 0.08
num_value_symm_2 0.08
MaxPingPongBandwidth_GBytes 0.04
one_norm 0.04
StarSTREAM_Copy 0.035
bogo_mips 0.035
nnz_pattern_symm_2 0.035
PTRANS_GBs 0.03
MPIFFT_Gflops 0.03
diag_var 0.02
StarSTREAM_Add 0.015
RandomlyOrderedRingBandwidth_GBytes 0.015
abs_trace 0.015
StarRandomAccess_LCG_GUPs 0.01
MinPingPongLatency_usec 0.01
NaturallyOrderedRingLatency_usec 0.01
trace 0.01
StarDGEMM_Gflops 0.005
SingleDGEMM_Gflops 0.005
AvgPingPongLatency_usec 0.005
rows 0.005
cols 0.005
col_var 0.005
nnz 0.005
symm_inf_norm 0.005
antisymm_inf_norm 0.005
HPL_Tflops 0.0
MPIRandomAccess_LCG_GUPs 0.0
MPIRandomAccess_GUPs 0.0
SingleRandomAccess_LCG_GUPs 0.0
StarRandomAccess_GUPs 0.0
SingleRandomAccess_GUPs 0.0
StarSTREAM_Scale 0.0
SingleSTREAM_Copy 0.0
SingleSTREAM_Scale 0.0
SingleSTREAM_Add 0.0
SingleSTREAM_Triad 0.0
StarFFT_Gflops 0.0
SingleFFT_Gflops 0.0
MaxPingPongLatency_usec 0.0
RandomlyOrderedRingLatency_usec 0.0
MinPingPongBandwidth_GBytes 0.0
NaturallyOrderedRingBandwidth_GBytes 0.0
AvgPingPongBandwidth_GBytes 0.0
MemProc 0.0
core_count 0.0
cpu_freq 0.0
l1_cache 0.0
l2_cache 0.0
l3_cache 0.0
memory_size 0.0
memory_freq 0.0
memory_type 0.0
min_nnz_row 0.0
row_var 0.0
inf_norm 0.0
max_nnz_row 0.0
avg_nnz_row 0.0
dummy_rows 0.0
dummy_rows_kind 0.0
num_value_symm_1 0.0
nnz_pattern_symm_1 0.0
row_diag_dom 0.0
col_diag_dom 0.0
diag_sign 0.0
diag_nnz 0.0
lower_bw 0.0
upper_bw 0.0
symm 0.0
17

solver_id 1.0
prec_id 1.0
diag_avg 0.475
np 0.415
num_value_symm_2 0.405
antisymm_frob_norm 0.395
row_log_val_spread 0.355
nnz_pattern_symm_2 0.195
frob_norm 0.19
col_log_val_spread 0.185
StarSTREAM_Triad 0.095
symm_frob_norm 0.07
one_norm 0.06
MaxPingPongBandwidth_GBytes 0.05
bogo_mips 0.05
StarSTREAM_Copy 0.04
RandomlyOrderedRingBandwidth_GBytes 0.04
MinPingPongLatency_usec 0.035
PTRANS_GBs 0.03
StarSTREAM_Add 0.03
NaturallyOrderedRingLatency_usec 0.03
StarDGEMM_Gflops 0.025
SingleDGEMM_Gflops 0.025
col_var 0.025
HPL_Tflops 0.015
StarRandomAccess_GUPs 0.015
MPIFFT_Gflops 0.015
RandomlyOrderedRingLatency_usec 0.015
abs_trace 0.015
MPIRandomAccess_GUPs 0.01
SingleSTREAM_Copy 0.01
SingleSTREAM_Add 0.01
MinPingPongBandwidth_GBytes 0.01
row_var 0.01
MPIRandomAccess_LCG_GUPs 0.005
SingleRandomAccess_GUPs 0.005
SingleSTREAM_Scale 0.005
SingleSTREAM_Triad 0.005
StarFFT_Gflops 0.005
MaxPingPongLatency_usec 0.005
MemProc 0.005
cols 0.005
diag_var 0.005
nnz 0.005
inf_norm 0.005
symm_inf_norm 0.005
trace 0.005
StarRandomAccess_LCG_GUPs 0.0
SingleRandomAccess_LCG_GUPs 0.0
StarSTREAM_Scale 0.0
SingleFFT_Gflops 0.0
NaturallyOrderedRingBandwidth_GBytes 0.0
AvgPingPongLatency_usec 0.0
AvgPingPongBandwidth_GBytes 0.0
core_count 0.0
cpu_freq 0.0
l1_cache 0.0
l2_cache 0.0
l3_cache 0.0
memory_size 0.0
memory_freq 0.0
memory_type 0.0
rows 0.0
min_nnz_row 0.0
antisymm_inf_norm 0.0
max_nnz_row 0.0
avg_nnz_row 0.0
dummy_rows 0.0
dummy_rows_kind 0.0
num_value_symm_1 0.0
nnz_pattern_symm_1 0.0
row_diag_dom 0.0
col_diag_dom 0.0
diag_sign 0.0
diag_nnz 0.0
lower_bw 0.0
upper_bw 0.0
symm 0.0

In [33]:
# Trains on UF matrices w/ random over sampling
#  and tests on cavity_flow data
from imblearn.over_sampling import RandomOverSampler 
ros = RandomOverSampler()
for i in range (0,18):
    new_x, new_y = ros.fit_sample(ch8_data.as_matrix(),
                                  ch8_labels.iloc[:,i])
    clf = RandomForestClassifier()
    classifier_factory(clf)
    start_time = time.time()
    clf.fit(new_x, new_y)
    a = pd.DataFrame(clf.predict(cavity_flow))
    skplt.plot_confusion_matrix(cavity_flow_results.iloc[:,i], a)
    print(time.time()-start_time)
    plt.title(i)
    plt.show()


61.7662889957428
104.39230251312256
148.9643051624298
---------------------------------------------------------------------------
KeyboardInterrupt                         Traceback (most recent call last)
<ipython-input-33-5b02f0dfff72> in <module>()
      6     classifier_factory(clf)
      7     start_time = time.time()
----> 8     clf.fit(new_x, new_y)
      9     a = pd.DataFrame(clf.predict(cavity_flow))
     10     skplt.plot_confusion_matrix(cavity_flow_results.iloc[:,i], a)

/usr/local/lib/python3.5/dist-packages/sklearn/ensemble/forest.py in fit(self, X, y, sample_weight)
    324                     t, self, X, y, sample_weight, i, len(trees),
    325                     verbose=self.verbose, class_weight=self.class_weight)
--> 326                 for i, t in enumerate(trees))
    327 
    328             # Collect newly grown trees

/usr/local/lib/python3.5/dist-packages/sklearn/externals/joblib/parallel.py in __call__(self, iterable)
    756             # was dispatched. In particular this covers the edge
    757             # case of Parallel used with an exhausted iterator.
--> 758             while self.dispatch_one_batch(iterator):
    759                 self._iterating = True
    760             else:

/usr/local/lib/python3.5/dist-packages/sklearn/externals/joblib/parallel.py in dispatch_one_batch(self, iterator)
    606                 return False
    607             else:
--> 608                 self._dispatch(tasks)
    609                 return True
    610 

/usr/local/lib/python3.5/dist-packages/sklearn/externals/joblib/parallel.py in _dispatch(self, batch)
    569         dispatch_timestamp = time.time()
    570         cb = BatchCompletionCallBack(dispatch_timestamp, len(batch), self)
--> 571         job = self._backend.apply_async(batch, callback=cb)
    572         self._jobs.append(job)
    573 

/usr/local/lib/python3.5/dist-packages/sklearn/externals/joblib/_parallel_backends.py in apply_async(self, func, callback)
    107     def apply_async(self, func, callback=None):
    108         """Schedule a func to be run"""
--> 109         result = ImmediateResult(func)
    110         if callback:
    111             callback(result)

/usr/local/lib/python3.5/dist-packages/sklearn/externals/joblib/_parallel_backends.py in __init__(self, batch)
    324         # Don't delay the application, to avoid keeping the input
    325         # arguments in memory
--> 326         self.results = batch()
    327 
    328     def get(self):

/usr/local/lib/python3.5/dist-packages/sklearn/externals/joblib/parallel.py in __call__(self)
    129 
    130     def __call__(self):
--> 131         return [func(*args, **kwargs) for func, args, kwargs in self.items]
    132 
    133     def __len__(self):

/usr/local/lib/python3.5/dist-packages/sklearn/externals/joblib/parallel.py in <listcomp>(.0)
    129 
    130     def __call__(self):
--> 131         return [func(*args, **kwargs) for func, args, kwargs in self.items]
    132 
    133     def __len__(self):

/usr/local/lib/python3.5/dist-packages/sklearn/ensemble/forest.py in _parallel_build_trees(tree, forest, X, y, sample_weight, tree_idx, n_trees, verbose, class_weight)
    118             curr_sample_weight *= compute_sample_weight('balanced', y, indices)
    119 
--> 120         tree.fit(X, y, sample_weight=curr_sample_weight, check_input=False)
    121     else:
    122         tree.fit(X, y, sample_weight=sample_weight, check_input=False)

/usr/local/lib/python3.5/dist-packages/sklearn/tree/tree.py in fit(self, X, y, sample_weight, check_input, X_idx_sorted)
    737             sample_weight=sample_weight,
    738             check_input=check_input,
--> 739             X_idx_sorted=X_idx_sorted)
    740         return self
    741 

/usr/local/lib/python3.5/dist-packages/sklearn/tree/tree.py in fit(self, X, y, sample_weight, check_input, X_idx_sorted)
    348                                            self.min_impurity_split)
    349 
--> 350         builder.build(self.tree_, X, y, sample_weight, X_idx_sorted)
    351 
    352         if self.n_outputs_ == 1:

KeyboardInterrupt: