Hi all :smiley: I was looking at the kotlin-statis...
# datascience
r
Hi all 😃 I was looking at the kotlin-statistics project and the histogram implementation. I have this problem that I hope you have some input on. The idea is that in a calendar the business can set price points and the price will change night and weekend and holiday's even down to a minute precision. When the customer has done it's trip we have the interval in time and my idea was that I read up the price points (have not figured out how to store it yet) into a histogram and then lay over the interval over the histogram and we then get a total price and a price per bucket(pricepoint) Any thoughts on this? And is the kotlin-statistics good for this problem? Thanks 🙂
a
cc @thomasnield
If you need multivariate histograms, there is basic support in kmath, but it is purely documented.
r
Thanks!
t
@Rikardq sorry I'll take a look
That sounds pretty doable, as you can bin on any Comparable type as shown with the LocalDate example in the README
On another note, have you explored doing this kind of work with a time-series forecasting library? https://facebook.github.io/prophet/
r
Humm that's looks promising thanks @thomasnield!
t
@Rikardq I'm actually using Prophet right now for a project and it's pretty impressive and simple to use. I wish it had a Java/Kotlin API but I usually just interchange data with a SQLite database so I can flip back-and-forth.
a
It uses STAN internally, thus complicated installation procedures. We are currently working with BAT collaboration on creating Bayesian tools in Julia and (sadly in a low priority) interop package with kotlin. But if one needs only to use it with conjunction with DB and no complicated logic is involved, than it does not worth the effort.
That said, Julia is much more friendly than python + STAN
t
@altavir good to know. I've been meaning to play with Julia but I'm finding myself spread thin these days. I'm busy enough with Python, R, and Kotlin in my juggled stacks : (
a
@thomasnield I do not have time to play with Julia as well, I have a student for that 🙂
🎓 1