84cd78bfa60bff9526c1010cd55cea61e9567d7f,pyod/models/sod.py,SOD,_snn,#SOD#Any#,148
Before Change
for i in range(ind.shape[0]):
temp = np.sum(np.isin(ind, ind[i]), axis=1).ravel()
temp[i] = np.iinfo(np.uint16).max
_count[i] = np.argsort(temp)[::-1][1:self.ref_set_ + 1]
return _count
def _sod(self, X):
After Change
knn.fit(X)
// Get the knn index
ind = knn.kneighbors(return_distance=False)
return _snn_imp(ind, self.ref_set_)
def _sod(self, X):
This function is called internally to perform subspace outlier
detection algorithm.
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances Project Name: yzhao062/pyod
Commit Name: 84cd78bfa60bff9526c1010cd55cea61e9567d7f
Time: 2019-10-15
Author: yalmardeny@tssg,org
File Name: pyod/models/sod.py
Class Name: SOD
Method Name: _snn
Project Name: yzhao062/pyod
Commit Name: d9a3e2e8d7d879223613c25995907518ff1f245c
Time: 2019-06-18
Author: yalmardeny@tssg,org
File Name: pyod/models/sod.py
Class Name: SOD
Method Name: _snn
Project Name: osmr/imgclsmob
Commit Name: c4cd2e52f40063773ff239d4781479c19b18128b
Time: 2019-08-12
Author: osemery@gmail.com
File Name: pytorch/metrics/ret_metrics.py
Class Name: PointDetectionMeanResidual
Method Name: filter_best_points