Package oracle.pgx.config.mllib
Class GraphWiseDominantLayerConfig
- java.lang.Object
-
- oracle.pgx.config.mllib.GraphWiseDominantLayerConfig
-
- All Implemented Interfaces:
GraphWiseEmbeddingConfig
public class GraphWiseDominantLayerConfig extends java.lang.Object implements GraphWiseEmbeddingConfig
Configuration class for Dominant layers. SeeGraphWiseDominantLayerConfigBuilderfor a description of the hyperparameters.- Since:
- 23.2
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface oracle.pgx.config.mllib.GraphWiseEmbeddingConfig
GraphWiseEmbeddingConfig.EmbeddingType
-
-
Field Summary
Fields Modifier and Type Field Description static doubleDEFAULT_ALPHADefault alpha parameter as 0.5: equal weight for feature and structure reconstruction lossesstatic GraphWisePredictionLayerConfig[]DEFAULT_PREDICTION_LAYER_CONFIGSby default no prediction layer config
-
Constructor Summary
Constructors Constructor Description GraphWiseDominantLayerConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetAlpha()GraphWisePredictionLayerConfig[]getdecoderLayerConfigs()Gets the configuration objects for the decoder layersGraphWiseEmbeddingConfig.EmbeddingTypegetEmbeddingType()voidsetAlpha(double alpha)Sets the weight for feature reconstruction loss.voidsetDecoderLayerConfigs(GraphWisePredictionLayerConfig... decoderLayerConfigs)Sets the configuration objects for the decoder layers
-
-
-
Field Detail
-
DEFAULT_ALPHA
public static final double DEFAULT_ALPHA
Default alpha parameter as 0.5: equal weight for feature and structure reconstruction losses- See Also:
- Constant Field Values
-
DEFAULT_PREDICTION_LAYER_CONFIGS
public static final GraphWisePredictionLayerConfig[] DEFAULT_PREDICTION_LAYER_CONFIGS
by default no prediction layer config
-
-
Method Detail
-
getEmbeddingType
public GraphWiseEmbeddingConfig.EmbeddingType 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
public GraphWisePredictionLayerConfig[] getdecoderLayerConfigs()
Gets the configuration objects for the decoder layers- Returns:
- configurations
- Since:
- 23.2
-
setDecoderLayerConfigs
public final void setDecoderLayerConfigs(GraphWisePredictionLayerConfig... decoderLayerConfigs)
Sets the configuration objects for the decoder layers- Parameters:
decoderLayerConfigs- the configuration objects- Since:
- 23.2
-
-