struct gpr::posterior::DerivativeReport

Overview

Report returned by a batched posterior derivative primitive. More…

#include <gpr/ml/PosteriorDerivatives.h>
 
struct DerivativeReport {
    // fields
 
    DerivativeStatus status = DerivativeStatus::Ok;
    std::string message;
    EnergyUnit energy_unit = EnergyUnit::Native;
    LengthUnit length_unit = LengthUnit::Native;
    int n_points = 0;
    bool projected = false;
    double max_energy_std = 0.0;
    int max_energy_std_point = -1;
    double max_translation_residual = -1.0;
    double max_rotation_residual = -1.0;
    int factor_appended = -1;
 
    // methods
 
    bool ok() const;
};

Detailed Documentation

Report returned by a batched posterior derivative primitive.

Fields

double max_energy_std = 0.0

Largest posterior energy standard deviation over the points, and the point that has it. Filled on success and on OutOfSupport.

double max_translation_residual = -1.0

Largest ||H t|| over the points for unit rigid translations and rotations t, on the unprojected Hessian. -1 when not requested.

int factor_appended = -1

conditionFixed only: 1 when the training factor was bordered in place, 0 when it was refactored at the same hyperparameters (a backend without an appendable factor), -1 for other calls.

Methods

bool ok() const

True when the call succeeded.