Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.

  1. Use Any of the decision tree algorithms to build a decision tree for the given data
  2. Create rules from the decision tree.
  3. Code the rules into a Prolog Knowledge base
  4. 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Expert Performance Indexing In SQL Server

Authors: Jason Strate, Grant Fritchey

2nd Edition

1484211189, 9781484211182

More Books

Students also viewed these Databases questions

Question

What is the difference between Needs and GAP Analyses?

Answered: 1 week ago

Question

What are ERP suites? Are HCMSs part of ERPs?

Answered: 1 week ago