d98cca01e2d3a6f3ee4af50b0528777320e0f455,dit/utils/testing.py,,distributions,#Any#Any#Any#,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)))
assume(pmf.sum() > 0)
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)))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
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: sentinel-hub/eo-learn
Commit Name: 084d3cb097d1eacea365bf0612ce11928ad22414
Time: 2019-11-29
Author: matic.lubej@sinergise.com
File Name: core/eolearn/core/eodata.py
Class Name: EOPatch
Method Name: save_aws