rustlearn icon indicating copy to clipboard operation
rustlearn copied to clipboard

Support value types other than f32

Open robsmith11 opened this issue 7 years ago • 0 comments

Correct me if I'm wrong, but it appears that for both features and classes in the fitting of decision tress, rustlearn only supports arrays of f32 values. Is there a reason for this limitation? I would think that features simply need to have the Ordering trait and classes have the Eq trait. It would be useful to have at least f32, f64, i32, i64, and bool I think.

robsmith11 avatar Dec 11 '18 18:12 robsmith11