Class LinkPrediction
- java.lang.Object
-
- org.neo4j.gds.Algorithm<LinkPrediction,org.neo4j.gds.ml.linkmodels.LinkPredictionResult>
-
- org.neo4j.gds.ml.linkmodels.pipeline.predict.LinkPrediction
-
- All Implemented Interfaces:
org.neo4j.gds.core.utils.TerminationFlag
public class LinkPrediction extends org.neo4j.gds.Algorithm<LinkPrediction,org.neo4j.gds.ml.linkmodels.LinkPredictionResult>
-
-
Constructor Summary
Constructors Constructor Description LinkPrediction(org.neo4j.gds.ml.linkmodels.pipeline.logisticRegression.LinkLogisticRegressionData modelData, PipelineExecutor pipelineExecutor, java.util.Collection<org.neo4j.gds.NodeLabel> nodeLabels, java.util.Collection<org.neo4j.gds.RelationshipType> relationshipTypes, org.neo4j.gds.api.GraphStore graphStore, int concurrency, int topN, double threshold, org.neo4j.gds.core.utils.progress.tasks.ProgressTracker progressTracker)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.neo4j.gds.ml.linkmodels.LinkPredictionResultcompute()LinkPredictionme()voidrelease()-
Methods inherited from class org.neo4j.gds.Algorithm
getProgressTracker, getTerminationFlag, running, withProgressTracker, withTerminationFlag
-
-
-
-
Constructor Detail
-
LinkPrediction
public LinkPrediction(org.neo4j.gds.ml.linkmodels.pipeline.logisticRegression.LinkLogisticRegressionData modelData, PipelineExecutor pipelineExecutor, java.util.Collection<org.neo4j.gds.NodeLabel> nodeLabels, java.util.Collection<org.neo4j.gds.RelationshipType> relationshipTypes, org.neo4j.gds.api.GraphStore graphStore, int concurrency, int topN, double threshold, org.neo4j.gds.core.utils.progress.tasks.ProgressTracker progressTracker)
-
-
Method Detail
-
compute
public org.neo4j.gds.ml.linkmodels.LinkPredictionResult compute()
- Specified by:
computein classorg.neo4j.gds.Algorithm<LinkPrediction,org.neo4j.gds.ml.linkmodels.LinkPredictionResult>
-
me
public LinkPrediction me()
- Specified by:
mein classorg.neo4j.gds.Algorithm<LinkPrediction,org.neo4j.gds.ml.linkmodels.LinkPredictionResult>
-
release
public void release()
- Specified by:
releasein classorg.neo4j.gds.Algorithm<LinkPrediction,org.neo4j.gds.ml.linkmodels.LinkPredictionResult>
-
-