Class GraphWiseDominantLayerConfigBuilder
java.lang.Object
oracle.pgx.api.mllib.GraphWiseDominantLayerConfigBuilder
Builder for
GraphWiseDominantLayerConfig.- Since:
- 23.2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build the configurationsetAlpha(double alpha) Set the alpha weight, the proportion of importance of feature reconstruction over graph structure reconstructionsetDecoderLayerConfigs(GraphWisePredictionLayerConfig... layerConfigs) Set the decoder layer configurations (SeeGraphWisePredictionLayerConfig.
-
Constructor Details
-
GraphWiseDominantLayerConfigBuilder
public GraphWiseDominantLayerConfigBuilder()
-
-
Method Details
-
setDecoderLayerConfigs
public GraphWiseDominantLayerConfigBuilder setDecoderLayerConfigs(GraphWisePredictionLayerConfig... layerConfigs) Set the decoder layer configurations (SeeGraphWisePredictionLayerConfig. You must pass at least one prediction layer config (or leave it as default).Note that an additional layer will be inserted in the end for which:
- the hidden dimension will be equal to the input feature dimension
- the weight initialization scheme will be copied from the previous layer
default: null
- Parameters:
layerConfigs- layer configs- Returns:
- this
- Since:
- 23.2
-
setAlpha
Set the alpha weight, the proportion of importance of feature reconstruction over graph structure reconstruction- Parameters:
alpha- feature reconstruction weights- Returns:
- this
- Since:
- 23.2
-
build
Build the configuration- Returns:
- built configuration
- Since:
- 23.2
-