Class GraphWiseDominantLayerConfig
java.lang.Object
oracle.pgx.config.mllib.GraphWiseDominantLayerConfig
- All Implemented Interfaces:
GraphWiseEmbeddingConfig
Configuration class for Dominant layers.
See
GraphWiseDominantLayerConfigBuilder for a description of the
hyperparameters.- Since:
- 23.2
-
Nested Class Summary
Nested classes/interfaces inherited from interface GraphWiseEmbeddingConfig
GraphWiseEmbeddingConfig.EmbeddingType -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final doubleDefault alpha parameter as 0.5: equal weight for feature and structure reconstruction lossesstatic final GraphWisePredictionLayerConfig[]by default no prediction layer config -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublegetAlpha()Gets the configuration objects for the decoder layersvoidsetAlpha(double alpha) Sets the weight for feature reconstruction loss.final voidsetDecoderLayerConfigs(GraphWisePredictionLayerConfig... decoderLayerConfigs) Sets the configuration objects for the decoder layers
-
Field Details
-
DEFAULT_ALPHA
public static final double DEFAULT_ALPHADefault alpha parameter as 0.5: equal weight for feature and structure reconstruction losses- See Also:
-
DEFAULT_PREDICTION_LAYER_CONFIGS
by default no prediction layer config
-
-
Constructor Details
-
GraphWiseDominantLayerConfig
public GraphWiseDominantLayerConfig()
-
-
Method Details
-
getEmbeddingType
- Specified by:
getEmbeddingTypein interfaceGraphWiseEmbeddingConfig
-
getAlpha
public double getAlpha()- Returns:
- configured weight for feature reconstruction loss.
-
setAlpha
public void setAlpha(double alpha) Sets the weight for feature reconstruction loss.- Parameters:
alpha- the feature reconstruction weight. Must be between 0 and 1
-
getdecoderLayerConfigs
Gets the configuration objects for the decoder layers- Returns:
- configurations
- Since:
- 23.2
-
setDecoderLayerConfigs
Sets the configuration objects for the decoder layers- Parameters:
decoderLayerConfigs- the configuration objects- Since:
- 23.2
-