Skip to main content

Lightweight Python library for prediction & regression

Project description

Predipy

ML lib Python + Go.

Setup

  1. Go: cd go_backend && go mod tidy && go build -o main main.go
  2. Python: pip install -e .

Run Example

python examples/example_regression.py

Test

pytest tests/

Predipy

Predipy is a lightweight Python ML library with a Go backend for fast regression and KNN classification.
It supports linear regression and K-Nearest Neighbors (KNN) for regression & classification.


Features

  • Linear regression with normal equation + optional ridge regularization.
  • KNN classification with Euclidean distance.
  • Lightweight, fast, and works offline.
  • Go backend for computational efficiency.
  • Easy Python interface.

Installation

Install from PyPI:

pip install predipy

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

predipy-0.1.9.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

predipy-0.1.9-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file predipy-0.1.9.tar.gz.

File metadata

  • Download URL: predipy-0.1.9.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.12.12

File hashes

Hashes for predipy-0.1.9.tar.gz
Algorithm Hash digest
SHA256 a817004bea13e961fd40fb9ca3e9c64393e4b30f9831591db34682dcc884949b
MD5 3646bb936ec45d0c00b933fd06c7226e
BLAKE2b-256 1ce77fe2d50f51a85962eb0efc798d1925e70dee3a756e6f93d1cdd028b9d5ad

See more details on using hashes here.

File details

Details for the file predipy-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: predipy-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.12.12

File hashes

Hashes for predipy-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 8736bf645332eb25fd71c8ef7c9ed9fb5b7deb33a6c136a00581969133761753
MD5 6be8b25c5e967687b2a74be05f82c45e
BLAKE2b-256 360fc8ecfa8d45441c7329070f0af655d8b11ad973964ad5936e0158297f45be

See more details on using hashes here.

Supported by

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