I am interested in adding Jupyter Notebooks to the "Deploying External Models with Python UDF" directory that show how to use the Db2 REST endpoint to create and execute a REST service to execute the linear regression that the other notebook in this directory creates. Using a REST service allows applications that need to call a ML model to do so without importing any Db2 libraries or even connecting directly to a database. I have developed three notebooks that show this and have attached them here in a zip file. They need to be cleaned up to before adding, but I wanted to see if you would accept this sort of example. Here are brief descriptions of the notebooks:
- Db2 RESTful External Py UDF.ipynb – Creates the REST Services and executes them.
- Db2 RESTful Prep.ipynb – Shows the grants and other database prep for creating and executing the procedures
- Db2 RESTful Endpoint Get Token Notebook.ipynb – Called by the Db2 RESTful External Py UDF.ipynb notebook to provide tokens needed to authenticate to the REST Endpoint.
Please let me know if this can be contributed.
Notebooks.zip
I am interested in adding Jupyter Notebooks to the "Deploying External Models with Python UDF" directory that show how to use the Db2 REST endpoint to create and execute a REST service to execute the linear regression that the other notebook in this directory creates. Using a REST service allows applications that need to call a ML model to do so without importing any Db2 libraries or even connecting directly to a database. I have developed three notebooks that show this and have attached them here in a zip file. They need to be cleaned up to before adding, but I wanted to see if you would accept this sort of example. Here are brief descriptions of the notebooks:
Please let me know if this can be contributed.
Notebooks.zip