File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
python-lib/generalized_linear_models Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## [ Version 1.0.2] - Bugfix Release - 2022-07
4+
5+ * Fixed binary classification prediction output format to fit v11 stricter format
6+
37## [ Version 1.0.1] - Bugfix Release - 2022-04
48
59* Fixed package requirement dependency issue with python 3.7 for the custom view
Original file line number Diff line number Diff line change 11{
22 "id" : " generalized-linear-models" ,
3- "version" : " 1.0.1 " ,
3+ "version" : " 1.0.2 " ,
44 "meta" : {
55 "label" : " Generalized Linear Models" ,
66 "description" : " Train and deploy Generalized Linear Models" ,
Original file line number Diff line number Diff line change @@ -291,9 +291,8 @@ def predict(self, X):
291291 Returns the binary target
292292 """
293293 y_pred = self .predict_target (X )
294- y_pred_final = y_pred .reshape ((len (y_pred ), - 1 ))
295294
296- return y_pred_final > 0.5
295+ return y_pred > 0.5
297296
298297 def predict_proba (self , X ):
299298 """
You can’t perform that action at this time.
0 commit comments