GiraudJules/ELP

Create class Node

Closed this issue · 2 comments

Create a class Node for the tree that will represent each $x_i(j,s)$

  • Define the args
  • Define the methods
ArtNd commented
class Node(object):
    def __init__(self, value, is_leaf=False):
        self.value = value
        self.left = None
        self.right = None
        self.risk_value = None
        self.col_index = None
        self.is_leaf = is_leaf

UPDATE: DONE -> attributes implemented, no method to implement