Skip to main content

feature_bagging

Function feature_bagging 

Source
pub fn feature_bagging(d: usize, k: usize, seed: u64) -> Vec<usize>
Expand description

Select a random subset of k feature indices from 0..d.

Uses a deterministic LCG seeded by seed.