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.ObjectGNNExplainer object that can be used to request explanations for GraphWise model predictions. EitherSupervisedGnnExplainerorUnsupervisedGnnExplainershould be used to request explanations. SeeGnnExplainerConfigclasses for a documentation of explainer configuration options.- Since:
- 22.2
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublelearningRate()Get the learning rate for the explainer.booleanmarginalize()Get whether the explainer loss is marginalized over features.intnumOptimizationSteps()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
-
-