Skip to content

Conversation

@singjc
Copy link

@singjc singjc commented Nov 20, 2025

This PR adds a decision_function (same naming convention as scikit-learn), providing users with direct access to raw decision scores from the gradient boosting model.

The `decision_function` method computes the unnormalized raw scores (logits) from the gradient boosting model for the given test data. This allows the user to interpret the raw values directly, with higher values indicating stronger confidence in the positive class.

Example usage:
```rust
let raw_scores = gbdt.decision_function(&test_data);
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant