4666a022939c40b18d34c9657fd65c710ecfb85f,Orange/canvas/report/report.py,,describe_domain_brief,#Any#,393

Before Change


    :type domain: Orange.data.Domain
    :rtype: OrderedDict
    
    items = OrderedDict([
        ("Features", len(domain.attributes) or "None"),
        ("Meta attributes", len(domain.metas) or "None")])
    if domain.has_discrete_class:
        items["Target"] = "Class "{}"".format(domain.class_var.name)
    elif domain.has_continuous_class:
        items["Target"] = "Numeric variable "{}"". \

After Change


    :type domain: Orange.data.Domain
    :rtype: OrderedDict
    
    items = OrderedDict()
    if domain is None:
        return items
    items["Features"] = len(domain.attributes) or "None"
    items["Meta attributes"] = len(domain.metas) or "None"
    if domain.has_discrete_class:
        items["Target"] = "Class "{}"".format(domain.class_var.name)
    elif domain.has_continuous_class:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 9

Instances


Project Name: biolab/orange3
Commit Name: 4666a022939c40b18d34c9657fd65c710ecfb85f
Time: 2015-10-30
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/canvas/report/report.py
Class Name:
Method Name: describe_domain_brief


Project Name: biolab/orange3
Commit Name: 1349a412f5b3912b0e90afb17ccb90745c50a430
Time: 2015-12-04
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/canvas/report/__init__.py
Class Name:
Method Name: describe_data_brief


Project Name: biolab/orange3
Commit Name: 602661a5bd86e38ec1915d04a25eac901bc242b7
Time: 2015-12-04
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/canvas/report/report.py
Class Name:
Method Name: describe_domain_brief


Project Name: biolab/orange3
Commit Name: 34d4608fcd3df6f5c02e6a56afda51fd9d00be0b
Time: 2015-10-30
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/canvas/report/__init__.py
Class Name:
Method Name: describe_data_brief