Create class Node
Closed this issue · 2 comments
nicoboou commented
Create a class Node for the tree that will represent each
- 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
nicoboou commented
UPDATE: DONE -> attributes
implemented, no method to implement