public abstract class EdgeWiseModelBuilder<Model extends EdgeWiseModel,Config extends EdgeWiseModelConfig,Self extends EdgeWiseModelBuilder> extends WiseModelBuilder<Config,Self>
SupervisedEdgeWiseModelBuilder
instead of this.Constructor and Description |
---|
EdgeWiseModelBuilder() |
Modifier and Type | Method and Description |
---|---|
abstract Model |
build()
Builds the EdgeWise model with the specified parameters.
|
Self |
setEdgeCombinationMethod(EdgeCombinationMethod edgeCombinationMethod)
Sets the edge embedding method for the algorithm.
|
Self |
setTargetEdgeLabels(java.util.List<java.lang.String> targetEdgeLabels)
Set the target edge labels for the algorithm.
|
Self |
setTargetEdgeLabels(java.lang.String... targetEdgeLabels)
Set the target edge labels for the algorithm.
|
setBatchSize, setConvLayerConfigs, setEdgeInputPropertyConfigs, setEdgeInputPropertyNames, setEdgeInputPropertyNames, setEmbeddingDim, setLearningRate, setNormalize, setNumEpochs, setSeed, setShuffle, setStandardize, setVertexInputPropertyConfigs, setVertexInputPropertyNames, setVertexInputPropertyNames, setWeightDecay
public abstract Model build() throws java.lang.InterruptedException, java.util.concurrent.ExecutionException
java.lang.InterruptedException
java.util.concurrent.ExecutionException
public Self setEdgeCombinationMethod(EdgeCombinationMethod edgeCombinationMethod)
EdgeCombinationMethod
default: EdgeCombinationMethods.DEFAULT_CONCAT_METHOD
edgeCombinationMethod
- edge embedding methodpublic Self setTargetEdgeLabels(java.util.List<java.lang.String> targetEdgeLabels)
targetEdgeLabels
- list of label namespublic Self setTargetEdgeLabels(java.lang.String... targetEdgeLabels)
targetEdgeLabels
- label names