#553·natural

LogisticRegressionClassifier out of memory

Author: DadibomCreated Oct 23, 2020Updated Mar 1, 2024
LabelsHelp/Questions

Trying to train LogisticRegressionClassifier with a large dataset. LogisticRegressionClassifier.train() causes the heap to run out of memory.

The data in question is too large to be able to simply increase the heap size, so I am looking for a solution to train in batches. However, I cannot find any references in the documentation to this.

What is the intended way to train a classifier in batches?