Predipy
ML lib Python + Go.
Setup
- Go: cd go_backend && go mod tidy && go build -o main main.go
- 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)
| File | Size | Uploaded | |
|---|---|---|---|
| predipy-0.2.0.tar.gz | 8.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|