17.1.5 Getting the Loss Value For a DeepWalk Model
You can fetch the loss value on a specified fraction of training data, that is set in builder using setValidationFraction
as described in the following code:
opg4j> var loss = model.getLoss()
double loss = model.getLoss();
loss = model.loss
Parent topic: Using the DeepWalk Algorithm