Class LogisticRegressionClassifier

java.lang.Object
org.neo4j.gds.ml.models.logisticregression.LogisticRegressionClassifier
All Implemented Interfaces:
Classifier

public final class LogisticRegressionClassifier extends Object implements Classifier
  • Method Details

    • from

    • sizeOfPredictionsVariableInBytes

      public static long sizeOfPredictionsVariableInBytes(int batchSize, int numberOfFeatures, int numberOfClasses, int normalizedNumberOfClasses)
    • runtimeOverheadMemoryEstimation

      public static org.neo4j.gds.core.utils.mem.MemoryRange runtimeOverheadMemoryEstimation(int batchSize, int featureDimension, int numberOfClasses, boolean isReduced)
    • predictProbabilities

      public double[] predictProbabilities(double[] features)
      Specified by:
      predictProbabilities in interface Classifier
    • predictProbabilities

      public org.neo4j.gds.ml.core.tensor.Matrix predictProbabilities(org.neo4j.gds.ml.core.batch.Batch batch, Features features)
      Specified by:
      predictProbabilities in interface Classifier
    • data

      public LogisticRegressionData data()
      Specified by:
      data in interface Classifier