Package oracle.pgx.api.mllib
Class GraphWiseConvLayerConfigBuilder
- java.lang.Object
-
- oracle.pgx.api.mllib.GraphWiseBaseConvLayerConfigBuilder<GraphWiseConvLayerConfig,GraphWiseConvLayerConfigBuilder>
-
- oracle.pgx.api.mllib.GraphWiseConvLayerConfigBuilder
-
public class GraphWiseConvLayerConfigBuilder extends GraphWiseBaseConvLayerConfigBuilder<GraphWiseConvLayerConfig,GraphWiseConvLayerConfigBuilder>
Builder forGraphWiseConvLayerConfig
. Currently, only mean aggregation layers are supported.- Since:
- 19.4
-
-
Constructor Summary
Constructors Constructor Description GraphWiseConvLayerConfigBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphWiseConvLayerConfig
build()
Build the configurationGraphWiseConvLayerConfigBuilder
setWeightedAggregationProperty(java.lang.String neighborWeightProperty)
Set the graph property to be used for weighted aggregation.-
Methods inherited from class oracle.pgx.api.mllib.GraphWiseBaseConvLayerConfigBuilder
setActivationFunction, setDropoutRate, setNumSampledNeighbors, setWeightInitScheme, useEdgeToEdgeConnection, useEdgeToVertexConnection, useVertexToEdgeConnection, useVertexToVertexConnection
-
-
-
-
Method Detail
-
setWeightedAggregationProperty
public GraphWiseConvLayerConfigBuilder setWeightedAggregationProperty(java.lang.String neighborWeightProperty)
Set the graph property to be used for weighted aggregation. If null, weighted aggregation will be disabled.Weighted aggregation will perform the mean aggregation of neighbors based on weights given by the specified graph property.
default:
GraphWiseConvLayerConfig.DEFAULT_NEIGHBOR_WEIGHT_PROPERTY_NAME
- Parameters:
neighborWeightProperty
- the property name- Returns:
- this
- Since:
- 19.4
-
build
public GraphWiseConvLayerConfig build()
Build the configuration- Returns:
- built configuration
- Since:
- 19.4
-
-