Skip to main content

forestfire

forestfire is a Python package for tree-based learning backed by a Rust core.

Current capabilities:

  • decision trees
  • random forests
  • gradient boosting
  • classification and regression
  • sklearn-compatible estimator wrappers
  • optimized inference runtimes
  • model introspection and export

Example:

import numpy as np

from forestfire import train

X = np.array([[0.0], [0.0], [1.0], [1.0]])
y = np.array([0.0, 0.0, 1.0, 1.0])

model = train(X, y, task="classification", tree_type="cart")
print(model.predict(X))
print(model.predict_proba(X))

Sklearn-style wrappers are also available:

from forestfire.tree import CARTClassifier
from forestfire.forest import CARTRandomForestRegressor
from forestfire.gbm import ObliviousGBMRegressor

Common missing-value markers such as None, np.nan, pandas/NumPy NaN, and polars nulls are handled automatically during training and prediction.

The source repository, documentation, and issue tracker live at:

Metadata

Release files for forestfire-ml 0.7.1

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

Source distribution (sdist)

Source distribution for forestfire-ml 0.7.1
File Size Uploaded
forestfire_ml-0.7.1.tar.gz 177.9 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for forestfire-ml 0.7.1
File
forestfire_ml-0.7.1-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
forestfire_ml-0.7.1-cp313-cp313-manylinux_2_34_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.34+ x86-64 Details
forestfire_ml-0.7.1-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
forestfire_ml-0.7.1-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
forestfire_ml-0.7.1-cp312-cp312-manylinux_2_34_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.34+ x86-64 Details
forestfire_ml-0.7.1-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details

Total release size: 11.8 MB

Release files / forestfire_ml-0.7.1.tar.gz

Download URL forestfire_ml-0.7.1.tar.gz
Size 177.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a3a048cb0c6d48bc65ea2f742a63e2e50a204333202887769cf0026424d47ae3
BLAKE2b-256 checksum
How to use checksums
a04530ce4c5775da089f99d447ea04f04c1f9dd6e2f6a3d0ca050e5debacc63b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 3, 2026.

Transparency log

Release files / forestfire_ml-0.7.1-cp313-cp313-win_amd64.whl

Download URL forestfire_ml-0.7.1-cp313-cp313-win_amd64.whl
Size 1.8 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
3cc01653d3e1b753a91bbf72024f9f531382188e4333fcc27cbe93fd9413426a
BLAKE2b-256 checksum
How to use checksums
a7eaf986e9da510e9fe8423d4bd16a503de0943e27e62da7ba42da3888c55d79
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 3, 2026.

Transparency log

Release files / forestfire_ml-0.7.1-cp313-cp313-manylinux_2_34_x86_64.whl

Download URL forestfire_ml-0.7.1-cp313-cp313-manylinux_2_34_x86_64.whl
Size 2.2 MB
Tags CPython 3.13 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
d61efa9703c5b29755790173986ce9a276b1b9c04480220277b371d443dd4084
BLAKE2b-256 checksum
How to use checksums
081bff0481e516abaf46c95802c786ac05edd2cf98c73854592ced1c36b5b1b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 3, 2026.

Transparency log

Release files / forestfire_ml-0.7.1-cp313-cp313-macosx_11_0_arm64.whl

Download URL forestfire_ml-0.7.1-cp313-cp313-macosx_11_0_arm64.whl
Size 1.8 MB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
a271e41e57f5d84242f042c70c46bed5eb513ca347114909aa297c336a69ac62
BLAKE2b-256 checksum
How to use checksums
313f78b406489f68ff7297cf22464c894a193137c2a39aef89c776625e97fd8a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 3, 2026.

Transparency log

Release files / forestfire_ml-0.7.1-cp312-cp312-win_amd64.whl

Download URL forestfire_ml-0.7.1-cp312-cp312-win_amd64.whl
Size 1.8 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
a36571c53215f066d8eb1048365394524474085986325eb6e6c181b240367517
BLAKE2b-256 checksum
How to use checksums
efd9e5b47005b92e9615acac5e794baac08016fa442c17c81353e82ca8861de2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 3, 2026.

Transparency log

Release files / forestfire_ml-0.7.1-cp312-cp312-manylinux_2_34_x86_64.whl

Download URL forestfire_ml-0.7.1-cp312-cp312-manylinux_2_34_x86_64.whl
Size 2.2 MB
Tags CPython 3.12 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
300399118b97fe9d034043b49b61c755b879eeca97aba0d46dd8c0df79a3418a
BLAKE2b-256 checksum
How to use checksums
d7d80e25673138f5de993254dd5e9dacc105d13a9ee95fdc4ba495d9559e62c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 3, 2026.

Transparency log

Release files / forestfire_ml-0.7.1-cp312-cp312-macosx_11_0_arm64.whl

Download URL forestfire_ml-0.7.1-cp312-cp312-macosx_11_0_arm64.whl
Size 1.8 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
c65425bb5989749dfaf6072d41d810635788b01c992e765f31bfd2c833a458f7
BLAKE2b-256 checksum
How to use checksums
64ab8198fd38ba359839c2a71766379f8ae72e179b382d657f8e1e5637b5bf48
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 3, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.7.1 This release

7 release files

0.7.0

7 release files

0.5.3

7 release files

0.5.2

7 release files

0.5.1

7 release files

0.5.0

7 release files

0.4.0

7 release files

0.3.0

7 release files

0.2.1

7 release files

0.2.0

7 release files

0.1.2

7 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