Je reçois cette erreur lors de l'utilisation de h2o.randomforest. Veuillez voir l'appel de fonction et l'erreur associée ci-dessous.Erreur d'utilisation du tas à l'aide de H2O RandomForest
base_line_rf <- h2o.randomForest(x=2:ncol(train),
y=1,
ntrees = 10000,
mtries = ncol(train)-1,
training_frame = train,
model_id <- model_id,
stopping_rounds = 5,
stopping_tolerance = 0,
stopping_metric = "AUC",
binomial_double_trees = TRUE
)
L'erreur:
java.lang.AssertionError: I am really confused about the heap usage; MEM_MAX=7624720384 heapUsedGC=7626295912
at water.MemoryManager.set_goals(MemoryManager.java:97)
at water.MemoryManager.malloc(MemoryManager.java:265)
at water.MemoryManager.malloc(MemoryManager.java:222)
at water.MemoryManager.malloc8d(MemoryManager.java:281)
at hex.tree.DHistogram.init(DHistogram.java:281)
at hex.tree.DHistogram.init(DHistogram.java:240)
at hex.tree.ScoreBuildHistogram2$ComputeHistoThread.computeChunk(ScoreBuildHistogram2.java:326)
at hex.tree.ScoreBuildHistogram2$ComputeHistoThread.map(ScoreBuildHistogram2.java:306)
at water.LocalMR.compute2(LocalMR.java:84)
at water.LocalMR.compute2(LocalMR.java:76)
at water.LocalMR.compute2(LocalMR.java:76)
at water.LocalMR.compute2(LocalMR.java:76)
at water.H2O$H2OCountedCompleter.compute(H2O.java:1255)
at jsr166y.CountedCompleter.exec(CountedCompleter.java:468)
at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263)
at jsr166y.ForkJoinPool$WorkQueue.popAndExecAll(ForkJoinPool.java:904)
at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:977)
at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477)
at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)
Quelle est la raison de cette erreur?
Merci
S'il vous plaît donner un exemple reproductible avec des échantillons de données: [exemple] (https://stackoverflow.com/a/5963610/4421870) – Mako212
Vous avez probablement besoin de plus de mémoire, vérifiez [cette réponse] (https://stackoverflow.com/questions/45333883/h2o-server-crash). –
Il s'agit d'une erreur d'assertion: les assertions sont désactivées par défaut. Vous devez donc les avoir activées (pour le débogage?). Si vous les désactivez à nouveau, cela peut fonctionner, mais il est également possible qu'une autre erreur connexe apparaisse plus tard. –