Module Import alias Import alias TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body ImportFrom alias Assign NameStore Str Assign NameStore Str Assign NameStore Str ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Index Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Index Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Index Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Index Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Index Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Index Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Index Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Index Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str decorator_list decorator_list
N/A N/A unittest N/A arff N/A N/A StringIO StringIO N/A N/A N/A ImportError N/A io StringIO N/A ARFF % XOR Dataset
@RELATION XOR

@ATTRIBUTE input1 REAL
@ATTRIBUTE input2 REAL
@ATTRIBUTE y REAL

@DATA
0.0,0.0,0.0
0.0,1.0,1.0
1.0,0.0,1.0
1.0,1.0,0.0
% 
% 
%  N/A ARFF_FORMAT_CORRECT @relation "software metric"

@attribute number_of_files numeric
@attribute "lines of code" numeric
@attribute 'defect density' numeric

@data 10,10,10
 N/A SPARSE_ARFF % XOR Dataset
@RELATION XOR

@ATTRIBUTE input1 REAL
@ATTRIBUTE input2 REAL
@ATTRIBUTE y REAL

@DATA
{0 0}
{1 1.0, 2 1.0}
{0 1.0, 2 1.0}
{0 1.0, 1 1.0}
 TestLoads N/A N/A unittest TestCase N/A get_loads N/A N/A self N/A N/A N/A load N/A arff loads N/A load N/A test_simple N/A N/A self N/A N/A N/A loads N/A N/A self get_loads N/A obj N/A loads ARFF N/A N/A N/A self assertEqual N/A obj N/A description XOR Dataset N/A N/A N/A self assertEqual N/A obj N/A relation XOR N/A N/A N/A self assertEqual N/A N/A N/A obj N/A attributes N/A 0 N/A 0 input1 N/A N/A N/A self assertEqual N/A N/A N/A obj N/A attributes N/A 0 N/A 1 REAL N/A N/A N/A self assertEqual N/A N/A N/A obj N/A data N/A 0 N/A 0 0.0 N/A N/A N/A self assertEqual N/A N/A N/A obj N/A data N/A 0 N/A 1 0.0 N/A N/A N/A self assertEqual N/A N/A N/A obj N/A data N/A 0 N/A 2 0.0 N/A test_format_correct N/A N/A self N/A N/A N/A loads N/A N/A self get_loads N/A obj N/A loads ARFF_FORMAT_CORRECT N/A N/A N/A self assertEqual N/A N/A N/A obj N/A attributes N/A 0 N/A 0 number_of_files N/A N/A N/A self assertEqual N/A N/A N/A obj N/A attributes N/A 1 N/A 0 lines of code N/A N/A N/A self assertEqual N/A N/A N/A obj N/A attributes N/A 2 N/A 0 defect density N/A N/A N/A self assertEqual N/A obj N/A relation software metric N/A test_format_error_relation N/A N/A self N/A N/A N/A fixture         @relation software metric

        @attribute number_of_files numeric
        @attribute "lines of code" numeric
        @attribute 'defect density' numeric

        @data 10,10,10
         N/A loads N/A N/A self get_loads N/A fixture @ATTRIBUTE {name NUMERIC N/A N/A N/A self assertRaises N/A arff BadLayout loads fixture N/A test_format_error_attribute N/A N/A self N/A N/A N/A fixture         @relation "software metric"

        @attribute #_of_files numeric
        @attribute lines of code numeric
        @attribute defect density numeric

        @data 10,10,10
         N/A loads N/A N/A self get_loads N/A fixture @ATTRIBUTE {name NUMERIC N/A N/A N/A self assertRaises N/A arff BadLayout loads fixture N/A test_sparse_input N/A N/A self N/A N/A N/A loads N/A N/A self get_loads N/A obj N/A loads ARFF N/A sparse_obj N/A loads SPARSE_ARFF N/A N/A N/A self assertEqual N/A obj N/A data N/A sparse_obj N/A data N/A N/A