Skip to main content

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

Metadata

Release files for predipy 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for predipy 0.2.0
File Size Uploaded
predipy-0.2.0.tar.gz 8.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for predipy 0.2.0
File Interpreter ABI Platform
predipy-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 19.0 kB

Release files / predipy-0.2.0.tar.gz

Download URL predipy-0.2.0.tar.gz
Size 8.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c97628d95805613e36abd06d2afe248cb954ab062bd973f0f84dae80be3de64c
BLAKE2b-256 checksum
How to use checksums
6b69475f1938bf3edd28ca941853c84749632cf3a29caea88f4a77a2c2932b04
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.12.12

Release files / predipy-0.2.0-py3-none-any.whl

Download URL predipy-0.2.0-py3-none-any.whl
Size 10.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0ac1ffaf98c232f651a7d8656236487cac7a11574badd7c4d09ef1170233680e
BLAKE2b-256 checksum
How to use checksums
00b23f1951be08092cbd934962313631283c77b583b992dd07b9753beae25bec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.12.12

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.9

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page