d98cca01e2d3a6f3ee4af50b0528777320e0f455,dit/utils/testing.py,,distributions,#,25

Before Change


    except TypeError:
        alphabets = ((2, 2),)*alphabets

    alphabets = tuple(tuple(map(int, alpha)) for alpha in alphabets)

    alphabets = [draw(integers(*alpha)) for alpha in alphabets]

    pmf = draw(arrays(np.float, shape=alphabets, elements=floats(0, 1)))

After Change


    except TypeError:
        alphabets = ((2, 2),)*alphabets

    alphabets = [int(draw(integers(*alpha))) for alpha in alphabets]

    pmf = draw(arrays(np.float, shape=alphabets, elements=floats(0, 1)))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: dit/dit
Commit Name: d98cca01e2d3a6f3ee4af50b0528777320e0f455
Time: 2018-12-21
Author: ryangregoryjames@gmail.com
File Name: dit/utils/testing.py
Class Name:
Method Name: distributions


Project Name: dit/dit
Commit Name: d98cca01e2d3a6f3ee4af50b0528777320e0f455
Time: 2018-12-21
Author: ryangregoryjames@gmail.com
File Name: dit/utils/testing.py
Class Name:
Method Name: markov_chains


Project Name: dit/dit
Commit Name: d98cca01e2d3a6f3ee4af50b0528777320e0f455
Time: 2018-12-21
Author: ryangregoryjames@gmail.com
File Name: dit/utils/testing.py
Class Name:
Method Name: distribution_structures