bf9728d1efd93651a679403d5af598ac8137ae48,engine/uniform_sampler.py,,rand_spatial_coordinates,#Any#Any#Any#Any#,12
Before Change
// Please see grid_sampler.py generate_grid_coordinates() for more info
grid_spatial_rank = int(np.floor(spatial_rank))
full_spatial_rank = int(np.ceil(spatial_rank))
assert np.all([d >= win_size for d in img_size[:grid_spatial_rank]])
// consisting of starting and ending coordinates
all_coords = np.zeros((n_samples, int(spatial_rank*2.0)), dtype=np.int)
After Change
// Please see grid_sampler.py generate_grid_coordinates() for more info
grid_spatial_rank = int(np.floor(spatial_rank))
full_spatial_rank = int(np.ceil(spatial_rank))
if not np.all([d >= win_size for d in img_size[:grid_spatial_rank]]):
raise ValueError("Window size larger than the input image dims"
" (please make sure that image dims after "
"random spatial scaling are still larger than window"
" size)")
// consisting of starting and ending coordinates
all_coords = np.zeros((n_samples, int(spatial_rank*2.0)), dtype=np.int)
for i in range(0, grid_spatial_rank):
all_coords[:, i] = np.random.randint(
In pattern: SUPERPATTERN
Frequency: 15
Non-data size: 6
Instances Project Name: NifTK/NiftyNet
Commit Name: bf9728d1efd93651a679403d5af598ac8137ae48
Time: 2017-06-09
Author: wenqi.li@ucl.ac.uk
File Name: engine/uniform_sampler.py
Class Name:
Method Name: rand_spatial_coordinates
Project Name: geomstats/geomstats
Commit Name: df2178f286b9e23f216f1b138410ba259cd524bc
Time: 2020-04-21
Author: ninamio78@gmail.com
File Name: geomstats/visualization.py
Class Name: PoincareHalfPlane
Method Name: add_points
Project Name: ericmjl/pyjanitor
Commit Name: 9ece937bd1bc63542f6a00a8b2229178b9bd0087
Time: 2019-05-07
Author: david.frazzetto@gmail.com
File Name: janitor/io.py
Class Name:
Method Name: read_csvs
Project Name: geomstats/geomstats
Commit Name: df2178f286b9e23f216f1b138410ba259cd524bc
Time: 2020-04-21
Author: ninamio78@gmail.com
File Name: geomstats/visualization.py
Class Name: Circle
Method Name: add_points
Project Name: geomstats/geomstats
Commit Name: 9d904a5decc84619e47a1d6b2bc030ae70dd7b32
Time: 2020-04-09
Author: ninamio78@gmail.com
File Name: geomstats/geometry/hypersphere.py
Class Name: Hypersphere
Method Name: spherical_to_extrinsic
Project Name: geomstats/geomstats
Commit Name: df2178f286b9e23f216f1b138410ba259cd524bc
Time: 2020-04-21
Author: ninamio78@gmail.com
File Name: geomstats/visualization.py
Class Name: PoincareDisk
Method Name: add_points
Project Name: scipy/scipy
Commit Name: db1b018af7e3b9430717355ac05c81417afcc3ae
Time: 2011-06-04
Author: ralf.gommers@googlemail.com
File Name: scipy/interpolate/rbf.py
Class Name: Rbf
Method Name: __init__
Project Name: albu/albumentations
Commit Name: e5964e1c30a976ab6e715a22f6d9ffa3549e47d2
Time: 2019-10-23
Author: maruschin@gmail.com
File Name: albumentations/augmentations/bbox_utils.py
Class Name:
Method Name: convert_bbox_to_albumentations
Project Name: Kamnitsask/deepmedic
Commit Name: 0afbb0e627f2c70c264656ca211413659b871af0
Time: 2019-10-20
Author: konstantinos.kamnitsas12@imperial.ac.uk
File Name: deepmedic/dataManagement/sampling.py
Class Name:
Method Name: load_imgs_of_subject
Project Name: geomstats/geomstats
Commit Name: df2178f286b9e23f216f1b138410ba259cd524bc
Time: 2020-04-21
Author: ninamio78@gmail.com
File Name: geomstats/visualization.py
Class Name: Sphere
Method Name: add_points
Project Name: geomstats/geomstats
Commit Name: 282f14c210f776bc3d103cc597583b430517e1d4
Time: 2020-04-14
Author: ninamio78@gmail.com
File Name: geomstats/geometry/spd_matrices.py
Class Name: SPDMatrices
Method Name: vector_from_symmetric_matrix
Project Name: scipy/scipy
Commit Name: db1b018af7e3b9430717355ac05c81417afcc3ae
Time: 2011-06-04
Author: ralf.gommers@googlemail.com
File Name: scipy/interpolate/rbf.py
Class Name: Rbf
Method Name: __call__
Project Name: geomstats/geomstats
Commit Name: df2178f286b9e23f216f1b138410ba259cd524bc
Time: 2020-04-21
Author: ninamio78@gmail.com
File Name: geomstats/visualization.py
Class Name: KleinDisk
Method Name: add_points
Project Name: SheffieldML/GPy
Commit Name: a9d555597653c24bc67812776514e29066216d66
Time: 2013-03-19
Author: alan.daniel.saul@gmail.com
File Name: python/likelihoods/Laplace.py
Class Name: Laplace
Method Name: fit_full
Project Name: geomstats/geomstats
Commit Name: 9d904a5decc84619e47a1d6b2bc030ae70dd7b32
Time: 2020-04-09
Author: ninamio78@gmail.com
File Name: geomstats/geometry/hypersphere.py
Class Name: Hypersphere
Method Name: regularize