17.6.6 Getting the Loss Value for an Unsupervised Anomaly Detection GraphWise Model

You can fetch the training loss value for an Unsupervised Anomaly Detection GraphWise model as shown in the following code:
opg4j> var loss = model.getTrainingLoss()
double loss = model.getTrainingLoss();
loss = model.get_training_loss()