Class Node2Vec


  • public class Node2Vec
    extends org.neo4j.gds.Algorithm<org.neo4j.gds.core.utils.paged.HugeObjectArray<org.neo4j.gds.ml.core.tensor.FloatVector>>
    • Field Summary

      • Fields inherited from class org.neo4j.gds.Algorithm

        progressTracker, terminationFlag
    • Constructor Summary

      Constructors 
      Constructor Description
      Node2Vec​(org.neo4j.gds.api.Graph graph, Node2VecBaseConfig config, org.neo4j.gds.core.utils.progress.tasks.ProgressTracker progressTracker)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.neo4j.gds.core.utils.paged.HugeObjectArray<org.neo4j.gds.ml.core.tensor.FloatVector> compute()  
      static org.neo4j.gds.core.utils.mem.MemoryEstimation memoryEstimation​(Node2VecBaseConfig config)  
      void release()  
      • Methods inherited from class org.neo4j.gds.Algorithm

        getProgressTracker, getTerminationFlag, setTerminationFlag
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Node2Vec

        public Node2Vec​(org.neo4j.gds.api.Graph graph,
                        Node2VecBaseConfig config,
                        org.neo4j.gds.core.utils.progress.tasks.ProgressTracker progressTracker)
    • Method Detail

      • memoryEstimation

        public static org.neo4j.gds.core.utils.mem.MemoryEstimation memoryEstimation​(Node2VecBaseConfig config)
      • compute

        public org.neo4j.gds.core.utils.paged.HugeObjectArray<org.neo4j.gds.ml.core.tensor.FloatVector> compute()
        Specified by:
        compute in class org.neo4j.gds.Algorithm<org.neo4j.gds.core.utils.paged.HugeObjectArray<org.neo4j.gds.ml.core.tensor.FloatVector>>
      • release

        public void release()
        Specified by:
        release in class org.neo4j.gds.Algorithm<org.neo4j.gds.core.utils.paged.HugeObjectArray<org.neo4j.gds.ml.core.tensor.FloatVector>>