rust-ndarray / ndarray

ndarray: an N-dimensional array with array views, multidimensional slicing, and efficient operations
https://docs.rs/ndarray/
Apache License 2.0
3.59k stars 307 forks source link

Should the examples inside the `examples` folder be moved to the repo `ndarray-examples`? #1254

Open nbro opened 1 year ago

nbro commented 1 year ago

It seems that the examples here https://github.com/rust-ndarray/ndarray/tree/master/examples can be moved to https://github.com/rust-ndarray/ndarray-examples, which, in my view, doesn't just have to contain machine learning examples, but could contain even simple examples to help newbies use ndarray.

nilgoyette commented 1 year ago

Since there's already a ndarray-examples crate, I would say that yes, imo we should move it. And probably add a link in the readme somewhere.

bluss commented 7 months ago

Yes, and some less useful examples can be removed. Confession, code like examples/sort-axis.rs is more like prototype code for later inclusion in ndarray (hasn't happened yet), so it should probably stay around or be moved to a PR.