H2O is an Open Source, Distributed, Fast & Scalable Machine Learning Platform: Deep Learning, Gradient Boosting (GBM) & XGBoost, Random Forest, Generalized Linear Modeling (GLM with Elastic Net), K-Means, PCA, Generalized Additive Models (GAM), RuleFit, Support Vector Machine (SVM), Stacked Ensembles, Automatic Machine Learning (AutoML), etc.
When mojo is writing columns label in https://github.com/h2oai/h2o-3/blob/c46a83511d9b90ab2e078526e9c2284de9516ee8/h2o-core/src/main/java/hex/ModelMojoWriter.java#L246 Some label has newline in it
So when reading mojo back from model.ini in https://github.com/h2oai/h2o-3/blob/307794e5112fbd1deeb309cb4f0eaea88be8a33c/h2o-genmodel/src/main/java/hex/genmodel/ModelMojoReader.java#L180
More labels will be read than specified in n_columns, causing https://github.com/h2oai/h2o-3/blob/307794e5112fbd1deeb309cb4f0eaea88be8a33c/h2o-genmodel/src/main/java/hex/genmodel/ModelMojoReader.java#L179 To throw the Error {code}
n_columns
variable is too small. {code}