Skip to main content

Functional machine learning

Project description

fklearn: Functional Machine Learning

PyPI Documentation Status Gitter Tests License

fklearn uses functional programming principles to make it easier to solve real problems with Machine Learning.

The name is a reference to the widely known scikit-learn library.

fklearn Principles

  1. Validation should reflect real-life situations.
  2. Production models should match validated models.
  3. Models should be production-ready with few extra steps.
  4. Reproducibility and in-depth analysis of model results should be easy to achieve.

Documentation | Getting Started | API Docs | Contributing |

Installation

To install via pip:

pip install fklearn

To install with optional dependencies:

pip install fklearn[lgbm]       # LightGBM support
pip install fklearn[xgboost]    # XGBoost support
pip install fklearn[catboost]   # CatBoost support
pip install fklearn[all_models] # All model backends
pip install fklearn[all]        # All models + tools

Development with UV

Setup

uv sync --extra devel

Running Tests

uv run pytest --cov=src/

Linting

uv run ruff check src/ tests/
uv run ruff format src/ tests/

Adding Dependencies

uv add <package-name>          # runtime dependency
uv add --dev <package-name>    # dev dependency

License

Apache License 2.0

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

fklearn-4.1.0.tar.gz (207.3 kB view details)

Uploaded Source

Built Distribution

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

fklearn-4.1.0-py3-none-any.whl (82.1 kB view details)

Uploaded Python 3

File details

Details for the file fklearn-4.1.0.tar.gz.

File metadata

  • Download URL: fklearn-4.1.0.tar.gz
  • Upload date:
  • Size: 207.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for fklearn-4.1.0.tar.gz
Algorithm Hash digest
SHA256 81ef19cf5d56552293dc17dde4fc0f24412eff34ff79d6b53cf86c061fa8b573
MD5 caa2216e5bcd7f3f583eeb37e02ac36e
BLAKE2b-256 a310697e624835011c68572498ebe92ca01e8827ab91f0fc472df2ac5a89c1f4

See more details on using hashes here.

File details

Details for the file fklearn-4.1.0-py3-none-any.whl.

File metadata

  • Download URL: fklearn-4.1.0-py3-none-any.whl
  • Upload date:
  • Size: 82.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for fklearn-4.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e202322606ea2d8d60589d993fbe7e1c5af36422c1acda48902d8100855116f8
MD5 670f731ae7c4691dbe001b08f7718184
BLAKE2b-256 07a2524f9b1556334d9bcad5ad743346ff8d5e271a227aa06c2f7cd34c630af2

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