13.07.2015 Views

Data Mining: Practical Machine Learning Tools and ... - LIDeCC

Data Mining: Practical Machine Learning Tools and ... - LIDeCC

Data Mining: Practical Machine Learning Tools and ... - LIDeCC

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

372 CHAPTER 10 | THE EXPLORER(a)(b)Figure 10.3 The Weka Explorer: (a) choosing the Explorer interface <strong>and</strong> (b) reading inthe weather data.bring up a st<strong>and</strong>ard dialog through which you can select a file. Choose theweather.arff file. If you have it in CSV format, change from ARFF data files toCSV data files. When you specify a .csv file it is automatically converted intoARFF format.Having loaded the file, the screen will be as shown in Figure 10.3(b). Thistells you about the dataset: it has 14 instances <strong>and</strong> five attributes (center left);the attributes are called outlook, temperature, humidity, windy, <strong>and</strong> play (lowerleft). The first attribute, outlook, is selected by default (you can choose othersby clicking them) <strong>and</strong> has no missing values, three distinct values, <strong>and</strong> no uniquevalues; the actual values are sunny, overcast, <strong>and</strong> rainy, <strong>and</strong> they occur five, four,<strong>and</strong> five times, respectively (center right). A histogram at the lower right showshow often each of the two values of the class, play, occurs for each value of theoutlook attribute. The attribute outlook is used because it appears in the boxabove the histogram, but you can draw a histogram of any other attributeinstead. Here play is selected as the class attribute; it is used to color the histogram,<strong>and</strong> any filters that require a class value use it too.The outlook attribute in Figure 10.3(b) is nominal. If you select a numericattribute, you see its minimum <strong>and</strong> maximum values, mean, <strong>and</strong> st<strong>and</strong>ard

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!