Portable Format for Analytics explained
Portable Format for Analytics |
Extensions: | --> |
Developer: | Jim Pivarski Data Mining Group |
Latest Release Version: | 0.8.1 |
Type: | Predictive modelling |
Extended From: | JSON |
Standards: | --> |
The Portable Format for Analytics (PFA) is a JSON-based predictive model interchange format conceived and developed by Jim Pivarski. PFA provides a way for analytic applications to describe and exchange predictive models produced by analytics and machine learning algorithms. It supports common models such as logistic regression and decision trees. Version 0.8 was published in 2015. Subsequent versions have been developed by the Data Mining Group.[1]
As a predictive model interchange format developed by the Data Mining Group, PFA is complementary to the DMG's XML-based standard called the Predictive Model Markup Language or PMML.[2]
Data Mining Group
The Data Mining Group is a consortium managed by the Center for Computational Science Research, Inc., a nonprofit founded in 2008.[3]
Examples
# reverse input array of doubles input: output: action: - let: - let: - let: - let: - while : do: - set : - set : - z
input: output: action: - let: - let: - let: - let: - let: - while : do : - set : - while : do : - if: then : - set : - set : - set : - set : - set : - A
Implementations
- Hadrian (Java/Scala/JVM) - Hadrian is a complete implementation of PFA in Scala, which can be accessed through any JVM language, principally Java. It focuses on model deployment, so it is flexible (can run in restricted environments) and fast.
- Titus (Python 2.x) - Titus is a complete, independent implementation of PFA in pure Python. It focuses on model development, so it includes model producers and PFA manipulation tools in addition to runtime execution. Currently, it works for Python 2.
- Titus 2 (Python 3.x) - Titus 2 is a fork of Titus which supports PFA implementation for Python 3.
- Aurelius (R) - Aurelius is a toolkit for generating PFA in the R programming language. It focuses on porting models to PFA from their R equivalents. To validate or execute scoring engines, Aurelius sends them to Titus through rPython (so both must be installed).
- Antinous (Model development in Jython) - Antinous is a model-producer plugin for Hadrian that allows Jython code to be executed anywhere a PFA scoring engine would go. It also has a library of model producing algorithms.
External links
Notes and References
- Web site: Data Mining Group . December 14, 2017 . The DMG is proud to host the working groups that develop the Predictive Model Markup Language (PMML) and the Portable Format for Analytics (PFA), two complementary standards that simplify the deployment of analytic models..
- Web site: Portable Format for Analytics: moving models to production. April 25, 2016.
- Web site: 2008 EO 990. 16 Oct 2014.