Package oracle.pgx.config.mllib
Class SupervisedEdgeWiseModelConfig
java.lang.Object
oracle.pgx.config.mllib.GraphWiseBaseModelConfig
oracle.pgx.config.mllib.EdgeWiseModelConfig
oracle.pgx.config.mllib.SupervisedEdgeWiseModelConfig
Configuration class for
SupervisedEdgeWiseModel.
See SupervisedEdgeWiseModel for a description of the hyperparameters.- Since:
- 23.1
-
Nested Class Summary
Nested classes/interfaces inherited from class oracle.pgx.config.mllib.EdgeWiseModelConfig
EdgeWiseModelConfig.EdgeWiseConvModelVariantNested classes/interfaces inherited from class oracle.pgx.config.mllib.GraphWiseBaseModelConfig
GraphWiseBaseModelConfig.Backend -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BatchGeneratornullstatic final LossFunctionstatic final GraphWisePredictionLayerConfig[]one default initialized config (SeeGraphWisePredictionLayerConfig)static final EnumSet<PropertyType>INTEGER, STRING, BOOLEAN, LONGstatic final EnumSet<PropertyType>FLOAT, DOUBLE, INTEGER, LONGFields inherited from class oracle.pgx.config.mllib.EdgeWiseModelConfig
DEFAULT_MODE, EDGE_EMBEDDING_SIZEFields inherited from class oracle.pgx.config.mllib.GraphWiseBaseModelConfig
DEFAULT_BACKEND, DEFAULT_BATCH_SIZE, DEFAULT_CONV_LAYER_CONFIGS, DEFAULT_EMBEDDING_DIM, DEFAULT_ENABLE_ACCELERATOR, DEFAULT_LEARNING_RATE, DEFAULT_NORMALIZE, DEFAULT_NUM_EPOCHS, DEFAULT_SEED, DEFAULT_SHUFFLE, DEFAULT_STANDARDIZE, DEFAULT_WEIGHT_DECAY, SUPPORTED_INPUT_TYPES -
Constructor Summary
ConstructorsConstructorDescriptionSupervisedEdgeWiseModelConfig(int batchSize, int numEpochs, double learningRate, double weightDecay, int embeddingDim, Integer edgeEmbeddingDim, Integer seed, GraphWiseBaseConvLayerConfig[] convLayerConfigs, boolean standardize, boolean shuffle, List<String> vertexInputPropertyNames, List<String> edgeInputPropertyNames, Map<String, InputPropertyConfig> vertexInputPropertyConfigs, Map<String, InputPropertyConfig> edgeInputPropertyConfigs, oracle.pgx.config.internal.categorymapping.CategoryMappingConfig categoryMappingConfig, List<Set<String>> targetEdgeLabelSets, boolean fitted, double trainingLoss, int inputFeatureDim, int edgeInputFeatureDim, LossFunction lossFunctionClass, BatchGenerator batchGenerator, GraphWisePredictionLayerConfig[] predictionLayerConfigs, boolean normalize, String edgeTargetPropertyName, LabelMaps labelMaps, GraphWiseBaseModelConfig.Backend backend, EdgeCombinationMethod edgeCombinationMethod, EdgeWiseModelConfig.EdgeWiseConvModelVariant variant, boolean enableAccelerator, GraphWiseValidationConfig validationConfig) SupervisedEdgeWiseModelConfig(SupervisedEdgeWiseModelConfig source, oracle.pgx.config.internal.categorymapping.CategoryMappingConfig categoryMappingConfig) -
Method Summary
Modifier and TypeMethodDescriptionintfinal voidsetBatchGenerator(BatchGenerator batchGenerator) final voidsetClassMap(Map<?, Integer> classMap) final voidsetClassWeights(Map<?, Float> classWeights) final voidsetEdgeTargetPropertyName(String edgeTargetPropertyName) final voidsetLabelMaps(LabelMaps labelMaps) final voidsetLabelType(PropertyType labelType) final voidsetLossFunctionClass(LossFunction lossFunction) final voidsetPredictionLayerConfigs(GraphWisePredictionLayerConfig... predictionLayerConfigs) Methods inherited from class oracle.pgx.config.mllib.EdgeWiseModelConfig
getEdgeCombinationMethod, getEdgeEmbeddingDim, getTargetEdgeLabelSets, getVariant, setEdgeCombinationMethod, setEdgeEmbeddingDim, setTargetEdgeLabels, setTargetEdgeLabelSets, setVariantMethods inherited from class oracle.pgx.config.mllib.GraphWiseBaseModelConfig
clearSensitiveData, getBackend, getBatchSize, getCategoryMappingConfig, getConvLayerConfigs, getEdgeInputFeatureDim, getEdgeInputPropertyConfigs, getEdgeInputPropertyNames, getEmbeddingDim, getInputFeatureDim, getLearningRate, getNumEpochs, getSeed, getTrainingLoss, getValidationConfig, getVertexInputPropertyConfigs, getVertexInputPropertyNames, getWeightDecay, isEnableAccelerator, isFitted, isNormalize, isShuffle, isStandardize, setBatchSize, setCategoryMappingConfig, setConvLayerConfigs, setEdgeInputFeatureDim, setEdgeInputPropertyConfigs, setEdgeInputPropertyNames, setEmbeddingDim, setEnableAccelerator, setFitted, setInputFeatureDim, setLearningRate, setNormalize, setNumEpochs, setSeed, setShuffle, setStandardize, setTrainingLoss, setValidationConfig, setVertexInputPropertyConfigs, setVertexInputPropertyNames, setWeightDecay
-
Field Details
-
SUPPORTED_LABEL_TYPES
INTEGER, STRING, BOOLEAN, LONG -
SUPPORTED_REGRESSION_TYPES
FLOAT, DOUBLE, INTEGER, LONG -
DEFAULT_LOSS_FUNCTION_CLASS
-
DEFAULT_BATCH_GENERATOR
-
DEFAULT_PREDICTION_LAYER_CONFIGS
one default initialized config (SeeGraphWisePredictionLayerConfig) -
DEFAULT_CLASS_MAP
null
-
-
Constructor Details
-
SupervisedEdgeWiseModelConfig
public SupervisedEdgeWiseModelConfig() -
SupervisedEdgeWiseModelConfig
public SupervisedEdgeWiseModelConfig(int batchSize, int numEpochs, double learningRate, double weightDecay, int embeddingDim, Integer edgeEmbeddingDim, Integer seed, GraphWiseBaseConvLayerConfig[] convLayerConfigs, boolean standardize, boolean shuffle, List<String> vertexInputPropertyNames, List<String> edgeInputPropertyNames, Map<String, InputPropertyConfig> vertexInputPropertyConfigs, Map<String, InputPropertyConfig> edgeInputPropertyConfigs, oracle.pgx.config.internal.categorymapping.CategoryMappingConfig categoryMappingConfig, List<Set<String>> targetEdgeLabelSets, boolean fitted, double trainingLoss, int inputFeatureDim, int edgeInputFeatureDim, LossFunction lossFunctionClass, BatchGenerator batchGenerator, GraphWisePredictionLayerConfig[] predictionLayerConfigs, boolean normalize, String edgeTargetPropertyName, LabelMaps labelMaps, GraphWiseBaseModelConfig.Backend backend, EdgeCombinationMethod edgeCombinationMethod, EdgeWiseModelConfig.EdgeWiseConvModelVariant variant, boolean enableAccelerator, GraphWiseValidationConfig validationConfig) -
SupervisedEdgeWiseModelConfig
-
SupervisedEdgeWiseModelConfig
public SupervisedEdgeWiseModelConfig(SupervisedEdgeWiseModelConfig source, oracle.pgx.config.internal.categorymapping.CategoryMappingConfig categoryMappingConfig)
-
-
Method Details
-
getNumClasses
public int getNumClasses() -
getEdgeTargetPropertyName
-
setEdgeTargetPropertyName
-
getPredictionLayerConfigs
-
setPredictionLayerConfigs
public final void setPredictionLayerConfigs(GraphWisePredictionLayerConfig... predictionLayerConfigs) -
getLossFunctionClass
-
setLossFunctionClass
-
getBatchGenerator
-
setBatchGenerator
-
getClassMap
-
setClassMap
-
setClassWeights
-
getClassWeights
-
getLabelType
-
setLabelType
-
getLabelMaps
-
setLabelMaps
-