8.3.5 Getting the Loss Value for a Unsupervised GraphWise Model

You can fetch the training loss value for a Unsupervised GraphWise Model.
  1. Get the loss value for a Unsupervised GraphWise model as shown 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
    loss = model.get_training_loss()