Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DeepWalk<V,E> |
build() |
DeepWalk.Builder<V,E> |
learningRate(double learningRate)
Set the learning rate
|
DeepWalk.Builder<V,E> |
seed(long seed)
Seed for random number generation (used for repeatability).
|
DeepWalk.Builder<V,E> |
vectorSize(int vectorSize)
Sets the size of the vectors to be learned for each vertex in the graph
|
DeepWalk.Builder<V,E> |
windowSize(int windowSize)
Sets the window size used in skipgram model
|
public DeepWalk.Builder<V,E> vectorSize(int vectorSize)
public DeepWalk.Builder<V,E> learningRate(double learningRate)
public DeepWalk.Builder<V,E> windowSize(int windowSize)
public DeepWalk.Builder<V,E> seed(long seed)