Skip to content
tywtyw2002 edited this page Nov 13, 2014 · 2 revisions

##Attribute

  • attribute format: attr_name|attr_type|attr_range
  • attr_name: must be string
  • attr_type: can be {INT, DOUBLE, STRING}
  • attr_range: if the attr_type is STRING, this field is need, the format is like {item1, item2, item3}

NOTE: ALL THINGS IN Attribute field are Case sensitivity!

@attribute
outlook|STRING|{sunny, overcast, rainy}
windy|STRING|{TRUE, FALSE}
o|INT|

@data
sunny,hot,high,FALSE,no
sunny,hot,high,TRUE,no
overcast,hot,high,FALSE,yes
rainy,mild,high,FALSE,yes
rainy,cool,normal,FALSE,yes
rainy,cool,normal,TRUE,no
overcast,cool,normal,TRUE,yes
sunny,mild,high,FALSE,no
sunny,cool,normal,FALSE,yes
rainy,mild,normal,FALSE,yes
sunny,mild,normal,TRUE,yes
overcast,mild,high,TRUE,yes
overcast,hot,normal,FALSE,yes
rainy,mild,high,TRUE,no

Clone this wiki locally