8a5b2108db18d36ad9fd4201b813f109b180197e,elfi/utils.py,,,#,9

Before Change



from scipy.optimize import differential_evolution

logger = logging.getLogger(__name__)

def make_key(id, sl):
    Makes the dask key for the outputs of nodes

After Change

import scipy.stats as ss
import networkx as nx

SCIPY_ALIASES = {
    "normal": "norm",
    "exponential": "expon",
    "unif": "uniform",
    "bin": "binom",
    "binomial": "binom"
}

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: elfi-dev/elfi
Commit Name: 8a5b2108db18d36ad9fd4201b813f109b180197e
Time: 2017-02-15
Author: jarno.lintusaari@aalto.fi
File Name: elfi/utils.py
Class Name:
Method Name:


Project Name: home-assistant/home-assistant
Commit Name: 39847ea651c438a819f52d6abaf6bbc63da4e67e
Time: 2018-02-20
Author: paulus@paulusschoutsen.nl
File Name: homeassistant/components/cloud/auth_api.py
Class Name:
Method Name:


Project Name: pantsbuild/pants
Commit Name: 25e52afd407ee31d7893f7ec66353cf2a2d64c23
Time: 2020-08-24
Author: benjyw@gmail.com
File Name: src/python/pants/engine/desktop.py
Class Name:
Method Name: