Skip to content

Commit

Permalink
#3198: dataset.py, 'humanize_data' on 'data'
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff1evesque committed Feb 3, 2018
1 parent ba8f682 commit 91787ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions brain/validator/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def validate_classification(self, data):
schema(data)

except Exception, error:
self.list_error.append(humanize_error(premodel_settings, error))
self.list_error.append(humanize_error(data, error))
return error

return False
Expand All @@ -72,7 +72,7 @@ def validate_regression(self, data):
schema(data)

except Exception, error:
self.list_error.append(humanize_error(premodel_settings, error))
self.list_error.append(humanize_error(data, error))
return error

return False
Expand All @@ -88,7 +88,7 @@ def validate_value(self, data):
return float(data)

except Exception, error:
self.list_error.append(humanize_error(premodel_settings, error))
self.list_error.append(error)
return error

def get_errors(self):
Expand Down

0 comments on commit 91787ee

Please sign in to comment.