forked from mlflow/mlflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Numpy array conversion in pyfunc scoring server (mlflow#1479)
* numpy conversion * added conversion from split and records to numpy array in pyfunc * formatting fix * formatting fix * remove unused imports * remove decode utf-8 * change the name of some tests * keep ordereddict for python2.7 * using ordereddict in tests * revert two lines of existing pandas variables * wrap numpy in pandas to be consistent with other conversion apis * remove comments... * include columns in records orient * remove dtype setting in numpy * format minor fix in tests * remove records oriented support * use infer object to convert pd dataframe to the correct data type * fix format * mistakenly removed 1 test, adding it back
- Loading branch information
1 parent
cebc16b
commit bc374f6
Showing
2 changed files
with
71 additions
and
4 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