Commit 1664757
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 determinism1 parent d2d7392 commit 1664757
1 file changed
Lines changed: 102 additions & 116 deletions
0 commit comments