Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using ML in "Real-World" Applications

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?

like image 722
Chet Avatar asked Jun 26 '09 12:06

Chet


People also ask

Does NASA use ML?

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.

What is an example of applications of machine learning?

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.

Is ML widely used in industry?

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.


2 Answers

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.

like image 60
Vincent Ramdhanie Avatar answered Nov 15 '22 10:11

Vincent Ramdhanie


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

like image 22
Arthur Ulfeldt Avatar answered Nov 15 '22 10:11

Arthur Ulfeldt