Skip to main content

Model building and model scoring library

Project description

gators

PyPI build codecov Python Version GitHub code style: black imports: isort

Documentation | Installation


Gators is an in-house machine learning library developed by the Simility Data Team. While data pre-processing and machine learning models are developed in Python, the pre-processing aspect is replaced by faster compiled programming languages in the production environment. This change of programming language is an added complexity to the model deployment process but is required to cope with the large number of queries per second that can be observed.

The goal of Gators is to be able to manage both model building and model serving using only Python, a language that data scientists are generally familiar with. Gators is built on top of Pandas, Koalas, NumPy and Cython. Pandas and Koalas are used for the offline model building, while NumPy and Cython are used to speed-up the model predictions in real-time. Gators was originally built for fraud modelling but can be generalized to other modelling domains.

Gators helps to streamline the model building and productionization processes. The model building part is done using the Pandas library for datasets held in memory, or Koalas for big data. On the model serving side, the pre-processing is carried out directly with Python, using NumPy and Cython. As a result, the speed-up using both NumPy and Cython for pre-processing is around x100 compared to standard Python code. Moreover, the per-sample response time becomes similar to other compiled languages (microsecond scale).

In summary, Gators is a package to handle model building with big data and fast real-time pre-processing, even for a large number of QPS, using only Python.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

gators-0.3.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.12+ x86-64 manylinux: glibc 2.5+ x86-64

gators-0.3.3-cp310-cp310-macosx_10_9_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

gators-0.3.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.12+ x86-64 manylinux: glibc 2.5+ x86-64

gators-0.3.3-cp39-cp39-macosx_10_9_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

gators-0.3.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (4.5 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64 manylinux: glibc 2.5+ x86-64

gators-0.3.3-cp38-cp38-macosx_10_9_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

gators-0.3.3-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.12+ x86-64 manylinux: glibc 2.5+ x86-64

gators-0.3.3-cp37-cp37m-macosx_10_9_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

gators-0.3.3-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.6m manylinux: glibc 2.12+ x86-64 manylinux: glibc 2.5+ x86-64

gators-0.3.3-cp36-cp36m-macosx_10_9_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.6m macOS 10.9+ x86-64

File details

Details for the file gators-0.3.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for gators-0.3.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 a8631e8f0658bc1e00ae1a4402479f36721cdee93948e27b140763f6fea505e2
MD5 d6743c0b06081fbc5ccbf5b7efe23f78
BLAKE2b-256 b2c9af9d41a5fddd42ebb2a3c35de94f85ae9eae157eeda3bca7d30bd6717bd5

See more details on using hashes here.

File details

Details for the file gators-0.3.3-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for gators-0.3.3-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 bf8f696f97cfa6c509b11edb3c2f2234d64c5a0a28bcbc26c5575af74cbca83d
MD5 474e579137a6cd0b17c0ac109058cd2d
BLAKE2b-256 0cf5ba3a57fb8c523f50cc11e6b8f42b252b1d356ad234a5576dae7c3fd237c5

See more details on using hashes here.

File details

Details for the file gators-0.3.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for gators-0.3.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 410825fbef2d54a22849bb81ca9dbb8eb49e0a1caa88d1dc54aa78c4dfbb03aa
MD5 d3b59c36487c776dbc99c14814723ce5
BLAKE2b-256 5edaaaefb2b05bcfa3bcd6c571712c6d5517ebe67b59cdf39dd72ee48f5e1689

See more details on using hashes here.

File details

Details for the file gators-0.3.3-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for gators-0.3.3-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 22acd01e7683c0a2be80141282e0f8c32cf00e148d3357254b7dddf0b428c7d9
MD5 715a44039b8fe070b9ba69358d448134
BLAKE2b-256 298dff9cdd521947084e992937245ba782fdf744a75a04f45fb91860442d43e3

See more details on using hashes here.

File details

Details for the file gators-0.3.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for gators-0.3.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 f9bff10c14e86c91911a2b7eff6048f130df6335dd89304a3c245343eeb3b126
MD5 d226ad9ee2c570fbc57507d65fe01d27
BLAKE2b-256 762466b6c0a412c8a74be44db6c1ec18319dbe330876be25d79262a59dcb246b

See more details on using hashes here.

File details

Details for the file gators-0.3.3-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for gators-0.3.3-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 9b4f97037c55c54e0c6624e774543d35c4d868cb84709f827400b18450087c8a
MD5 1ce8ed5d888fa1ffba515482d444f30c
BLAKE2b-256 25a450ad2ccf47314a68f93b7d18cd9b25bcd550ccf550a92def76b265fecde4

See more details on using hashes here.

File details

Details for the file gators-0.3.3-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for gators-0.3.3-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 f8397c076dffc474ce6c5b65083b7c223980116991f6dd81dac3c9c220f80991
MD5 ff0146c632f0722974e5ffdbab0816e0
BLAKE2b-256 39a8980288aa2916b1384a01d4b7962d0457ec8e0e97c7b93748a909bfde5f0e

See more details on using hashes here.

File details

Details for the file gators-0.3.3-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for gators-0.3.3-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 bc5e6b6b8fbade8cdfc27c14e4081230e252f9fd081d622d2a15c6375c3ddeea
MD5 b514ccbc54ba190ea40c952f3921ef0f
BLAKE2b-256 3cecb6a7c6cb9bed5053650ef593dc3bdbd572419a3b1c14ae830d51ba154dec

See more details on using hashes here.

File details

Details for the file gators-0.3.3-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for gators-0.3.3-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 80f953026ab6a0f46d2cf454808fd8b034607da658a86dad5c13f30189ee2eb0
MD5 730370bd8a6387aa1bbbeb49dfe00385
BLAKE2b-256 66b6b399af7a4efb80e8e5fc769f573d0cd2f36f68476be5dc9cc9f7fdfc1c5c

See more details on using hashes here.

File details

Details for the file gators-0.3.3-cp36-cp36m-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for gators-0.3.3-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 cfdb64b1979b91b2f5b9532d19177cc32dd7a13cfb51f5c6f8141e6e66fddac2
MD5 4d177592e6c0d91a30073b0fc28e6a1b
BLAKE2b-256 7c3c313da0cb91f94b76b06b978d706f5823dd05b1c02d9ff5b1f2517a572085

See more details on using hashes here.

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