469a2a2f2fafa0ded8984f21587021cd044b7200,skmultiflow/classification/lazy/neighbours/distances.py,,,#,69
Before Change
distance_array = [10, 20, 32000, 12312, 0]
kwargs = {"categorical_list": cat_list, "distance_array": distance_array}
dist = custom_distance(inst1, inst2, **kwargs)
print(str(dist))
After Change
inst1 = [6, 1, 3, 9, 9]
inst2 = [8, 2, 2, 9, 13]
print(str(euclidean_distance(np.asarray(inst1), np.asarray(inst2))))
print(str(np.linalg.norm(np.asarray(inst1)-np.asarray(inst2))))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: scikit-multiflow/scikit-multiflow
Commit Name: 469a2a2f2fafa0ded8984f21587021cd044b7200
Time: 2017-08-02
Author: guilhermekmatsumoto@gmail.com
File Name: skmultiflow/classification/lazy/neighbours/distances.py
Class Name:
Method Name:
Project Name: prody/ProDy
Commit Name: e21de7aef76eeb5dd0f8b9c63806afdd986a107a
Time: 2018-04-21
Author: shz66@pitt.edu
File Name: prody/ensemble/functions.py
Class Name:
Method Name: loadEnsemble
Project Name: prody/ProDy
Commit Name: b4f7d820b0f50714c235b38f9aedcb4e56bcdf45
Time: 2018-04-24
Author: shz66@pitt.edu
File Name: prody/dynamics/functions.py
Class Name:
Method Name: loadModel