671f7a66931d57f4d9886f48f3c1b076718a2b64,pyntcloud/ransac/ransac.py,,ransac,#Any#Any#Any#Any#Any#Any#Any#,10
Before Change
n_best_inliers = 0
for i in range(max_iterations):
k_points = points[ np.random.randint(len(points), size=model.k) ]
if not model.are_valid(k_points):
continue
model.fit(k_points)
After Change
model = model(**model_kwargs)
sampler = sampler(points, model.k, **sampler_kwargs)
n_best_inliers = 0
for i in range(max_iterations):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: daavoo/pyntcloud
Commit Name: 671f7a66931d57f4d9886f48f3c1b076718a2b64
Time: 2017-03-06
Author: daviddelaiglesiacastro@gmail.com
File Name: pyntcloud/ransac/ransac.py
Class Name:
Method Name: ransac
Project Name: dpressel/mead-baseline
Commit Name: 7da9bf6e3f5ed3dcd6f3adc6cf674e11c307741e
Time: 2020-04-22
Author: dpressel@gmail.com
File Name: baseline/tf/tagger/model.py
Class Name: TaggerModelBase
Method Name: create
Project Name: dpressel/mead-baseline
Commit Name: 3d9e51d5034e89bcec3a04eff3e646c70b45edb2
Time: 2017-03-16
Author: dpressel@gmail.com
File Name: classify/python/tf/train.py
Class Name: Trainer
Method Name: train