Class RandomForestRegressorTrainer
java.lang.Object
org.neo4j.gds.ml.models.randomforest.RandomForestRegressorTrainer
- All Implemented Interfaces:
RegressorTrainer
-
Constructor Summary
ConstructorsConstructorDescriptionRandomForestRegressorTrainer(int concurrency, RandomForestRegressorTrainerConfig config, Optional<Long> randomSeed, org.neo4j.gds.termination.TerminationFlag terminationFlag, org.neo4j.gds.core.utils.progress.tasks.ProgressTracker progressTracker, org.neo4j.gds.core.utils.progress.tasks.LogLevel messageLogLevel) -
Method Summary
Modifier and TypeMethodDescriptionstatic org.neo4j.gds.core.utils.mem.MemoryEstimationmemoryEstimation(LongUnaryOperator numberOfTrainingSamples, org.neo4j.gds.core.utils.mem.MemoryRange featureDimension, RandomForestRegressorTrainerConfig config) train(Features allFeatureVectors, org.neo4j.gds.collections.ha.HugeDoubleArray targets, org.neo4j.gds.core.utils.paged.ReadOnlyHugeLongArray trainSet)
-
Constructor Details
-
RandomForestRegressorTrainer
public RandomForestRegressorTrainer(int concurrency, RandomForestRegressorTrainerConfig config, Optional<Long> randomSeed, org.neo4j.gds.termination.TerminationFlag terminationFlag, org.neo4j.gds.core.utils.progress.tasks.ProgressTracker progressTracker, org.neo4j.gds.core.utils.progress.tasks.LogLevel messageLogLevel)
-
-
Method Details
-
memoryEstimation
public static org.neo4j.gds.core.utils.mem.MemoryEstimation memoryEstimation(LongUnaryOperator numberOfTrainingSamples, org.neo4j.gds.core.utils.mem.MemoryRange featureDimension, RandomForestRegressorTrainerConfig config) -
train
public RandomForestRegressor train(Features allFeatureVectors, org.neo4j.gds.collections.ha.HugeDoubleArray targets, org.neo4j.gds.core.utils.paged.ReadOnlyHugeLongArray trainSet) - Specified by:
trainin interfaceRegressorTrainer
-