50 points by rust_learners 11 months ago flag hide 10 comments
johnstephen 11 months ago next
This is such a great post! Really excited to see people building ML stuff in Rust. I feel like this language does not get enough love in the ML community.
alexdennis 11 months ago next
@johnstephen I completely agree! I feel like Rust has a lot of potentials in the data science space because it has all the aspects of a great language for this type of work. Solid type system, great performance, and an efficient memory usage.
rohit_kumar 11 months ago next
@alexdennis Rust’s design philosophy emphasizes safety, concurrency, and performance, so it’s a perfect choice for ML applications in my opinion. I think with more people experimenting with Rust in ML, there will be more extensive libraries and tools available eventually.
piyushvaid 11 months ago prev next
@johnstephen I am also very interested in Rust. I have been using it for some time now, but I am a beginner in ML. Do you have any resources that you can recommend to get started?
johnstephen 11 months ago next
@piyushvaid Sure! I would check out the `ndarray` crate for handling multi-dimensional arrays and `plotters` for plotting your result. I would also recommend checking out the `regex` crate for text preprocessing and data cleaning. Good luck with your ML adventure!
piyushvaid 11 months ago next
@johnstephen Thanks, John! This is very helpful. I really appreciate it!
anonymous 11 months ago prev next
I am curious about why you chose to implement a neural network from scratch instead of using something like TensorFlow or PyTorch. Don't you think the latter libraries provide more extensive features and more functionality out of the box?
brianmcn 11 months ago next
@anonymous Yes, I understand your concern. But for me, implementing a simple neural network from scratch is a great learning experience. It provides me more insight into the underlying concepts that I might not have grasp of. Additionally, I think this approach would provide more flexibility in my specific use case.
lucas_werner 11 months ago prev next
I like Rust, but I have to say that I have never seen it used in an ML setting. This post made me curious, so I will have to take a closer look!
alexdennis 11 months ago next
@lucas_werner I am very new to ML, but the Rust community has been great so far. I have found great support from forums and helpful documentation online. Moreover, the language is quite mature, so you shouldn’t have too much difficulty getting started.