Skip to content

Bugfix: Multiclass in random forest and proper model saving - #67

Open
faildeny wants to merge 2 commits into
cmd_linefrom
bugfix_rf
Open

faildeny wants to merge 2 commits into
cmd_linefrom
bugfix_rf

Conversation

@faildeny

Copy link
Copy Markdown
Contributor

This PR solves the following discovered bugs:

random_forest | Binary classification | 🟡 | Works. The saved "final" model is the client's local forest, not the aggregated one.
random_forest | Multiclass classification | 🔴 | Crashes: save_model() sets n_outputs_ to the class count.
random_forest | Regression | 🟡 | Works. The saved "final" model is the client's local forest, not the aggregated one.

@faildeny
faildeny requested a review from J-Fabila October 28, 2026 14:39
@faildeny faildeny self-assigned this Oct 28, 2026
@faildeny
faildeny changed the base branch from tests_and_CI to cmd_line October 30, 2026 07:18
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