News for hackers. Stuff that matters.
Re:State of Machine Learning in Julia by savant_penguin on Wednesday January 12, 2022 @02:49PM (#29911903)
For many compute intensive tasks Julia beats the competition hands down. I got to use for loops again and it feels wonderful (in python you either write it as some numpy operation out meddle with numba to run with some speed)

But many of the "main" ml packages are written in actual fast languages and are well optimized so python's inefficiencies can be mostly ignored (pytorch/tensorflow/catboost are really fast. Sklearn is decent and statsmodels is dead slow)

But again if need some specific image processing algorithm you either have to hope for it to be implemented in c++ with python bindings (like opencv) or you are in for a world of pain.

With Julia you can just count on it to be fast and implement it yourself natively

Re:State of Machine Learning in Julia by cs702 on Saturday January 15, 2022 @12:49PM (#29948498)
> you either have to hope for it to be implemented in c++ with python bindings (like opencv) or you are in for a world of pain.

Yes, I agree -- Julia is superior for scientific research -- including developing or working with new, cutting-edge algorithms that are not yet implemented in any third-party library.

That said, if one is willing to do a bit of upfront work, in many and perhaps a majority of cases, it's possible to implement new algorithms/ideas in terms of tensor/matrix/vector operations, i.e., using fast library primitives instead of resorting to slow Python loops.