602661a5bd86e38ec1915d04a25eac901bc242b7,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


    :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:
        items["Target"] = "Numeric variable "{}"". \
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


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: matplotlib/matplotlib
Commit Name: 9c7f926d6d70a994c3710ce570bb9807519ef090
Time: 2019-01-17
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/backends/backend_agg.py
Class Name: FigureCanvasAgg
Method Name: print_png


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