python code implementation to the unknown attributes value in decision tree -- 2
Budget: $10 – $30 USD
By using benchmark classical dataset.
implement a python code for decision tree that deal with the unknown attribute values by assign probability pi to each possible value vi of A assign fraction pi of example to each descendant in tree and edit the same code to deal with the unknown value by : 1- Assign most common value of A among other examples with same target value 2- If node n tests A , assign most common value of A among other examples sorted to node n then do a comparison between the three ways.
Kindly edit the same code
implement a python code for decision tree that deal with the unknown attribute values by assign probability pi to each possible value vi of A assign fraction pi of example to each descendant in tree and edit the same code to deal with the unknown value by : 1- Assign most common value of A among other examples with same target value 2- If node n tests A , assign most common value of A among other examples sorted to node n then do a comparison between the three ways.
Kindly edit the same code