Search code examples
machine-learningdeep-learningdata-analysisdata-scienceh2o

Looking at an H2o MOJO model, how can I figure out the datatypes of the training data it was trained on?


Looking at an H2o MOJO model, is there a way to figure out the datatypes of the training data it was trained on?


Solution

  • You can a list of all predictors and categorical from POJO and MOJO. When you get categorical from predictors if the results are "null" then they are considered numbers otherwise enum.

    You can use Java code from the following article:

    https://aichamp.wordpress.com/2017/08/30/getting-all-categorical-for-predictors-in-h2o-pojo-and-mojo-models/

    FYI: There is still an open bug on this issue with POJO so use MOJO instead.