Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


SigOpt Random Forest Java Example

This example tunes a random forest using SigOpt + Java on the open IRIS dataset.


You will need maven to compile and run this example. On OS X, you can install maven with Homebrew by running

brew install maven

Next, compile

mvn compile

Insert your SigOpt API token into the command below to run the example

mvn exec:java -Dexec.mainClass="com.example.RandomForestApp" -Dexec.cleanupDaemonThreads="false" -Dexec.args="--api_token $SIGOPT_API_TOKEN"

To build this example we used Weka, a collection of machine learning algorithms in java.

Learn more about our Java API Client.


Any questions? Drop us a line at

API Reference

To implement SigOpt for your use case, feel free to use or extend the code in this repository. Our core API can bolt on top of any complex model or process and guide it to its optimal configuration in as few iterations as possible.

About SigOpt

With SigOpt, data scientists and machine learning engineers can build better models with less trial and error.

Machine learning models depend on hyperparameters that trade off bias/variance and other key outcomes. SigOpt provides Bayesian hyperparameter optimization using an ensemble of the latest research.

SigOpt can tune any machine learning model, including popular techniques like gradient boosting, deep neural networks, and support vector machines. SigOpt’s REST API, Python, and R libraries integrate into any existing ML workflow.

SigOpt augments your existing model training pipeline, suggesting parameter configurations to maximize any online or offline objective, such as AUC ROC, model accuracy, or revenue. You only send SigOpt your metadata, not the underlying training data or model.

SigOpt is available for a 30 day free trial, and is available free forever for academic users.

You can’t perform that action at this time.