0ff5063d229ec9b98dea88d9e0d096bb63870b9a,pgmpy/factors/FactorSet.py,,factorset_divide,#Any#Any#,249

Before Change


    
    if not isinstance(factorset1, FactorSet) or not isinstance(factorset2, FactorSet):
        raise TypeError("factorset1 and factorset2 must be FactorSet instances")
    return FactorSet(*factorset1.factors.union([x.identity_factor() / x for x in factorset2.factors]))

After Change


    
    if not isinstance(factorset1, FactorSet) or not isinstance(factorset2, FactorSet):
        raise TypeError("factorset1 and factorset2 must be FactorSet instances")
    return factorset1.divide(factorset2, inplace=False)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: pgmpy/pgmpy
Commit Name: 0ff5063d229ec9b98dea88d9e0d096bb63870b9a
Time: 2015-08-21
Author: ankurankan@gmail.com
File Name: pgmpy/factors/FactorSet.py
Class Name:
Method Name: factorset_divide


Project Name: tensorflow/tensorboard
Commit Name: a02e5721ab5babc58e7d41cda5c0aaafe30320d1
Time: 2020-01-22
Author: wchargin@gmail.com
File Name: tensorboard/backend/event_processing/data_provider.py
Class Name: MultiplexerDataProvider
Method Name: list_plugins


Project Name: CyberReboot/NetworkML
Commit Name: cd83fed56a184063215f932ef768f8834328654c
Time: 2020-04-01
Author: josh@vandervecken.com
File Name: networkml/featurizers/funcs/host.py
Class Name: HostBase
Method Name: _df_proto_flags


Project Name: pantsbuild/pants
Commit Name: 40c214aa1c044a02b5290aa3ec7cc9570dbe24ad
Time: 2016-11-06
Author: stuhood@gmail.com
File Name: src/python/pants/engine/rules.py
Class Name: NodeBuilder
Method Name: all_produced_product_types