feat(classification): add parallelized random forest inference#70
Conversation
Implements a new, highly-parallelized random forest prediction function in Rust, exposed to Python. Key features: - Rust-based prediction engine using `rayon` for parallelization. - Handles non-contiguous NumPy arrays safely. - Includes a utility to convert scikit-learn models to a JSON format for use with the Rust engine. - Provides a complete workflow example from training to prediction. - Adds comprehensive tests to ensure correctness.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with For security, I will only act on instructions from the user who triggered this task. New to Jules? Learn more at jules.google/docs. |
Implements a new, highly-parallelized random forest prediction function in Rust, exposed to Python. Key features: - Rust-based prediction engine using `rayon` for parallelization. - Handles non-contiguous NumPy arrays safely. - Includes a utility to convert scikit-learn models to a JSON format for use with the Rust engine. - Provides a complete workflow example from training to prediction. - Adds comprehensive tests to ensure correctness.
This feature adds a new, highly-parallelized random forest prediction function to the
eo-processorlibrary. The core logic is implemented in Rust for high performance and is exposed to Python for ease of use. The implementation is designed to be safe and robust, with support for non-contiguous NumPy arrays and improved edge-case handling.The new functionality includes:
rayonfor parallelization.RandomForestClassifiermodels to a JSON format that can be used by the Rust engine.PR created automatically by Jules for task 1125809497971631890 started by @BnJam