Skip to main content

Simple machine learning in PostgreSQL.

Project description

PgML Extension - Postgres Machine Learning

This package implements data processing, training and scoring of ML models inside Postgres from PL/Python functions. It is dependent on the internal to Postgres plpy connection and data access methods, so can only be used via a Postgres connection through the APIs exposed as native Postgres functions.


Postgres requires that this package is installed into the system Python packages space:

To install from pypi:

sudo pip3 install pgml-extension

To install from a clone of the repository:

sudo python3 install


See sql/install.sql for list of functions exposed through SQL. This package is not meant to be used directly.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pgml-extension-1.0.1.tar.gz (24.4 kB view hashes)

Uploaded source

Built Distribution

pgml_extension-1.0.1-py3-none-any.whl (27.3 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page