#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sat Oct 30 07:47:13 2021

@author: emiliano
"""

from load_csv import load_csv
from attributes import Attributes
from tree import Tree
from decision_tree import decision_tree

def main():
    dataframe = load_csv("tennis.csv")    
    attributes: Attributes = Attributes(dataframe)
    tree: Tree = Tree()
    decision_tree(tree, attributes, "no")
    tree.show()
    
if __name__ == "__main__":
    main()
ee238ee1c41517778d4424d6f6715316e06d9d3f
<mask token>

<mask token>


def main():
    dataframe = load_csv('tennis.csv')
    attributes: Attributes = Attributes(dataframe)
    tree: Tree = Tree()
    decision_tree(tree, attributes, 'no')
    tree.show()


<mask token>

<mask token>


def main():
    dataframe = load_csv('tennis.csv')
    attributes: Attributes = Attributes(dataframe)
    tree: Tree = Tree()
    decision_tree(tree, attributes, 'no')
    tree.show()


if __name__ == '__main__':
    main()

<mask token>
from load_csv import load_csv
from attributes import Attributes
from tree import Tree
from decision_tree import decision_tree


def main():
    dataframe = load_csv('tennis.csv')
    attributes: Attributes = Attributes(dataframe)
    tree: Tree = Tree()
    decision_tree(tree, attributes, 'no')
    tree.show()


if __name__ == '__main__':
    main()

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sat Oct 30 07:47:13 2021

@author: emiliano
"""

from load_csv import load_csv
from attributes import Attributes
from tree import Tree
from decision_tree import decision_tree

def main():
    dataframe = load_csv("tennis.csv")    
    attributes: Attributes = Attributes(dataframe)
    tree: Tree = Tree()
    decision_tree(tree, attributes, "no")
    tree.show()
    
if __name__ == "__main__":
    main()