(x, tree_num)
return {'node_pos': node_pos, 'reach_leaf_node': reach_leaf_node}
x: just occupy the first parameter position
        return: a numpy array record sample pos, and a counter counting how many trees reach a leaf node
x: just occupy the first parameter position
        return: a numpy array record sample pos, and a counter counting how many trees reach a leaf node
x : just occupy the first parameter position return : a numpy array record sample pos and a counter counting how many trees reach a leaf node
def generate_leaf_pos_dict(x, tree_num):
        """
        x: just occupy the first parameter position
        return: a numpy array record sample pos, and a counter counting how many trees reach a leaf node
        """
        node_pos = np.zeros(tree_num, dtype=np.int64) + 0
        reach_leaf_node = np.zeros(tree_num, dtype=np.bool)
        return {'node_pos': node_pos, 'reach_leaf_node': reach_leaf_node}
def generate_leaf_pos_dict ( x , tree_num ) : node_pos = np . zeros ( tree_num , dtype = np . int64 ) + 0 reach_leaf_node = np . zeros ( tree_num , dtype = np . bool ) return { 'node_pos' : node_pos , 'reach_leaf_node' : reach_leaf_node }