Home

Awesome

Infer

Inference and Machine Learning in Clojure

Infer is a library for machine learning and statistical inference, designed to be used in real production systems.

Infer is written in Clojure and leverages many JVM packages.

You can read about some of the performance testing that went into the foundation here:

Infer does not aim to replace R, or be an R for the JVM, or be a NumPy written in Clojure.

Infer seeks to be a new kind of data tool.

  1. Infer was initially extracted from production use. It follows the philosophy that you should be able to deploy your research code, not be forced to rewrite it in C++ or java to deploy to production.

  2. Infer was initially extracted from use with Hadoop. It follows the philosophy that you should be able to scale up your research computations with minimal effort, deploy clusters from your local interactive environment, and run your code in a cluster almost as easily as your run it on your local machine.

  3. Infer was initially extracted from real life research and deployment of machine learning systems. It follows the philosophy that abstractions should be composable so that you can try out different algorithms, and different combinations of measures, models, and learning algorithms. Most systems, like R, Weka, Lingpipe, or Matlab, for example, have all the methods coded up in silos, and not meant to be used composably. Want to learn tree models using different loss functions, different measures of statistical diveregence, or a different peanalized learning algorithm? Traditional libraries say too bad, Infer says, rock it out.

What is in Infer?

Infer is broad and covers, or intends to cover, most of what you'll find in statistical and machine learning packages (and many techniques that are not).