Dibatalkan

swi prolog

My project has 3 parts:

first part: program should read a text file which contains a dataset, and should generate a

factbase file( Tennis_Dataset.txt------Part 1------>[url removed, login to view])

[url removed, login to view] is containing:

outlook temperature humidity wind play_tennis

sunny hot high weak no

sunny hot high strong no

overcast hot high weak yes

.

Tennis_Factbase should be like:

example(1, no,[outlook=sunny, temperature=hot, humidity=high, wind=weak]).

example(2, no,[outlook=sunny, temperature=hot, humidity=high, wind=strong]).

example(3, yes,[outlook=overcast, temperature=hot, humidity=high, wind=weak]).

consult [url removed, login to view] and [url removed, login to view](attached to this site) than execute "showtree." command(which is a part of [url removed, login to view]) when you execute "showtree" you will see something like this:

outlook=rain

wind=strong => [no/2]

wind=weak => [yes/3]

outlook=overcast => [yes/4]

outlook=sunny

humidity=normal => [yes/2]

humidity=high => [no/3]

Put the screen output of the decision tree in a file named [url removed, login to view]

second part: read the [url removed, login to view] file that you generated using the [url removed, login to view]

program, and should generate the [url removed, login to view] Your output file should have the following format:

% node(Name, Type, QuestionText, List_of_Choices, List_of_Children)

node( root, question, 'Outlook?', [rain, overcast, sunny], [n1, n3, n2] ).

node( n1, question, ‘Wind?', [weak, strong], [n3, n4] ).

node( n2, question, ‘Humidity?', [high, normal], [n4, n3] ).

third(final) part:

Using the decision tree file that you generated ([url removed, login to view]), this part should traverse the tree starting from root, asking questions to user, and finally displaying

the answer (at a leaf node).

First, user will load (consult) the tree file ([url removed, login to view])

Important Note: deadline is 18th of April

Kemahiran: Prolog

Lihat lebih lanjut: tree node, parts tree, node in tree, n3, N2, temperature, rain, decision tree, traverse, generate node, id3 tree, program tree using, tree program using, mdb210, program tree, example tree, SWI Prolog, humidity, prolog id3, prolog tennis_factbase, project temperature, read temperature, name leaf, nqueens prolog swi, type pdf format

Tentang Majikan:
( 0 ulasan ) niigata, Turkey

ID Projek: #1566307