Oracle Machine Learning for Python Architecture for Oracle Database

Oracle Machine Learning for Python has a client server architecture based on Oracle Database and Oracle Client.

This diagram depicts the client server architecture of Oracle Machine Learning for Python.

Figure - OML4Py Client Server Architecture



The client and the server communication can take place through an OML4Py SQL API. For example, SQL Developer. It can also be a configured OML4Py Python client.

The OML4Py engines spawned from the database are Python contained inside an external procedure managed by the Oracle Database. The external procedure is a C program called by the database. It acts as a bridge to trigger the Python engine and return the results back to the database.