8.2.5 Getting the Loss Value For a Supervised GraphWise Model

You can fetch the training loss value as described in the following code:

Getting the Loss Value Using JShell
opg4j> var loss = model.getTrainingLoss();
Getting the Loss Value Using Java
double loss = model.getTrainingLoss();
Getting the Loss Value Using Python
double loss = model.get_training_loss()