Skip to content

Latest commit

 

History

History
 
 

java_codegen

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Java Model Template

This model is intended to work with the Java Drop-In Environment. The supplied jar is a DataRobot scoring code model trained from juniors_3_year_stats_regression.csv with a Grade 2014 as the target (regression), though any jar containing a model that implements the IClassificationPredictor or IRegressionPredictor interface from the datarobot-prediction package will work.

Instructions

Upload the jar file as the only file in the custom model and use the Java Drop-In Environment with it

To run locally using 'drum'

Paths are relative to ./datarobot-user-models:
drum score --code-dir model_templates/java_codegen --target-type regression --input tests/testdata/juniors_3_year_stats_regression.csv