Skip to Main Content
Building an Intelligent Web: Theory and Practice
book

Building an Intelligent Web: Theory and Practice

by Pawan Lingras, Rajendra Akerkar
March 2010
Intermediate to advanced content levelIntermediate to advanced
326 pages
12h 25m
English
Jones & Bartlett Learning
Content preview from Building an Intelligent Web: Theory and Practice
“4137X˙CH04˙Akerkar” 2007/9/17 11:02 page 149 #31
4.3 Classication 149
Let us categorize these values into two sets, high and low, such that the value exceeding
75 is said to be of high humidity or else, it is of low humidity. There are nine records with
high humidity, four of which are in the no play class and five are in the play class. Similarly,
out of the five records with low humidity, one is in the no play class and the remaining four
are in the play class. In such a situation, the gain is calculated as follows:
Info(humidity, T )=
9
14
4
9
log
4
9
5
9
log
5
9
+
5
14
4
5
log
4
5
1
5
log
1
5
=0.89
Therefore, the gain is 0.94 0.89 = 0.05.
For the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Reinventing the Organization for GenAI and LLMs

Reinventing the Organization for GenAI and LLMs

Ethan Mollick

Publisher Resources

ISBN: 9780763741372