I really liked learning ML at college. I find functional programming often a refreshingly elegant way to write certain algorithms. I have heard of F# and played around with that a bit. Still, I've written some interesting functions in ML and would like to integrate them as libraries I could use in other applications.
Usually I paste my functions into the SMLnj interpreter. Is there a way I can compile them down?
Along with AI/ML work through IMPACT, teams at NASA Earth Observing System Data and Information System (EOSDIS) Distributed Active Archive Centers (DAACs) are applying AI and ML to the data they archive and distribute.
We've seen machine learning used to make image recognition and text translation possible. Other applications include email spam and malware filtering, traffic predictions, medical diagnosis and virtual personal assistants.
Machine learning has moved from the stuff of science fiction to a staple of modern business, as organizations across nearly every industry vertical implement ML technologies.
You will have to use something like the MLj Compiler. It compiles to Java Byte code. Or you can use the SML.NET compiler to compile to .NET IL.
It is common amongst ML for both sides to export to C and then call each others C functions. Just about everything has a FFI library for 'easily' exporting to C.
http://www.smlnj.org/doc/SMLNJ-C/index.html
so to the outside world your sml library would behave like a C library except with out the assiciated segfaults and memory leaks*
*not a guarantee
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With