Skip to content

Commit 1664757

Browse files
authored
Add type hints, snake_case, and doctests to RandomForestRegressor module
- Annotate all parameters and return types across tree and forest - Rename variables to snake_case (x_bootstrap, x_subset, etc.) - Add doctests for predict, _best_split, _calculate_mse, and class examples - Replace RNG usage with numpy Generator for determinism
1 parent d2d7392 commit 1664757

File tree

1 file changed

+102
-116
lines changed

1 file changed

+102
-116
lines changed

0 commit comments

Comments
 (0)