9d941d30962c211971ec316bf40c2ebfbf28a567,src/orion/analysis/lpi_utils.py,,lpi,#Any#Any#Any#Any#Any#,64

Before Change


    if trials.empty or trials.shape[0] == 0:
        return pd.DataFrame(
            data=[0] * len(flattened_space),
            index=flattened_space.keys(),
            columns=["LPI"],
        )

After Change


        Number of points for each dimension on the grid.

    
    grid = numpy.zeros((len(space), n_points, len(space) + 1))
    for i, dim in enumerate(space.values()):
        grid[i, :, :] = point
        grid[i, :, i] = numpy.linspace(*dim.interval(), num=n_points)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: Epistimio/orion
Commit Name: 9d941d30962c211971ec316bf40c2ebfbf28a567
Time: 2021-02-24
Author: xavier.bouthillier@umontreal.ca
File Name: src/orion/analysis/lpi_utils.py
Class Name:
Method Name: lpi


Project Name: biocore/scikit-bio
Commit Name: 5b84ef378fded84e4a568465a5ca8c02f47dea98
Time: 2014-05-22
Author: jai.rideout@gmail.com
File Name: skbio/math/stats/distance/bioenv.py
Class Name:
Method Name: bioenv


Project Name: hanxiao/bert-as-service
Commit Name: 2bfe5bfcec7759ae022b1a479411aa7d1b8401f1
Time: 2019-05-06
Author: zyn2122@gmail.com
File Name: example/example7.py
Class Name:
Method Name: