To access the DataRobot Model Runner tool, contact your DataRobot representative.
The DataRobot Model Runner tool, named DRUM, is a tool that allows you to test Python, R, and Java custom models locally. The test verifies that a custom model can successfully run and make predictions before you upload it to DataRobot. However, this testing is only for development purposes. DataRobot recommends that any custom model you wish to deploy is also tested in the Custom Model Workshop after uploading it.
Use the following commands to execute local tests for your custom model:
List all possible arguments
drum-help
Test a custom binary classification model
drumscore-m~/custom_model/--input<input-dataset-filename.csv>[--positive-class-label<labelname>][--negative-class-label<labelname>][--output<output-filename.csv>][--verbose]# Use --verbose for a more detailed output. Make batch predictions with a custom binary classification model. Optionally, specify an output file. Otherwise, predictions are returned to the command line.
Example: Test a custom binary classification model
drumscore-m~/custom_model/--input<input-dataset-filename.csv>[--output<output-filename.csv>][--verbose]# Use --verbose for a more detailed output. Make batch predictions with a custom regression model. Optionally, specify an output file. Otherwise, predictions are returned to the command line.
Example: Test a custom regression model
drumscore-m~/custom_model/--inputfast-iron.csv--verbose
# This is an example that does not include an output command, so the prediction results return in the command line.