treeboost 0.1.0

High-performance Gradient Boosted Decision Tree engine for large-scale tabular data
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Python bindings for loss module
//!
//! Provides access to:
//! - MseLoss: Mean Squared Error (regression)
//! - PseudoHuberLoss: Robust loss (regression with outliers)
//! - BinaryLogLoss: Cross-entropy (binary classification)
//! - MultiClassLogLoss: Softmax cross-entropy (multi-class)
//! - sigmoid, softmax: Activation functions

mod functions;

use pyo3::prelude::*;

/// Register all loss classes and functions with the module
pub fn register(m: &Bound<'_, PyModule>) -> PyResult<()> {
    functions::register(m)
}