Module Expr Str FunctionDef arguments args NameParam NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Import alias Import alias identifier Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Import alias identifier Import alias alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad ListComp Num comprehension NameStore NameLoad CompareGt Call NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Num Assign NameStore Call NameLoad For NameStore Call NameLoad SubscriptLoad NameLoad Index Str body Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad Assign TupleStore NameStore NameStore TupleLoad Dict Dict Assign TupleStore NameStore NameStore NameStore TupleLoad ListLoad ListLoad ListLoad Assign NameStore Num For NameStore NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str If CompareGt Call NameLoad NameLoad Num body While CompareGt SubscriptLoad NameLoad Index NameLoad Num body Assign NameStore ListLoad For TupleStore NameStore NameStore Call NameLoad SubscriptLoad NameLoad Index Str body If CompareIn SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index Str body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq SubscriptLoad SubscriptLoad NameLoad Index Str Index NameLoad Str body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad orelse If CompareNotIn SubscriptLoad NameLoad Index NameLoad NameLoad body Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If CompareNotIn SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Str NameLoad body Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Str AugAssignSub SubscriptStore NameLoad Index NameLoad Num AugAssignAdd NameStore Num Assign NameStore DictComp NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore DictComp NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr If CompareEq Call NameLoad NameLoad Num body Print Str Return If CompareGt Call NameLoad NameLoad Num body For NameStore Call NameLoad Call NameLoad SubscriptLoad NameLoad Index Str body If CompareEq SubscriptLoad SubscriptLoad NameLoad Index Str Index NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr ListComp SubscriptLoad NameLoad Index NameLoad comprehension NameStore NameLoad CompareEq Call NameLoad SubscriptLoad NameLoad Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr ListComp SubscriptLoad NameLoad Index NameLoad comprehension NameStore NameLoad CompareEq Call NameLoad SubscriptLoad NameLoad Index NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad If CompareIn NameLoad NameLoad body For NameStore Call NameLoad Call NameLoad NameLoad body If CompareIn SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad SubscriptLoad NameLoad Index Str body Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword SubscriptLoad NameLoad Index Str keyword NameLoad keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword IfExp CompareEq SubscriptLoad NameLoad Index Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str If CompareLt Call NameLoad NameLoad Num body Continue Print Str Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad ListComp NameLoad comprehension NameStore Call NameLoad Num For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore Call NameLoad ListComp TupleLoad SubscriptLoad NameLoad Index NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr Assign NameStore IfExp CompareEq SubscriptLoad NameLoad Index Num Str Call NameLoad ListComp SubscriptLoad NameLoad Index Call NameLoad NameLoad comprehension NameStore Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index NameLoad TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num NameLoad NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Import alias identifier Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Assign NameStore ListLoad Assign NameStore ListLoad For TupleStore NameStore TupleStore NameStore NameStore Call NameLoad NameLoad body If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareGt Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore ListLoad If CompareGt Call NameLoad NameLoad Num body For TupleStore NameStore NameStore Call NameLoad SubscriptLoad NameLoad Index Str body If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListComp SubscriptLoad NameLoad Index NameLoad comprehension NameStore NameLoad orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr ListComp SubscriptLoad NameLoad Index NameLoad comprehension NameStore NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Import alias Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore SubscriptLoad NameLoad Index Str For NameStore NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Assign NameStore NameLoad If CompareGt Call NameLoad NameLoad Num body Assign NameStore IfExp CompareEq SubscriptLoad NameLoad Index Str Num Str SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Str Assign NameStore ListComp IfExp CompareIn SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index NameLoad IfExp CompareEq SubscriptLoad SubscriptLoad NameLoad Index Str Index NameLoad Str Call NameLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad comprehension TupleStore NameStore NameStore Call NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Dict For NameStore SubscriptLoad NameLoad Index Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad BinOpAdd Call AttributeLoad NameLoad attr NameLoad Num Num If Call NameLoad GeneratorExp CompareGt NameLoad Call NameLoad BinOpDiv Call NameLoad SubscriptLoad NameLoad Index Str Num comprehension NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad NameLoad SubscriptLoad NameLoad Index NameLoad Assign NameStore NameLoad Break If UnaryOpNot NameLoad body Assign NameStore Call NameLoad NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad NameLoad SubscriptLoad NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Import alias identifier Import alias Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str For NameStore NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str If CompareGt Call NameLoad NameLoad Num body Assign NameStore IfExp CompareEq SubscriptLoad NameLoad Index Str Num Str SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Str Assign NameStore ListComp IfExp CompareIn SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index NameLoad IfExp CompareEq SubscriptLoad SubscriptLoad NameLoad Index Str Index NameLoad Str Call NameLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad comprehension TupleStore NameStore NameStore Call NameLoad SubscriptLoad NameLoad Index Str Assign NameStore ListComp Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad comprehension NameStore SubscriptLoad NameLoad Index Str Assign NameStore DictComp NameLoad BinOpDiv NameLoad Call NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Assign NameStore Call NameLoad NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad NameLoad SubscriptLoad NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Num Num Num Num Num Str Num NameLoad NameLoad NameLoad NameLoad body ImportFrom alias alias ImportFrom alias Import alias Assign NameStore Call AttributeLoad Str attr BinOpAdd SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Slice Num ListLoad Str Str Str Assign NameStore Call NameLoad keyword Call NameLoad keyword NameLoad Assign AttributeStore NameLoad attr ListLoad TupleLoad Str Call NameLoad Str keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword NameLoad keyword NameLoad TupleLoad Str Call NameLoad Str keyword NameLoad keyword NameLoad keyword NameLoad TryExcept body Assign NameStore Call NameLoad NameLoad Assign NameStore IfExp CompareNotEq NameLoad NameLoad Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad If BoolOpOr CompareLtE NameLoad Num CompareLtE NameLoad Num CompareLtE NameLoad Num BoolOpAnd CompareLtE NameLoad Num CompareLt NameLoad Num body Raise Call NameLoad Str handlers ExceptHandler type NameLoad body Raise Call NameLoad Str If CompareNotIn NameLoad ListLoad Str Str body Raise Call NameLoad Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Expr Call AttributeLoad NameLoad attr keyword Str keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword ListLoad BinOpAdd NameLoad Str BinOpAdd NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Return Dict Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body ImportFrom alias alias ImportFrom alias alias Import alias Assign NameStore Call AttributeLoad Str attr BinOpAdd SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Slice Num ListLoad Str Str Str If CompareNotIn Str NameLoad body Raise Call NameLoad Str Assign NameStore Call NameLoad keyword Call NameLoad keyword NameLoad Assign AttributeStore NameLoad attr ListLoad TupleLoad Str Call NameLoad Str keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword NameLoad keyword IfExp NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call NameLoad SubscriptLoad NameLoad Index Str body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad If CompareEq Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Num body Print Str Return ListLoad Expr Call AttributeLoad NameLoad attr keyword Str keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword ListLoad BinOpAdd NameLoad Str Return Call AttributeLoad NameLoad attr keyword NameLoad decorator_list
N/A N/A 
Random forest with MapReduce

