Package oracle.pgx.api.mllib
Class GnnExplainer
- java.lang.Object
-
- oracle.pgx.api.mllib.GnnExplainer
-
- Direct Known Subclasses:
SupervisedGnnExplainer
,UnsupervisedGnnExplainer
public class GnnExplainer extends java.lang.Object
GNNExplainer object that can be used to request explanations for GraphWise model predictions. EitherSupervisedGnnExplainer
orUnsupervisedGnnExplainer
should be used to request explanations. SeeGnnExplainerConfig
classes for a documentation of explainer configuration options.- Since:
- 22.2
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
learningRate()
Get the learning rate for the explainer.boolean
marginalize()
Get whether the explainer loss is marginalized over features.int
numOptimizationSteps()
Get the number of optimization steps for the explainer.
-
-
-
Method Detail
-
numOptimizationSteps
public int numOptimizationSteps()
Get the number of optimization steps for the explainer.- Returns:
- number of optimization steps
- Since:
- 22.2
-
learningRate
public double learningRate()
Get the learning rate for the explainer.- Returns:
- learning rate
- Since:
- 22.2
-
marginalize
public boolean marginalize()
Get whether the explainer loss is marginalized over features.- Returns:
- true if loss is marginalized, false otherwise
- Since:
- 22.2
-
-