We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10c66ff commit b504fd9Copy full SHA for b504fd9
src/sasctl/pzmm/write_score_code.py
@@ -1018,8 +1018,9 @@ def _binary_target(
1018
"score code should output the classification and probability for "
1019
"the target event to occur."
1020
)
1021
- cls.score_code += f"{'':4}return prediction[1][0], " \
1022
- f"float(prediction[1][2])"
+ cls.score_code += (
+ f"{'':4}return prediction[1][0], " f"float(prediction[1][2])"
1023
+ )
1024
# Calculate the classification; return the classification and probability
1025
elif sum(returns) == 0 and len(returns) == 1:
1026
warn(
0 commit comments