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.
Error: water.exceptions.H2OIllegalArgumentException: Fold column must be either categorical or contiguous integers from 0..N-1 or 1..N
at hex.ModelBuilder.cv_AssignFold(ModelBuilder.java:358)
at hex.ModelBuilder.computeCrossValidation(ModelBuilder.java:314)
at hex.ModelBuilder$1.compute2(ModelBuilder.java:248)
at water.H2O$H2OCountedCompleter.compute(H2O.java:1267)
at jsr166y.CountedCompleter.exec(CountedCompleter.java:468)
at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263)
at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974)
at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477)
at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)
Error: water.exceptions.H2OIllegalArgumentException: Fold column must be either categorical or contiguous integers from 0..N-1 or 1..N at hex.ModelBuilder.cv_AssignFold(ModelBuilder.java:358) at hex.ModelBuilder.computeCrossValidation(ModelBuilder.java:314) at hex.ModelBuilder$1.compute2(ModelBuilder.java:248) at water.H2O$H2OCountedCompleter.compute(H2O.java:1267) at jsr166y.CountedCompleter.exec(CountedCompleter.java:468) at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263) at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974) at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477) at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)
I'm using month
{code:java} h2o.getTypes(month) [[1]] [1] "int"
h2o.unique(month) C1 1 1 2 2 3 3 4 4 5 5 6 6
[12 rows x 1 column] {code}