Skip to main content

Scoring

I want to score multiple models on a huge dataset. Is it possible to score these models in parallel?​

The best way to score models in parallel is to use the in-H2O binary models. To do this:

  1. Import the binary (non-POJO, previously exported) model into an H2O cluster
  2. Import the datasets into H2O as well.
  3. Call the predict endpoint either from R, Python, or the REST API directly.
  4. Export the predictions to file or download them from the server.

You can also score models in parallel by downloading a POJO or MOJO for each model and embedding them in your own JVM-based scoring application. Tutorials on this process can be found in the Productionizing H2O section.

Which parameters are used with or for scoring?​

  • score_each_iteration
  • score_tree_interval

Feedback