rustlearn icon indicating copy to clipboard operation
rustlearn copied to clipboard

Machine learning crate for Rust

Results 13 rustlearn issues
Sort by recently updated
recently updated
newest added

Is there a functionality to use arrays from [ndarray](https://github.com/rust-ndarray/ndarray) to fit / predict models within `rustlearn` without making a copy? Possibly by creating an `ArrayView` with underlying data from `ndarray::ArrayView2`.

I am using in-sample OOB predictions to estimate the KL-divergence between samples. In general, OOB predictions are an efficient alternative to CV to estimate out of sample prediction performance and...

Needs to be updated with current dependencies and brought up to date for Rust 2018. I have done this in my repo, and am happy to do a pull request....

Replaced `hyper` with `reqwest` in the `dev-dependencies` to get `examples/dorothea.rs` to compile. Currently still failing one test: I don't know why.

I was looking at the implementation [here](https://docs.rs/rustlearn/0.5.0/src/rustlearn/metrics/ranking.rs.html#32-37), copied below: ```rust /// Normalized Discounted Cumulative Gain /// /// # Panics /// Will panic if inputs are of unequal length. pub fn...

According to the readme: > Model serialization is supported via rustc_serialize. This will probably change to serde once compiler plugins land in stable. Serde is stable now, so this should...

Please help this error error: specified package `rustlearn v0.5.0` has no binaries

In the examples shown using iris dataset, y is a vector of dimension 1 which is essentially a labelencoded vector. Running that on a one-hot encoded vector for y is...

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...

If no feature indices are detected, clasifier will panic ``` 9: 0x56419f61951b - ::unwrap::hd8b8ff2812a12642 at /checkout/src/libcore/macros.rs:20 10: 0x56419f61206a - rustlearn::trees::decision_tree::FeatureIndices::new::h713ea4d48acd865b at /home/rico/.cargo/git/checkouts/rustlearn-1ee86889f45d433e/2ef4de2/src/trees/decision_tree.rs:58 11: 0x56419f613345 - >::fit::hba6d79b944d21aa4 at /home/rico/.cargo/git/checkouts/rustlearn-1ee86889f45d433e/2ef4de2/src/ensemble/random_forest.rs:119 ```