Class GraphWiseModelBuilder<Model extends GraphWiseModel,​Config extends GraphWiseModelConfig,​Self extends GraphWiseModelBuilder>

    • Constructor Detail

      • GraphWiseModelBuilder

        public GraphWiseModelBuilder()
    • Method Detail

      • setTargetVertexLabels

        public Self setTargetVertexLabels​(java.util.List<java.lang.String> targetVertexLabels)
        Set the target vertex labels for the algorithm. Only the related vertices need to have the target property. Training and inference will be done on the vertices with those labels
        Parameters:
        targetVertexLabels - list of label names
        Returns:
        this
        Since:
        22.2
      • setTargetVertexLabels

        public Self setTargetVertexLabels​(java.lang.String... targetVertexLabels)
        Set the target vertex labels for the algorithm. Only the related vertices need to have the target property.
        Parameters:
        targetVertexLabels - label names
        Returns:
        this
        Since:
        22.2
      • build

        public abstract Model build()
                             throws java.lang.InterruptedException,
                                    java.util.concurrent.ExecutionException
        Builds the GraphWise model with the specified parameters.
        Returns:
        GraphWise model
        Throws:
        java.lang.InterruptedException
        java.util.concurrent.ExecutionException
        Since:
        19.4