xlearn icon indicating copy to clipboard operation
xlearn copied to clipboard

Support to take Python object directly for scoring

Open yueguoguo opened this issue 5 years ago • 0 comments

If I did not miss anything, currently, the scoring operation of a model takes a txt file. It would be great that the model can directly take a Python object like pandas dataframe, numpy array, or dict, which can make the model object more useful for scoring.

Imaging a scenario where a query is made to use the model to score a given input, one needs to convert it to an txt file before the scoring can happen. This will induce overhead.

yueguoguo avatar Jun 26 '19 08:06 yueguoguo