From ccc3d209b3049808c0d8945fd70a5672fabd3c2a Mon Sep 17 00:00:00 2001 From: Colin Caine Date: Wed, 17 Apr 2024 14:20:22 +0100 Subject: [PATCH] Fix documentation of FastForest keyword args (#286) --- src/stats/fasttree.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stats/fasttree.jl b/src/stats/fasttree.jl index be1c3327..201b464f 100644 --- a/src/stats/fasttree.jl +++ b/src/stats/fasttree.jl @@ -173,11 +173,11 @@ Calculate a random forest where each variable is summarized by `stat`. # Keyword Arguments -- `nt=100)`: Number of trees in the forest +- `nt=100`: Number of trees in the forest - `b=floor(Int, sqrt(p))`: Number of random features for each tree to receive - `maxsize=1000`: Maximum size for any tree in the forest - `splitsize=5000`: Number of observations in any given node before splitting -- `λ = .05`: Probability that each tree is updated on a new observation +- `λ = 5 * (1 / nt)`: Probability that each tree is updated on a new observation # Example