ba2173ed970b62da786a8f8628470272b6abc1b9,components/outlier-detection/mahalanobis/OutlierMahalanobis.py,OutlierMahalanobis,send_feedback,#OutlierMahalanobis#Any#Any#Any#Any#,132

Before Change


            metric.append(np.asscalar(np.asarray(c)))
        self.metric = metric
            
        return
    
    
    def metrics(self):
         Return custom metrics.

After Change


            reward (float): the reward
            truth : array with correct value (optional)
        
        _ = super().send_feedback(X,feature_names,reward,truth)
        
        // historical reconstruction errors and predictions
        self._scores.append(self.score)
        self._scores = flatten(self._scores)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: SeldonIO/seldon-core
Commit Name: ba2173ed970b62da786a8f8628470272b6abc1b9
Time: 2019-02-01
Author: avl@seldon.io
File Name: components/outlier-detection/mahalanobis/OutlierMahalanobis.py
Class Name: OutlierMahalanobis
Method Name: send_feedback


Project Name: SeldonIO/seldon-core
Commit Name: ba2173ed970b62da786a8f8628470272b6abc1b9
Time: 2019-02-01
Author: avl@seldon.io
File Name: components/outlier-detection/isolation-forest/OutlierIsolationForest.py
Class Name: OutlierIsolationForest
Method Name: send_feedback


Project Name: SeldonIO/seldon-core
Commit Name: ba2173ed970b62da786a8f8628470272b6abc1b9
Time: 2019-02-01
Author: avl@seldon.io
File Name: components/outlier-detection/vae/OutlierVAE.py
Class Name: OutlierVAE
Method Name: send_feedback


Project Name: SeldonIO/seldon-core
Commit Name: ba2173ed970b62da786a8f8628470272b6abc1b9
Time: 2019-02-01
Author: avl@seldon.io
File Name: components/outlier-detection/seq2seq-lstm/OutlierSeq2SeqLSTM.py
Class Name: OutlierSeq2SeqLSTM
Method Name: send_feedback