openedx-unsupported / ease

EASE (Enhanced AI Scoring Engine) is a library that allows for machine learning based classification of textual content. This is useful for tasks such as scoring student essays.
GNU Affero General Public License v3.0
216 stars 96 forks source link

Change error logging for an error we're suppressing to debug logging #54

Closed wedaly closed 10 years ago

wedaly commented 10 years ago

@stephensanchez This really scary error message was showing up in the worker logs while I was testing. However, it looks like the error occurs when running cross-validation, so even if this exception occurs, the classifiers will still be trained successfully. EASE seems to be swallowing the exception, but logging it as an error, so I've downgraded the logging to a debug statement.

wedaly commented 10 years ago

@singingwolfboy Updated the debug logger to print the exception.

I agree that it's scary, but this is in the part of the code that calculates cross-validation scores, which we're not using. As long as the classifier training completes successfully, we should be okay.

stephensanchez commented 10 years ago

:+1: