Lightweight Python library for prediction & regression
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file predipy-0.2.0.tar.gz.
File metadata
- Download URL: predipy-0.2.0.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c97628d95805613e36abd06d2afe248cb954ab062bd973f0f84dae80be3de64c
|
|
| MD5 |
f95b594b53291484283a1012ebed7da9
|
|
| BLAKE2b-256 |
6b69475f1938bf3edd28ca941853c84749632cf3a29caea88f4a77a2c2932b04
|
File details
Details for the file predipy-0.2.0-py3-none-any.whl.
File metadata
- Download URL: predipy-0.2.0-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ac1ffaf98c232f651a7d8656236487cac7a11574badd7c4d09ef1170233680e
|
|
| MD5 |
a3e90edfd2a215462c6c6e0c06811266
|
|
| BLAKE2b-256 |
00b23f1951be08092cbd934962313631283c77b583b992dd07b9753beae25bec
|