felix-clark / ndarray-glm

Rust library for linear, logistic, and generalized linear model regression
MIT License
22 stars 0 forks source link

Make `utility` module public #22

Closed multimeric closed 3 years ago

multimeric commented 3 years ago

Currently the docs advise using utility::one_pad if the data doesn't have an intercept column. Unfortunately this module is also private.

felix-clark commented 3 years ago

Pushed to the 0.0.10 branch in ac2a424

felix-clark commented 3 years ago

Actually, I think standardize should be moved into the utility module as well. I'm leaning against keeping it exported in the crate namespace, I think there's more organizational consistency with having it in the utility namespace along with one_pad.

multimeric commented 3 years ago

That could work. You could also consider having a prelude module like so many other crates, which re-exports all the public APIs from miscellaneous places.

felix-clark commented 3 years ago

That could work. You could also consider having a prelude module like so many other crates, which re-exports all the public APIs from miscellaneous places.

Opened issue #23 to consider this