Description
In this article I am going to show how to built a simple model server application using pypmml, os.stat module and Flask. The main serving format will be pmml but it can be extended other formats…
Summary
- In this article I am going to show how to built a simple model server application using pypmml, os.stat module and Flask.
- If the model class changes with next library version, you will not be able to unpickle models with never version.
- Above code is a util module that contains model loading function.
- In wrapper function, you can access the the caller object (Wrapper class in this case) reference (self) which uses the decorator.