News for hackers. Stuff that matters.
Re:Machine and Deep Learning with OCaml Natively by xvilka on Tuesday October 29, 2019 @11:14PM (#21394370)
There is also a number of other related projects:

- Deep Learning with OCaml[1] blog post from Jane Street

- Reinforcement Learning with OCaml[2] blog post from Jane Street

- Transfer Learning with OCaml[3] blog post from Jane Street

- An example of object-detection convolutional neural network (Mask R-CNN) with Owl library[4]

- Currently, the integration with ONNX[5] is being worked on in Owl

- Other proposed projects[6] that might need your help

[1] https://blog.janestreet.com/deep-learning-experiments-in-oca...

[2] https://blog.janestreet.com/playing-atari-games-with-ocaml-a...

[3] https://blog.janestreet.com/of-pythons-and-camels/

[4] https://github.com/owlbarn/owl_mask_rcnn

[5] https://github.com/owlbarn/owl_onnx

[6] https://ocaml.xyz/project/proposal.html

Re:Machine and Deep Learning with OCaml Natively by lostmsu on Tuesday October 29, 2019 @11:55PM (#21394562)
You can also do it with F# (which is derived from OCaml): https://notebooks.azure.com/lost/projects/gradient-samples/h...

Though the binding is not fully typed.

Re:Machine and Deep Learning with OCaml Natively by Nelkins on Wednesday October 30, 2019 @11:05AM (#21398513)
This project is also pretty interesting (also F#) : https://github.com/fsprojects/fsharp-ai-tools/blob/master/RE...
Re:Machine and Deep Learning with OCaml Natively by mratsim on Wednesday October 30, 2019 @06:35AM (#21396187)
As someone who also wrote my own deep learning library from scratch in a less-known language (Nim: https://github.com/mratsim/Arraymancer), I must say this looks very nice.

I especially like the syntax for declaring neural networks.

One thing I'm unclear of is the slicing. get_fancy seems quite complex compared to Numpy and it seems to return a copy instead of allowing in-place modification of a slice?

Re:Machine and Deep Learning with OCaml Natively by nafizh on Wednesday October 30, 2019 @01:17PM (#21400084)
Machine learning needs a lot of data exploration, and data reflection. Problem with languages like OCaml is that, they are a bottleneck in that exploration where you have to think more about the language rather than the question you are trying to ask the data.
Re:Machine and Deep Learning with OCaml Natively by wtetzner on Thursday October 31, 2019 @10:58AM (#21409516)
I don’t think that’s true once you’re comfortable with the language.
Re:Machine and Deep Learning with OCaml Natively by smiths1999 on Wednesday October 30, 2019 @09:20AM (#21397354)
I really like this but I wish they included some performance numbers. How does training and inference speed compare to TensorFlow or PyTorch?
Re:Machine and Deep Learning with OCaml Natively by synaesthesisx on Wednesday October 30, 2019 @11:55AM (#21399085)
Is OCaml typically used in production at a lot of places (other than Jane Street)?
Re:Machine and Deep Learning with OCaml Natively by fuklief on Wednesday October 30, 2019 @12:29PM (#21399502)
I'm guessing at least the sponsors of the OCaml software foundation: https://ocaml-sf.org/sponsors/
Re:Machine and Deep Learning with OCaml Natively by xvilka on Wednesday October 30, 2019 @12:40PM (#21399644)
Plus Facebook with their Flow[1], Infer[2][3], Airbus with their BinCAT[4], and Frama-C[5].

[1] https://github.com/facebook/flow

[2] https://fbinfer.com/

[3] https://github.com/facebook/infer

[4] https://github.com/airbus-seclab/bincat

[5] http://frama-c.com/

Re:Machine and Deep Learning with OCaml Natively by malberto on Wednesday October 30, 2019 @02:06PM (#21400656)
I work at Bloomberg in derivatives. C++ is our backbone but there is definitely a lot of OCaml in production. To tell it all we have BLAN, an OCaml-ish language that you (as our customer) can use to structure (exotic) derivative contracts and get them priced in DLIB.
Re:Machine and Deep Learning with OCaml Natively by huy-nguyen on Wednesday October 30, 2019 @01:01PM (#21399909)
I know that Ahrefs and OneGraph use it for production.
Re:Machine and Deep Learning with OCaml Natively by RocketSyntax on Wednesday October 30, 2019 @12:41PM (#21399657)
Enrolled in an OCaml course once. Dropped that like a sack of potatoes.
Re:Machine and Deep Learning with OCaml Natively by k__ on Wednesday October 30, 2019 @01:18PM (#21400113)
Maybe Reason is more of your liking?