Class GnnExplanation<ID>

    • Method Detail

      • getVertexFeatureImportance

        public java.util.Map<VertexProperty<ID,​?>,​java.lang.Float> getVertexFeatureImportance()
        Gets the feature importances as a map from property to importance value.
        Returns:
        the feature importances.
        Since:
        21.3
      • getImportanceGraph

        public PgxGraph getImportanceGraph()
        Gets the importance Graph, that is, the computation graph with an additional vertex property indicating vertex importance. The additional importance property can be retrieved via getVertexImportanceProperty()}.
        Returns:
        the importance graph.
        Since:
        21.3
      • getVertexImportanceProperty

        public VertexProperty<ID,​java.lang.Float> getVertexImportanceProperty()
        Gets the vertex property that contains the computed vertex importance.
        Returns:
        the vertex importance property.
        Since:
        21.3
      • getEmbedding

        public float[] getEmbedding()
        Gets the inferred embedding of the specified vertex.
        Returns:
        the embedding.
        Since:
        21.3