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:

opg4j> model.fit(graph)
model.fit(graph);
model.fit(graph)