Skip to content

Commit 7ced3f6

Browse files
committed
fix: score code generation creates score() not predict()
1 parent e74510a commit 7ced3f6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/register_scikit_classification_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@
3636
x = X.iloc[0, :]
3737

3838
# Call the published module and score the record
39-
result = module.predict(x)
39+
result = module.score(x)
4040
print(result)

examples/register_scikit_regression_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,5 @@
3737
x = X.iloc[0, :]
3838

3939
# Call the published module and score the record
40-
result = module.predict(x)
40+
result = module.score(x)
4141
print(result)

0 commit comments

Comments
 (0)