Research Article

Automatic Rule Generation for Decision-Making in Context-Aware Systems Using Machine Learning

Table 2

A sample of generated rules from the weather dataset.

RulesIF-THEN rules

R1IF outlook = overcast THEN play = yes
R2IF outlook = rainy AND windy = false THEN play = yes
R3IF outlook = rainy AND windy = true THEN play = no
R4IF outlook = sunny AND humidity = high THEN play = no
R5IF outlook = sunny AND humidity = normal THEN play = yes
R6IF humidity = normal AND windy = false THEN play = yes
R7IF humidity = high AND outlook = rainy AND windy = false THEN play = yes
R8IF humidity = high AND outlook = rainy AND windy = true THEN play = no
R9IF humidity = normal AND windy = true AND temperature = hot THEN play = yes
R10IF humidity = normal AND windy = true AND temperature = cool AND outlook = overcast THEN play = yes