Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Learning/using ML. Which system should i use?

Tags:

ocaml

sml

ml

I want to learn and use ML but there are many compilers out there. I need:

  • speed
  • low memory usage
  • threading
  • mutable arrays and record types
  • continuations
  • ready for production code
  • easy ffi
  • up to date
  • ... helpful libraries
  • portable to some degree

I do not need:

  • objects
  • GUI
  • support for windows

For example I found OCaml, OCaml Batteries include and MLton. Any advice for me which one should I choose?

like image 841
knivil Avatar asked Mar 04 '11 07:03

knivil


People also ask

What systems use machine learning?

BI and analytics vendors use machine learning in their software to identify potentially important data points, patterns of data points and anomalies. Human resource information systems. HRIS systems can use machine learning models to filter through applications and identify the best candidates for an open position.

Does ML use CPU or GPU?

While originally designed for rendering 2D and 3D images, videos, and animations on a computer, today's GPUs are used in applications far beyond graphics processing, including big analytics and machine learning.

What is learning system in ML?

ML is a type of artificial intelligence (AI) technique which provides computers with the ability to learn without being explicitly programmed. ML focuses on the evolution of computer programs that can instruct themselves to adjust to the environment so that they can get exposed to fresh information.


1 Answers

SML has better support for continuations. If you have a strong need for continuations, it is a better choice; OCaml has no in-language support for them, but there is the Delimcc library by Oleg for delimited continuations; being external, it is probably slower than SML's implementations. Otherwise, OCaml seems to have more traction these days, so you should expect the tooling and libraries to be slightly better.

More generally, SML tends to be rather more elegant, while OCaml has some more advanced features, quirks, and users. Performance-wise they're both good.

(See this for a syntactic comparison of the mostly-common fragments of both languages; of course OCaml's objects and polymorphic variants are not presented.)

like image 188
gasche Avatar answered Oct 07 '22 23:10

gasche