Loading...
Searching...
No Matches
gpr::GaussianProcessRegression::LengthScaleTies Struct Reference

#include <gpr/ml/GaussianProcessRegression.h>

Public Member Functions

Index_t count () const noexcept
bool operator== (const LengthScaleTies &) const =default

Public Attributes

std::vector< Index_t > parent
 fine pair type -> base pair type
std::vector< Index_t > leader
 fine pair type -> leading member
std::vector< bool > released
std::vector< double > evidence
Index_t base_count = 0
bool valid = false

Detailed Description

Tied length scales. Pair types that refine a base type (environment sub-types of the element-and-role types) share the base type's length scale until likelihood evidence releases them. The quadratic gain screens a trial fit; accumulated realized gains must pay the Occam cost of one parameter, half the log of the row count. Accepted releases retain their independent scale within the pair-type layout.

Definition at line 1846 of file GaussianProcessRegression.h.

Member Function Documentation

◆ count()

Index_t gpr::GaussianProcessRegression::LengthScaleTies::count ( ) const
inlinenodiscardnoexcept

Definition at line 1857 of file GaussianProcessRegression.h.

1858 {
1859 return static_cast<Index_t>(parent.size());
1860 }
uint32_t Index_t
Definition Macros.h:17
std::vector< Index_t > parent
fine pair type -> base pair type

◆ operator==()

bool gpr::GaussianProcessRegression::LengthScaleTies::operator== ( const LengthScaleTies & ) const
default

Member Data Documentation

◆ base_count

Index_t gpr::GaussianProcessRegression::LengthScaleTies::base_count = 0

Definition at line 1855 of file GaussianProcessRegression.h.

◆ evidence

std::vector<double> gpr::GaussianProcessRegression::LengthScaleTies::evidence

Accumulated release evidence per fine type: Page's cumulative sum of the realized likelihood gains of a trial release less the Occam cost, floored at zero. A type is released when the sum reaches one Occam cost.

Definition at line 1854 of file GaussianProcessRegression.h.

◆ leader

std::vector<Index_t> gpr::GaussianProcessRegression::LengthScaleTies::leader

fine pair type -> leading member

Definition at line 1848 of file GaussianProcessRegression.h.

◆ parent

std::vector<Index_t> gpr::GaussianProcessRegression::LengthScaleTies::parent

fine pair type -> base pair type

Definition at line 1847 of file GaussianProcessRegression.h.

◆ released

std::vector<bool> gpr::GaussianProcessRegression::LengthScaleTies::released

carries its own length scale

Definition at line 1849 of file GaussianProcessRegression.h.

◆ valid

bool gpr::GaussianProcessRegression::LengthScaleTies::valid = false

Definition at line 1856 of file GaussianProcessRegression.h.


The documentation for this struct was generated from the following file: