public class GraphWisePredictionLayerConfigBuilder
extends java.lang.Object
GraphWisePredictionLayerConfig.| Constructor and Description |
|---|
GraphWisePredictionLayerConfigBuilder() |
| Modifier and Type | Method and Description |
|---|---|
oracle.pgx.config.mllib.GraphWisePredictionLayerConfig |
build()
Build the configuration
|
GraphWisePredictionLayerConfigBuilder |
setActivationFunction(oracle.pgx.config.mllib.ActivationFunction activationFunction)
Set the activation function of the layer.
|
GraphWisePredictionLayerConfigBuilder |
setHiddenDimension(java.lang.Integer hiddenDimension)
Set the hidden dimension of the layer.
|
GraphWisePredictionLayerConfigBuilder |
setWeightInitScheme(oracle.pgx.config.mllib.WeightInitScheme weightInitScheme)
Sets the weight initialization scheme for the weights of the layer.
|
public GraphWisePredictionLayerConfigBuilder()
public oracle.pgx.config.mllib.GraphWisePredictionLayerConfig build()
public GraphWisePredictionLayerConfigBuilder setActivationFunction(oracle.pgx.config.mllib.ActivationFunction activationFunction)
ActivationFunction.
Note that if this is the last layer, this setting will be ignored and replaced by the activation function of the loss function, e.g softmax or sigmoid.
default: GraphWisePredictionLayerConfig.DEFAULT_ACTIVATION_FUNCTION
activationFunction - activation functionpublic GraphWisePredictionLayerConfigBuilder setHiddenDimension(java.lang.Integer hiddenDimension)
Note that if this is the last layer, this setting will be ignored and replaced by the number of classes
default: GraphWisePredictionLayerConfig.DEFAULT_HIDDEN_DIMENSION
hiddenDimension - hidden dimensionpublic GraphWisePredictionLayerConfigBuilder setWeightInitScheme(oracle.pgx.config.mllib.WeightInitScheme weightInitScheme)
WeightInitScheme.
default: GraphWisePredictionLayerConfig.DEFAULT_WEIGHT_INIT_SCHEME
weightInitScheme - weight initialization scheme