diff options
author | Anuj Solanki <anuj603362@gmail.com> | 2024-10-07 02:04:00 +0530 |
---|---|---|
committer | Anuj Solanki <anuj603362@gmail.com> | 2024-10-07 02:07:52 +0530 |
commit | 6eee72109470897ce1e5446b2b6a0a5e579e942a (patch) | |
tree | fd299dc14585d53014b021311e044597162384ce /snips_inference_agl | |
parent | dd2d69237bb93e00e1a4a0678a45579ee1b9b7e3 (diff) |
- Removed self.classifier._check_proba() to avoid AttributeError
for loss='log'.
- Updated versions of scipy, numpy, and scikit-learn.
Bug-AGL: SPEC-5200
Change-Id: I28b788b1c10f5c64ec8984b79073904f5be6f6a4
Signed-off-by: Anuj Solanki <anuj603362@gmail.com>
Diffstat (limited to 'snips_inference_agl')
-rw-r--r-- | snips_inference_agl/intent_classifier/log_reg_classifier.py | 2 |
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 |