Skip to main content

mondrian

Function mondrian 

Source
pub fn mondrian(n_trees: usize) -> MondrianForest
Expand description

Create a Mondrian forest with the given number of trees.

use irithyll::{mondrian, StreamingLearner};

let mut model = mondrian(10);
model.train(&[1.0, 2.0], 3.0);