Skip to content

Commit

Permalink
Merge pull request #9 from 4n4nd/master
Browse files Browse the repository at this point in the history
raising `NotImplementedError` instead of `NotImplemented`
  • Loading branch information
xing-yang authored Jul 27, 2019
2 parents 2725ae6 + 07c3ee7 commit 3871176
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions anomaly_detection/ml/algorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

class DataSet(object):
def get(self, offset=0, limit=1000):
raise NotImplemented
raise NotImplementedError


class CSVDataSet(DataSet):
Expand Down Expand Up @@ -59,13 +59,13 @@ def __init__(self, *args, **kwargs):
self.dataset = CSVDataSet(CONF.training.dataset_csv_file_name)

def create_training(self, training):
raise NotImplemented
raise NotImplementedError

def get_training_figure(self, training):
raise NotImplemented
raise NotImplementedError

def prediction(self, training, dataset):
raise NotImplemented
raise NotImplementedError

def get_prediction_figure(self, training, dataset):
raise NotImplemented
raise NotImplementedError

0 comments on commit 3871176

Please sign in to comment.