1e1e75ea3615468cbc29f30043b19d4273956a8f,src/spn/io/plot/TreeVisualization.py,,spn_to_ete,#,9

Before Change


                c.support = spn.weights[i]
            tree.add_child(c)
    elif context is not None:
        feature_names = ", ".join([context.feature_names[i] for i in spn.scope])
        tree.name += ": " + feature_names 

    return tree

After Change



    if isinstance(spn, Sum):
        tree.name = "Σ"
    if isinstance(spn, Product):
        tree.name = "Π"

    queue = []

    if not isinstance(spn, Leaf):
        for i, child in enumerate(spn.children):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: SPFlow/SPFlow
Commit Name: 1e1e75ea3615468cbc29f30043b19d4273956a8f
Time: 2018-11-23
Author: molina@cs.tu-darmstadt.de
File Name: src/spn/io/plot/TreeVisualization.py
Class Name:
Method Name: spn_to_ete


Project Name: HazyResearch/fonduer
Commit Name: 43a50ab6a3f717c738c8abba16779be59878bf4b
Time: 2020-10-06
Author: hiromu.hota@hal.hitachi.com
File Name: src/fonduer/parser/preprocessors/hocr_doc_preprocessor.py
Class Name: HOCRDocPreprocessor
Method Name: _parse_file


Project Name: mindsdb/mindsdb
Commit Name: 1598381b2bed5d2d8fc95ebce957516d6f4c5463
Time: 2021-02-20
Author: stpmax@yandex.ru
File Name: mindsdb/api/mysql/mysql_proxy/mysql_proxy.py
Class Name: MysqlProxy
Method Name: initSession