Fit phase
Random forest algorithm builds multiple decision trees with a bootstrap method on a subset of data. In each tree node, it estimates sqrt(num. of attributes)+1 randomly selected attributes (without replacement). All decision trees are merged in large ensemble.  

Predict phase
Algorithm queries as many trees as needed for reliable prediction. Firstly, it randomly chooses without replacement 15 trees. If all trees vote for the same class, it outputs prediction. If there are multiple classes predicted, it chooses 15 trees again. Algorithm calculates difference in probability between most and second most probable prediction. If difference is greater than parameter diff, it outputs prediction. If a test sample is hard to predict (difference is never higher than diff), it queries whole ensemble to make a prediction.

Reference
Similar algorithm is proposed in: Justin D Basilico, M Arthur Munson, Tamara G Kolda, Kevin R Dixon, and W Philip Kegelmeyer. Comet: A recipe for learning and using large ensembles on massive data. 

 simple_init N/A N/A interface params N/A N/A N/A params N/A map_init N/A N/A interface params N/A N/A N/A Intialize random number generator with given seed `params.seed`. N/A random N/A numpy np N/A N/A N/A random seed N/A params N/A seed N/A N/A N/A N/A np random seed N/A params N/A seed N/A params N/A map_fit N/A N/A interface state label inp N/A N/A N/A numpy np N/A decision_tree measures collections Counter N/A out N/A N/A interface output 0 N/A num_samples N/A sum N/A 1 N/A row inp N/A N/A len N/A N/A N/A N/A row strip split N/A state N/A delimiter 1 N/A missing_vals_attr N/A set N/A counter N/A range N/A state N/A trees_per_chunk N/A N/A bag_indices N/A Counter N/A N/A N/A np random randint num_samples size num_samples N/A N/A attr_mapping y_mapping N/A N/A N/A N/A N/A x y fill_in_values N/A N/A N/A N/A N/A row_num 0 N/A row inp N/A N/A row N/A N/A N/A N/A row strip split N/A state N/A delimiter N/A N/A N/A len row 1 N/A N/A N/A N/A bag_indices N/A row_num 0 N/A N/A new_row N/A N/A N/A i j N/A enumerate N/A state N/A X_indices N/A N/A N/A N/A row N/A j N/A state N/A missing_vals N/A N/A N/A N/A new_row append N/A row N/A j N/A N/A N/A missing_vals_attr add i N/A N/A N/A N/A N/A state N/A X_meta N/A i c N/A N/A N/A N/A new_row append N/A row N/A j N/A N/A N/A N/A row N/A j attr_mapping N/A N/A N/A attr_mapping N/A N/A row N/A j N/A len attr_mapping N/A N/A N/A new_row append N/A attr_mapping N/A N/A row N/A j N/A N/A N/A x append new_row N/A N/A N/A row N/A N/A state N/A y_index y_mapping N/A N/A N/A y_mapping N/A N/A row N/A N/A state N/A y_index N/A len y_mapping N/A N/A N/A y append N/A y_mapping N/A N/A row N/A N/A state N/A y_index N/A N/A bag_indices N/A row_num 1 N/A row_num 1 N/A attr_mapping N/A v k N/A N/A k v N/A N/A attr_mapping iteritems N/A y_mapping N/A v k N/A N/A k v N/A N/A y_mapping iteritems N/A N/A N/A len y_mapping 1 N/A N/A Warning: Only one class in the subset! N/A N/A N/A N/A len missing_vals_attr 0 N/A N/A i N/A range N/A len N/A state N/A X_indices N/A N/A N/A N/A N/A state N/A X_meta N/A i c N/A N/A value N/A N/A np average N/A N/A sample N/A i N/A sample x N/A N/A type N/A sample N/A i float N/A N/A N/A fill_in_values append value N/A N/A value N/A N/A N/A N/A np bincount N/A N/A sample N/A i N/A sample x N/A N/A type N/A sample N/A i int argmax N/A N/A N/A fill_in_values append N/A attr_mapping N/A value N/A N/A i missing_vals_attr N/A N/A j N/A range N/A len x N/A N/A N/A N/A N/A x N/A j N/A i N/A state N/A missing_vals N/A N/A N/A N/A x N/A j N/A i value N/A x N/A N/A np array x dtype N/A np float32 N/A y N/A N/A np array y dtype N/A np uint16 N/A tree N/A N/A decision_tree fit x x y y t N/A state N/A X_meta randomized True max_tree_nodes N/A state N/A max_tree_nodes min_samples_leaf N/A state N/A min_samples_leaf min_samples_split N/A state N/A min_samples_split class_majority N/A state N/A class_majority measure N/A N/A N/A state N/A measure info_gain N/A measures info_gain N/A measures mdl accuracy N/A state N/A accuracy separate_max N/A state N/A separate_max N/A N/A N/A len tree 2 N/A N/A N/A tree was build N/A tree_mapped N/A N/A N/A k v N/A N/A tree iteritems N/A N/A N/A tree_mapped N/A k N/A None N/A i N/A range 2 N/A N/A i node N/A enumerate v N/A N/A dist_map N/A dict N/A N/A N/A y_mapping N/A label freq N/A N/A label freq N/A N/A N/A node N/A 3 iteritems N/A split_map N/A N/A N/A node N/A 5 d N/A set N/A N/A attr_mapping N/A N/A int s N/A s N/A list N/A node N/A 2 N/A node N/A 2 N/A N/A N/A tree_mapped N/A k N/A i N/A N/A node N/A 0 N/A node N/A 1 split_map dist_map N/A node N/A 4 N/A node N/A 5 N/A N/A N/A out add tree tree_mapped N/A N/A N/A out add fill_in_values fill_in_values N/A reduce_fit N/A N/A interface state label inp N/A N/A N/A numpy np N/A out N/A N/A interface output 0 N/A N/A N/A out add X_names N/A state N/A X_names N/A forest N/A N/A group_fillins N/A N/A N/A i N/A k value N/A enumerate inp N/A N/A N/A k tree N/A N/A N/A N/A forest append value N/A N/A N/A N/A len value 0 N/A N/A N/A N/A group_fillins append value N/A N/A N/A out add forest forest N/A fill_in_values N/A N/A N/A N/A len group_fillins 0 N/A N/A N/A i type N/A enumerate N/A state N/A X_meta N/A N/A N/A type c N/A N/A N/A N/A fill_in_values append N/A N/A np average N/A N/A sample N/A i N/A sample group_fillins N/A N/A N/A N/A fill_in_values append N/A N/A N/A N/A np bincount N/A N/A sample N/A i N/A sample group_fillins argmax N/A N/A N/A out add fill_in_values fill_in_values N/A map_predict_voting N/A N/A interface state label inp N/A N/A N/A decision_tree N/A out N/A N/A interface output 0 N/A fill_in_values N/A state N/A fill_in_values N/A row inp N/A N/A row N/A N/A N/A N/A row strip split N/A state N/A delimiter N/A predicted False N/A N/A N/A len row 1 N/A N/A x_id N/A N/A N/A state N/A id_index -1 N/A row N/A N/A state N/A id_index N/A x N/A N/A N/A N/A row N/A j N/A state N/A missing_vals N/A fill_in_values N/A j N/A N/A N/A N/A state N/A X_meta N/A i c N/A float N/A row N/A j N/A row N/A j N/A N/A i j N/A enumerate N/A state N/A X_indices N/A tallies N/A N/A tree N/A state N/A forest N/A N/A pred N/A N/A decision_tree predict tree x N/A N/A tallies N/A pred N/A N/A N/A tallies get pred 0 1 N/A N/A any N/A N/A e N/A int N/A N/A len N/A state N/A forest 2.0 N/A e N/A N/A tallies values N/A N/A prediction N/A max tallies key N/A tallies get N/A N/A N/A out add x_id N/A prediction N/A tallies N/A prediction N/A predicted True N/A N/A N/A predicted N/A N/A prediction N/A max tallies key N/A tallies get N/A N/A N/A out add x_id N/A prediction N/A tallies N/A prediction N/A map_predict_dist N/A N/A interface state label inp N/A N/A N/A numpy np N/A decision_tree N/A out N/A N/A interface output 0 N/A ensemble_size N/A len N/A state N/A forest N/A fill_in_values N/A state N/A fill_in_values N/A row inp N/A N/A row N/A N/A N/A N/A row strip split N/A state N/A delimiter N/A N/A N/A len row 1 N/A N/A x_id N/A N/A N/A state N/A id_index -1 N/A row N/A N/A state N/A id_index N/A x N/A N/A N/A N/A row N/A j N/A state N/A missing_vals N/A fill_in_values N/A j N/A N/A N/A N/A state N/A X_meta N/A i c N/A float N/A row N/A j N/A row N/A j N/A N/A i j N/A enumerate N/A state N/A X_indices N/A pred_dist N/A N/A N/A decision_tree predict tree x dist True N/A tree N/A state N/A forest N/A y_dist N/A k N/A v N/A float ensemble_size N/A N/A k v N/A N/A N/A N/A np sum pred_dist iteritems N/A prediction N/A max y_dist key N/A y_dist get N/A N/A N/A out add x_id N/A prediction N/A y_dist N/A prediction N/A fit N/A N/A dataset trees_per_chunk max_tree_nodes min_samples_leaf min_samples_split class_majority measure accuracy separate_max random_state save_results show N/A 3 50 10 5 1 info_gain 1 True None True False N/A disco.worker.pipeline.worker Worker Stage disco.core Job N/A discomll N/A path N/A N/A / join N/A N/A N/A N/A N/A discomll __file__ split / N/A -1 N/A ensemble core N/A job N/A Job worker N/A Worker save_results save_results N/A N/A job pipeline N/A N/A split N/A Stage map input_chain N/A N/A dataset params N/A input_chain init map_init process map_fit N/A group_all N/A Stage reduce init simple_init process reduce_fit combine True N/A N/A N/A trees_per_chunk N/A int trees_per_chunk N/A max_tree_nodes N/A N/A max_tree_nodes None N/A int max_tree_nodes max_tree_nodes N/A min_samples_leaf N/A int min_samples_leaf N/A min_samples_split N/A int min_samples_split N/A class_majority N/A float class_majority N/A accuracy N/A int accuracy N/A N/A N/A trees_per_chunk 0 N/A min_samples_leaf 0 N/A class_majority 0 N/A N/A min_samples_split 0 N/A accuracy 0 N/A N/A N/A Exception Parameters should be greater than 0. N/A N/A N/A ValueError N/A N/A N/A Exception Parameters should be numerical. N/A N/A measure N/A info_gain mdl N/A N/A N/A Exception measure should be set to info_gain or mdl. N/A N/A job params N/A dataset params N/A N/A N/A job params N/A trees_per_chunk trees_per_chunk N/A N/A N/A job params N/A max_tree_nodes max_tree_nodes N/A N/A N/A job params N/A min_samples_leaf min_samples_leaf N/A N/A N/A job params N/A min_samples_split min_samples_split N/A N/A N/A job params N/A class_majority class_majority N/A N/A N/A job params N/A measure measure N/A N/A N/A job params N/A accuracy accuracy N/A N/A N/A job params N/A separate_max separate_max N/A N/A N/A job params N/A seed random_state N/A N/A N/A job run name distributed_random_forest_fit input N/A N/A dataset params N/A data_tag required_files N/A N/A path decision_tree.py N/A path measures.py N/A fitmodel_url N/A N/A job wait show show N/A N/A drf_fitmodel fitmodel_url N/A predict N/A N/A dataset fitmodel_url voting save_results show N/A False True False N/A disco.worker.pipeline.worker Worker Stage disco.core Job result_iterator N/A discomll N/A path N/A N/A / join N/A N/A N/A N/A N/A discomll __file__ split / N/A -1 N/A ensemble core N/A N/A drf_fitmodel fitmodel_url N/A N/A N/A Exception Incorrect fit model. N/A job N/A Job worker N/A Worker save_results save_results N/A N/A job pipeline N/A N/A split N/A Stage map input_chain N/A N/A dataset params N/A input_chain init simple_init process N/A voting map_predict_voting map_predict_dist N/A N/A job params N/A dataset params N/A N/A k v N/A result_iterator N/A fitmodel_url N/A drf_fitmodel N/A N/A N/A N/A job params N/A k v N/A N/A N/A len N/A N/A job params N/A forest 0 N/A N/A Warning: There is no decision trees in forest N/A N/A N/A N/A N/A job run name distributed_random_forest_predict input N/A N/A dataset params N/A data_tag required_files N/A N/A path decision_tree.py N/A N/A N/A job wait show show N/A