Module Import alias identifier Import alias identifier Import alias FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Import alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Str attr keyword NameLoad Assign TupleStore NameStore NameStore TupleLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad ExtSlice Slice Index NameLoad SubscriptLoad NameLoad Index NameLoad Assign TupleStore NameStore NameStore TupleLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad ExtSlice Slice Index NameLoad SubscriptLoad NameLoad Index NameLoad Assign NameStore ListLoad Num Assign NameStore ListLoad Num Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore NameLoad Assign NameStore NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad BinOpAdd Num NameLoad Assign SubscriptStore NameLoad Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num Assign SubscriptStore NameLoad Index Num Num Assign SubscriptStore NameLoad Slice Num Num ListComp NameLoad comprehension NameStore Call NameLoad NameLoad If CompareEq SubscriptLoad NameLoad Index Str Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad SubscriptLoad NameLoad Index Str attr Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad SubscriptLoad NameLoad Index Str attr Index NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad keyword NameLoad orelse If CompareEq SubscriptLoad NameLoad Index Str Str body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad SubscriptLoad NameLoad Index Str attr Index NameLoad Assign NameStore ListLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad Assign NameStore Call NameLoad NameLoad For TupleStore NameStore NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad keyword Num Expr Call AttributeLoad NameLoad attr TupleLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad TupleLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index NameLoad AugAssignAdd SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Index Num Assign SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad BinOpDiv SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad Call NameLoad NameLoad If BoolOpOr CompareIs NameLoad NameLoad CompareGt SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Print BinOpMod Str TupleLoad NameLoad NameLoad SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad orelse Print BinOpMod Str TupleLoad NameLoad NameLoad SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index NameLoad Return TupleLoad NameLoad NameLoad decorator_list
N/A N/A numpy np N/A scipy sp N/A sklearn DNN_on_fold N/A N/A feature_sets train test y y_all X dim dimsum learn_options N/A N/A N/A theanets sklearn.metrics accuracy_score N/A y N/A N/A np array N/A N/A y_all N/A N/A learn_options N/A DNN target variable values dtype float N/A N/A y_train X_train N/A N/A N/A y N/A train N/A N/A N/A None N/A X N/A train N/A N/A y_test X_test N/A N/A N/A y N/A test N/A N/A N/A None N/A X N/A test N/A num_hidden_layers N/A 1 N/A num_units N/A 2 N/A accuracies N/A N/A np zeros N/A N/A len num_hidden_layers N/A len num_units N/A best_score None N/A best_model None N/A N/A i hl N/A enumerate num_hidden_layers N/A N/A N/A j nu N/A enumerate num_units N/A N/A architecture N/A N/A np zeros N/A N/A 2 hl N/A N/A architecture N/A 0 N/A N/A X_train shape N/A 1 N/A N/A architecture N/A -1 1 N/A N/A architecture N/A 1 -1 N/A nu N/A l N/A range hl N/A N/A N/A learn_options N/A cv stratified N/A N/A label_encoder N/A N/A N/A sklearn preprocessing LabelEncoder N/A N/A N/A label_encoder fit N/A N/A N/A y_all N/A Target gene values N/A train N/A gene_classes N/A N/A label_encoder transform N/A N/A N/A y_all N/A Target gene values N/A train N/A n_folds N/A len N/A N/A np unique gene_classes N/A cv N/A N/A N/A sklearn cross_validation StratifiedKFold gene_classes n_folds n_folds shuffle True N/A N/A N/A N/A learn_options N/A cv gene N/A N/A gene_list N/A N/A np unique N/A N/A N/A y_all N/A Target gene values N/A train N/A cv N/A N/A gene gene_list N/A N/A N/A N/A cv append N/A get_train_test gene N/A y_all N/A train N/A n_folds N/A len cv N/A N/A train_ind valid_ind cv N/A N/A e N/A N/A theanets Experiment N/A theanets Regressor layers architecture train_batches 32 N/A N/A N/A e run N/A N/A X_train N/A train_ind N/A y_train N/A train_ind N/A N/A X_train N/A valid_ind N/A y_train N/A valid_ind N/A pred N/A N/A N/A e network predict N/A X_train N/A valid_ind N/A N/A accuracies N/A N/A i j N/A N/A N/A N/A sp stats spearmanr N/A N/A pred flatten N/A N/A N/A y_train N/A valid_ind flatten N/A 0 N/A N/A accuracies N/A N/A i j N/A N/A accuracies N/A N/A i j N/A float n_folds N/A N/A N/A best_score None N/A N/A accuracies N/A N/A i j best_score N/A N/A best_score N/A accuracies N/A N/A i j N/A best_model N/A N/A copy deepcopy e N/A N/A DNN with %d hidden layers and %d units, accuracy: %.4f   * N/A hl nu N/A accuracies N/A N/A i j N/A N/A N/A DNN with %d hidden layers and %d units, accuracy: %.4f N/A hl nu N/A accuracies N/A N/A i j N/A N/A N/A best_model run N/A X_train y_train N/A X_test y_test N/A y_pred N/A N/A N/A best_model network predict N/A X N/A test N/A N/A y_pred None N/A