Skip to content
nave91 edited this page Sep 2, 2014 · 1 revision

Examples

Reading in the Weather dataset:

python reader.py weather -v

The simplest form of data mining shows mean and mode of continuous and discrete attributes.

Note: Verbose level set to 1
WARNING: empty or missing file
tableprint prints expected with mean by default
             outlook                $temp            $humidity                windy                =play    #      notes
               sunny                 72.0                 82.5                FALSE                  yes    #   expected
                0.36                 6.57                10.29                 0.57                 0.64    # certainity
               sunny                 85.0                 85.0                FALSE                   no    #
               sunny                 80.0                 90.0                 TRUE                   no    #
            overcast                 83.0                 86.0                FALSE                  yes    #
               rainy                 70.0                 96.0                FALSE                  yes    #
               rainy                 68.0                 80.0                FALSE                  yes    #
               rainy                 65.0                 70.0                 TRUE                   no    #
            overcast                 64.0                 65.0                 TRUE                  yes    #
               sunny                 72.0                 95.0                FALSE                   no    #
               sunny                 69.0                 70.0                FALSE                  yes    #
               rainy                 75.0                 80.0                FALSE                  yes    #
               sunny                 75.0                 70.0                 TRUE                  yes    #
            overcast                 72.0                 90.0                 TRUE                  yes    #
            overcast                 81.0                 75.0                FALSE                  yes    #
               rainy                 71.0                 91.0                 TRUE                   no    #

Share and Enjoy!

Clone this wiki locally