Module Import alias Import alias Assign NameStore Str Assign NameStore Dict Str Str Str Str Str Str ListLoad TupleLoad Str ListLoad Str Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str ListLoad Str Str TupleLoad Str ListLoad Str Str ListLoad ListLoad Str Num Num Str Str ListLoad Str Num Num Str Str ListLoad Str Num Num Str Str ListLoad Str Num Num Str Str ListLoad Str Num Num Str Str ListLoad Str Num Num Str Str ListLoad Str Num Num Str Str ListLoad Str Num Num Str Str ListLoad Str Num Num Str Str ListLoad Str Num Num Str Str ListLoad Str Num Num Str Str ListLoad Str Num Num Str Str ListLoad Str Num Num Str Str ListLoad Str Num Num Str Str ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict Str Str ListLoad TupleLoad Str Str ListLoad ListLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str Str Str ListLoad ListLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str Str ListLoad Num ListLoad ListLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str Str Str Str ListLoad TupleLoad Num Str ListLoad ListLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str Str Str Str ListLoad TupleLoad Str Str Str ListLoad ListLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str Str Str Str ListLoad TupleLoad Str Num ListLoad ListLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str Str ListLoad TupleLoad Str Str ListLoad ListLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A unittest N/A arff N/A ARFF % 
% DESCRIPTION HERE
% 
@RELATION weather

@ATTRIBUTE outlook {sunny, overcast, rainy}
@ATTRIBUTE temperature REAL
@ATTRIBUTE humidity REAL
@ATTRIBUTE windy {TRUE, FALSE}
@ATTRIBUTE play {yes, no}

@DATA
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
% 
% 
%  N/A OBJ N/A description relation attributes data 
DESCRIPTION HERE
 weather N/A N/A outlook N/A sunny overcast rainy N/A temperature REAL N/A humidity REAL N/A windy N/A TRUE FALSE N/A play N/A yes no N/A N/A sunny 85.0 85.0 FALSE no N/A sunny 80.0 90.0 TRUE no N/A overcast 83.0 86.0 FALSE yes N/A rainy 70.0 96.0 FALSE yes N/A rainy 68.0 80.0 FALSE yes N/A rainy 65.0 70.0 TRUE no N/A overcast 64.0 65.0 TRUE yes N/A sunny 72.0 95.0 FALSE no N/A sunny 69.0 70.0 FALSE yes N/A rainy 75.0 80.0 FALSE yes N/A sunny 75.0 70.0 TRUE yes N/A overcast 72.0 90.0 TRUE yes N/A overcast 81.0 75.0 FALSE yes N/A rainy 71.0 91.0 TRUE no TestEncodeComment N/A N/A unittest TestCase N/A get_encoder N/A N/A self N/A N/A N/A encoder N/A N/A arff ArffEncoder N/A encoder N/A test_encode N/A N/A self N/A N/A N/A encoder N/A N/A self get_encoder N/A result N/A N/A encoder encode OBJ N/A expected ARFF N/A N/A N/A self assertEqual result expected N/A test_iter_encode N/A N/A self N/A N/A N/A encoder N/A N/A self get_encoder N/A result N/A N/A encoder iter_encode OBJ N/A expected N/A N/A ARFF split N/A N/A r e N/A zip result expected N/A N/A N/A N/A self assertEqual r e N/A test_invalid_object N/A N/A self N/A N/A N/A encoder N/A N/A self get_encoder N/A fixture N/A attributes data N/A N/A name REAL N/A N/A 1 N/A N/A N/A self assertRaises N/A arff BadObject N/A encoder encode fixture N/A fixture N/A relation data name N/A N/A 1 N/A N/A N/A self assertRaises N/A arff BadObject N/A encoder encode fixture N/A test_invalid_object_attribute N/A N/A self N/A N/A N/A encoder N/A N/A self get_encoder N/A fixture N/A relation attributes data name N/A 4 N/A N/A 1 N/A N/A N/A self assertRaises N/A arff BadObject N/A encoder encode fixture N/A fixture N/A relation attributes data name N/A N/A 2 REAL N/A N/A 1 N/A N/A N/A self assertRaises N/A arff BadObject N/A encoder encode fixture N/A fixture N/A relation attributes data name N/A N/A NAME REAL MORE N/A N/A 1 N/A N/A N/A self assertRaises N/A arff BadObject N/A encoder encode fixture N/A fixture N/A relation attributes data name N/A N/A NAME 3 N/A N/A 1 N/A N/A N/A self assertRaises N/A arff BadObject N/A encoder encode fixture N/A test_attribute_invalid_attribute_type N/A N/A self N/A N/A N/A encoder N/A N/A self get_encoder N/A fixture N/A relation attributes data name N/A N/A name INVALID N/A N/A 1 N/A N/A N/A self assertRaises N/A arff BadObject N/A encoder encode fixture N/A N/A