-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support string in array-like predictions (#7)
Fix bug identified in #6 whereby models that returns predictions in array-like structures, containing values unsupported by `numpy.isnan` would error at runtime. Solution is to use `pandas.isnull` which has support for a broader range of types. Thanks to @1inuxoid for the PR that identified this bug!
- Loading branch information
1 parent
a3ad120
commit 52e4f6c
Showing
4 changed files
with
26 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "fastapi-mlflow" | ||
version = "0.3.1" | ||
version = "0.3.2" | ||
description = "Deploy mlflow models as JSON APIs with minimal new code." | ||
authors = ["John Harrison <[email protected]>"] | ||
readme = "README.md" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters