8.1.4 Training a DeepWalk Model

You can train a DeepWalk model with the specified default or customized settings as described in the following code:

Training a DeepWalk model Using JShell

opg4j> model.fit(graph);
Training a DeepWalk model Using Java

model.fit(graph);
Training a DeepWalk model Using Python

model.fit(graph)