Hi, I'd need a weighted random operation. I saw Th...
# datascience
m
Hi, I'd need a weighted random operation. I saw Thomas'
Kotlin Statistics
includes it (and it's the one I'll probably use) but I am a bit confused about the libraries I read about here. Would
KMath
include this kind of operations in the future? Should I look into some other lib? Thanks!
a
It is planned to rebase kotlin-statistics onto kmath and use it instead of commons-math. So kmath will have basic APIs and advanced features will still reside in statistics. If you think that this feature is required not only for statistics, please open an issue with feature description. I plan to work on probabilities and distributions in nearest future.
👍 1
m
Thanks, Alex. I am happy to use Kotlin-statistic by the time being. It's good to know it will be part of KMath. Cheers
a
Well, it won't. For now we just plan to replace commons-math in statistics by kmath multiplatform.
m
aaah! I misunderstood it. Ok
a
There is a weighted random generator in commons-math. If you need this feature, it would still be good to write a request so it could be moved to multiplatform
m
Ok. Will do