All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Support strings for predictions in array-like structures
- Assume that prediction output field(s) may be nullable. It's not uncommon to want ML models to return null or nan values at inference time (e.g. extrapolation outside of training data range).
- Coerce nan values in output to null in JSON
- Support for multiple model outputs by handling
PyFuncModel
s that returnpandas.Series
orpandas.DataFrame
- Explicitly cast DataFrame column types before applying model to handle downcast of 32-bit integers.
- Return an object in JSON APIs, rather than arrays of objects. This provides better interoperability with JVM based clients using the popular Jackson object mapper.
- Unpin FastAPI dependency to benefit from future upgrades
- Explicit license and Copyright statement
- Link to repository in package metadata
- Improved documentation in the README for public release
- Typing annotations, checked with mypy
- Basic functionality to build a predictor callable and an app