Skip to main content

RFX-Fuse: Breiman and Cutler's Unified ML Engine with GPU Acceleration

Project description

RFX-Fuse: Breiman and Cutler's Unified ML Engine

PyPI License: MIT

RFX-Fuse delivers classification, regression, unsupervised learning, similarity search, explainability, and outlier detection from a single model.

Installation

pip install rfx-fuse

Prerequisites: CMake 3.12+, Python 3.9+, C++17 compiler, CUDA 12.8+

Quick Example

import RFXFuse as rfx

clf = rfx.RandomForestClassifier(
    ntree=500,
    use_gpu=True,
    compute_importance=True,
    compute_proximity=True
)
clf.fit(X, y)

# OOB error (no separate test set needed)
oob_error = clf.get_oob_error()

# Overall importance
var_imp = clf.feature_importances_()
prox_imp = clf.get_proximity_importance()

# Local importance (per-sample) - e.g., for sample 0
local_var_imp = clf.get_local_importance()[0]      # why was sample 0 predicted this way?
local_prox_imp = clf.get_proximity_importance()[0] # why is sample 0 similar to neighbors?

# Similarity search with explanations
indices, scores, _, feat_idx, feat_imp = clf.get_top_k_similar_with_explanations(0, k=10)

# Outlier detection
outliers, scores = clf.compute_outliers(k=10)

Documentation

CPU-Only Version

For systems without GPU: pip install rfx-fuse-cpu

License

MIT License

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

rfx_fuse-1.0.0.tar.gz (505.9 kB view details)

Uploaded Source

File details

Details for the file rfx_fuse-1.0.0.tar.gz.

File metadata

  • Download URL: rfx_fuse-1.0.0.tar.gz
  • Upload date:
  • Size: 505.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for rfx_fuse-1.0.0.tar.gz
Algorithm Hash digest
SHA256 65e9efa873babf602960409ba2826a8f9ea3a1a4f7639e896a31efb9352188c6
MD5 620936f53df5a66758e8d2b4382875b2
BLAKE2b-256 ac14ed1bc3d143c4c05e7b1007951fb0353f71a8175d4cfa4c5d5054053e1fcd

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