Menu
Oracle open sources Java machine learning library

Oracle open sources Java machine learning library

Tribuo offers tools for building and deploying classification, clustering, and regression models in Java, along with interfaces to TensorFlow, XGBoost and ONNX

Credit: Dreamstime

Looking to meet enterprise needs in the machine learning space, Oracle is making its Tribuo Java machine learning library available free under an open source licence.

With Tribuo, Oracle aims to make it easier to build and deploy machine learning models in Java, similar to what already has happened with Python. Released under an Apache 2.0 licence and developed by Oracle Labs, Tribuo is accessible from GitHub and Maven Central.

Tribuo provides standard machine learning functionality including algorithms for classification, clustering, anomaly detection, and regression. Tribuo also includes pipelines for loading and transforming data and provides a suite of evaluations for supported prediction tasks.

Because Tribuo collects statistics on inputs, Tribuo can describe the range of each input, for example. It also names features, managing feature IDs and output IDs under the hood to avoid ID conflicts and confusion when chaining models, loading data, and featurising inputs.

A Tribuo model knows when it sees a feature for the first time, which is particularly useful when working with natural language processing. Models know what outputs are, with outputs being strongly typed. Developers do not need to wonder if a float is a probability, a regressed value, or a cluster ID.

With Tribuo, each of these is a separate type; the model can describe types and ranges it knows about. Use of strongly typed inputs and outputs means Tribuo can track the model construction process, from the point data is loaded through train/test splits or dataset transformations to model training and evaluation. This tracking data is baked into all models and evaluations.

The Tribuo provenance system can generate a configuration that rebuilds the training pipeline to reproduce the model or evaluation. Also, a tweaked model can be built on new data or hyper-parameters. Thus users always know what a Tribuo model is, where it came from, and how to create it.

Oracle sees Tribuo filling a gap in the marketplace for machine learning for enterprise applications. For example, whereas the Google-built TensorFlow library provides core algorithms for deep learning, Tribuo provides several machine learning algorithms, some of which are in TensorFlow and some of which are not, while also providing an interface to TensorFlow, said Oracle’s Adam Pocock, principal member of the Oracle Labs technical staff.

And whereas the Apache Spark analytics engine is for large, distributed systems, Tribuo is for smaller computations that can fit on a single machine, Pocock said.

In addition to TensorFlow, Tribuo provides interfaces to XGBoost and the ONNX runtime, allowing models stored in the ONNX format or trained in TensorFlow and XGBoost to be deployed alongside native Tribuo models. Support for the ONNX model format allows deployment in Java of models trained using popular Python libraries such as PyTorch.

Tribuo runs on Java 8 or later. Oracle accepts code contributions to Tribuo under the Oracle Contributor Agreement. Tribuo already has been used internally at Oracle in the Fusion Cloud ERP product for intelligent document recognition, for example.


Follow Us

Join the newsletter!

Or

Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.

Tags open sourceOraclejava

Events

Featured

Slideshows

Meet the Reseller News 30 Under 30 Tech Awards 2020 winners

Meet the Reseller News 30 Under 30 Tech Awards 2020 winners

This year’s Reseller News 30 Under 30 Tech Awards were held as an integral part of the first entirely virtual Emerging Leaders​ forum, an annual event dedicated to identifying, educating and showcasing the New Zealand technology market’s rising stars. The 30 Under 30 Tech Awards 2020 recognised the outstanding achievements and business excellence of 30 talented individuals​, across both young leaders and those just starting out. In this slideshow, Reseller News honours this year's winners and captures their thoughts about how their ideas of leadership have changed over time.​

Meet the Reseller News 30 Under 30 Tech Awards 2020 winners
Reseller News Exchange Auckland: Beyond the myths — how partners can master cloud security

Reseller News Exchange Auckland: Beyond the myths — how partners can master cloud security

This exclusive Reseller News Exchange event in Auckland explored the challenges facing the partner community on the cloud security frontier, as well as market trends, customer priorities and how the channel can capitalise on the opportunities available. In association with Arrow, Bitdefender, Exclusive Networks, Fortinet and Palo Alto Networks. Photos by Gino Demeer.

Reseller News Exchange Auckland: Beyond the myths — how partners can master cloud security
Reseller News welcomes industry figures at 2020 Hall of Fame lunch

Reseller News welcomes industry figures at 2020 Hall of Fame lunch

Reseller News welcomed 2019 inductees - Leanne Buer, Ross Jenkins and Terry Dunn - to the fourth running of the Reseller News Hall of Fame lunch, held at the French Cafe in Auckland. The inductees discussed the changing face of the IT channel ecosystem in New Zealand and what it means to be a Reseller News Hall of Fame inductee. Photos by Gino Demeer.

Reseller News welcomes industry figures at 2020 Hall of Fame lunch
Show Comments