- In this folder you can make a .csv file of .discrete files
- There is a Adult dataset in this folder and you can use of this dataset
- for create .csv files of .discrete files you should run create_dataset.py
- after run create_dataset.py, program get .discrete file name
- Attention: The .discrete file must have the following labels:
- Labels: dataset_headernames = ['label', 'workclass', 'education', 'marital-status', 'occupation', 'relationship', 'race', 'sex', 'native-country']
- After run, create two train_dataset.csv and validation_dataset.csv
- In this folder you can make a tree with ID3 algorithm
- You should run ID3_withCheackLabel_csvDataset_v0.24.py
- After run, you have to give a train dataset (.csv), for example you can use Create_dataset/train_dataset.csv or train_dataset.csv.
- After train, The model make a tree_law.csv that show the tree law also make a train_full_information.txt that show a info dictionary of the dataset.
- you can use of this folder for test the Tree.
Thank you in advance for improving this app
AR