64285043a7dad50b9fc21a3c755ae42c3cfa411e,Orange/widgets/unsupervised/owdistances.py,DistanceRunner,run,#Any#Any#Any#Any#Any#,32
Before Change
state.set_status("Calculating...")
if metric.supports_normalization and normalized_dist:
return metric(data, axis=1 - axis, impute=True,
normalize=True)
else:
return metric(data, axis=1 - axis, impute=True)
After Change
raise InterruptException
state.set_status("Calculating...")
kwargs = {"axis": 1 - axis, "impute": True, "callback": callback}
if metric.supports_normalization and normalized_dist:
kwargs["normalize"] = True
return metric(data, **kwargs)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: biolab/orange3
Commit Name: 64285043a7dad50b9fc21a3c755ae42c3cfa411e
Time: 2019-12-06
Author: tankovesna@hotmail.com
File Name: Orange/widgets/unsupervised/owdistances.py
Class Name: DistanceRunner
Method Name: run
Project Name: victoresque/pytorch-template
Commit Name: 36093633b630d0934dae5b9abbda83d775f0e845
Time: 2018-04-18
Author: vichuang1997@gmail.com
File Name: trainer/trainer.py
Class Name: Trainer
Method Name: _valid_epoch
Project Name: victoresque/pytorch-template
Commit Name: 36093633b630d0934dae5b9abbda83d775f0e845
Time: 2018-04-18
Author: vichuang1997@gmail.com
File Name: trainer/trainer.py
Class Name: Trainer
Method Name: _train_epoch