aboutsummaryrefslogtreecommitdiffstats
path: root/snips_inference_agl/intent_classifier/log_reg_classifier.py
diff options
context:
space:
mode:
Diffstat (limited to 'snips_inference_agl/intent_classifier/log_reg_classifier.py')
-rw-r--r--snips_inference_agl/intent_classifier/log_reg_classifier.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/snips_inference_agl/intent_classifier/log_reg_classifier.py b/snips_inference_agl/intent_classifier/log_reg_classifier.py
index 09e537c..f9322be 100644
--- a/snips_inference_agl/intent_classifier/log_reg_classifier.py
+++ b/snips_inference_agl/intent_classifier/log_reg_classifier.py
@@ -119,7 +119,7 @@ class LogRegIntentClassifier(IntentClassifier):
def _predict_proba(self, X): # pylint: disable=C0103
import numpy as np
- self.classifier._check_proba() # pylint: disable=W0212
+ # self.classifier._check_proba() # pylint: disable=W0212
prob = self.classifier.decision_function(X)
prob *= -1