public class UnsupervisedAnomalyDetectionGraphWiseModelBuilder extends GraphWiseModelBuilder<UnsupervisedAnomalyDetectionGraphWiseModel,UnsupervisedGraphWiseModelConfig,UnsupervisedAnomalyDetectionGraphWiseModelBuilder>
UnsupervisedAnomalyDetectionGraphWiseModel
The builder can be used to set the configuration of the model and create the model object.Constructor and Description |
---|
UnsupervisedAnomalyDetectionGraphWiseModelBuilder(PgxSession session,
oracle.pgx.api.internal.Core core,
java.util.function.Supplier<java.lang.String> keystorePathSupplier,
java.util.function.Supplier<char[]> keystorePasswordSupplier,
java.util.function.BiFunction<PgxSession,oracle.pgx.api.internal.Graph,PgxGraph> graphConstructor) |
Modifier and Type | Method and Description |
---|---|
UnsupervisedAnomalyDetectionGraphWiseModel |
build()
Builds the UnsupervisedAnomalyDetectionGraphWiseModel model with the specified parameters.
|
UnsupervisedAnomalyDetectionGraphWiseModelBuilder |
setEmbeddingConfig(GraphWiseEmbeddingConfig embeddingConfig)
Set the embedding configuration (See
GraphWiseEmbeddingConfig . |
UnsupervisedAnomalyDetectionGraphWiseModelBuilder |
setLossFunction(UnsupervisedGraphWiseModelConfig.LossFunction lossFunction)
Sets the loss function for the algorithm.
|
setTargetVertexLabels, setTargetVertexLabels
setBatchSize, setConvLayerConfigs, setEdgeInputPropertyConfigs, setEdgeInputPropertyNames, setEdgeInputPropertyNames, setEmbeddingDim, setLearningRate, setNormalize, setNumEpochs, setSeed, setShuffle, setStandardize, setVertexInputPropertyConfigs, setVertexInputPropertyNames, setVertexInputPropertyNames, setWeightDecay
public UnsupervisedAnomalyDetectionGraphWiseModelBuilder(PgxSession session, oracle.pgx.api.internal.Core core, java.util.function.Supplier<java.lang.String> keystorePathSupplier, java.util.function.Supplier<char[]> keystorePasswordSupplier, java.util.function.BiFunction<PgxSession,oracle.pgx.api.internal.Graph,PgxGraph> graphConstructor)
public UnsupervisedAnomalyDetectionGraphWiseModel build() throws java.lang.InterruptedException, java.util.concurrent.ExecutionException
build
in class GraphWiseModelBuilder<UnsupervisedAnomalyDetectionGraphWiseModel,UnsupervisedGraphWiseModelConfig,UnsupervisedAnomalyDetectionGraphWiseModelBuilder>
java.lang.InterruptedException
java.util.concurrent.ExecutionException
public UnsupervisedAnomalyDetectionGraphWiseModelBuilder setEmbeddingConfig(GraphWiseEmbeddingConfig embeddingConfig)
GraphWiseEmbeddingConfig
.
default: UnsupervisedGraphWiseModelConfig.DEFAULT_DGI_LAYER_CONFIG
embeddingConfig
- layer configspublic UnsupervisedAnomalyDetectionGraphWiseModelBuilder setLossFunction(UnsupervisedGraphWiseModelConfig.LossFunction lossFunction)
UnsupervisedGraphWiseModelConfig.LossFunction
default: UnsupervisedGraphWiseModelConfig.LossFunction#SIGMOID_CROSS_ENTROPY
lossFunction
- loss function