Question: Construct a decision tree using Prolog. Use Any of the decision tree algorithms to build a decision tree for the given data Create rules from
Construct a decision tree using Prolog.
- Use Any of the decision tree algorithms to build a decision tree for the given data
- Create rules from the decision tree.
- Code the rules into a Prolog Knowledge base
- Get internet user data as input and find whether the internet user is a fair or unfair one.
Dataset
| CT | CU | LT | TC | TS |
| CT_range_1 | CU_range_1 | LT_range_1 | holiday | trustworthy |
| CT_range_1 | CU_range_3 | LT_range_4 | sport | trustworthy |
| CT_range_2 | CU_range_1 | LT_range_2 | holiday | untrustworthy |
| CT_range_2 | CU_range_1 | LT_range_2 | holiday | untrustworthy |
| CT_range_4 | CU_range_1 | LT_range_2 | game | trustworthy |
| CT_range_1 | CU_range_4 | LT_range_4 | ECommerce | untrustworthy |
| CT_range_4 | CU_range_1 | LT_range_1 | game | trustworthy |
| CT_range_1 | CU_range_4 | LT_range_4 | sport | trustworthy |
| CT_range_2 | CU_range_1 | LT_range_2 | holiday | untrustworthy |
| CT_range_1 | CU_range_5 | LT_range_4 | ECommerce | untrustworthy |
| CT_range_3 | CU_range_1 | LT_range_4 | sport | trustworthy |
| CT_range_2 | CU_range_1 | LT_range_2 | holiday | untrustworthy |
| CT_range_1 | CU_range_1 | LT_range_1 | holiday | trustworthy |
| CT_range_2 | CU_range_1 | LT_range_2 | holiday | untrustworthy |
| CT_range_2 | CU_range_1 | LT_range_2 | holiday | untrustworthy |
| CT_range_1 | CU_range_3 | LT_range_4 | sport | trustworthy |
| CT_range_2 | CU_range_1 | LT_range_4 | sport | trustworthy |
| CT_range_1 | CU_range_4 | LT_range_4 | ECommerce | untrustworthy |
| CT_range_2 | CU_range_1 | LT_range_2 | holiday | untrustworthy |
| CT_range_1 | CU_range_1 | LT_range_1 | holiday | trustworthy |
| CT_range_1 | CU_range_1 | LT_range_1 | holiday | trustworthy |
| CT_range_4 | CU_range_1 | LT_range_1 | game | trustworthy |
| CT_range_1 | CU_range_1 | LT_range_1 | holiday | trustworthy |
| CT_range_1 | CU_range_3 | LT_range_4 | sport | trustworthy |
| CT_range_4 | CU_range_1 | LT_range_3 | game | trustworthy |
| CT_range_2 | CU_range_1 | LT_range_2 | holiday | untrustworthy |
| CT_range_2 | CU_range_1 | LT_range_2 | holiday | untrustworthy |
| CT_range_1 | CU_range_1 | LT_range_1 | holiday | trustworthy |
| CT_range_4 | CU_range_1 | LT_range_3 | game | trustworthy |
| CT_range_1 | CU_range_4 | LT_range_4 | ECommerce | untrustworthy |
| CT_range_1 | CU_range_1 | LT_range_1 | holiday | trustworthy |
| CT_range_4 | CU_range_1 | LT_range_3 | game | trustworthy |
| CT_range_1 | CU_range_1 | LT_range_1 | holiday | trustworthy |
| CT_range_3 | CU_range_1 | LT_range_4 | sport | trustworthy |
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
