Class LogisticRegressionClassifier
java.lang.Object
org.neo4j.gds.ml.models.logisticregression.LogisticRegressionClassifier
- All Implemented Interfaces:
Classifier
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.neo4j.gds.ml.models.Classifier
Classifier.ClassifierData -
Method Summary
Modifier and TypeMethodDescriptiondata()static LogisticRegressionClassifierfrom(LogisticRegressionData data) double[]predictProbabilities(double[] features) org.neo4j.gds.ml.core.tensor.MatrixpredictProbabilities(org.neo4j.gds.ml.core.batch.Batch batch, Features features) static org.neo4j.gds.core.utils.mem.MemoryRangeruntimeOverheadMemoryEstimation(int batchSize, int featureDimension, int numberOfClasses, boolean isReduced) static longsizeOfPredictionsVariableInBytes(int batchSize, int numberOfFeatures, int numberOfClasses, int normalizedNumberOfClasses) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.neo4j.gds.ml.models.Classifier
numberOfClasses
-
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:
predictProbabilitiesin interfaceClassifier
-
predictProbabilities
public org.neo4j.gds.ml.core.tensor.Matrix predictProbabilities(org.neo4j.gds.ml.core.batch.Batch batch, Features features) - Specified by:
predictProbabilitiesin interfaceClassifier
-
data
- Specified by:
datain interfaceClassifier
-