lsst.afw  14.0-25-g0e8fc950e+5
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
lsst::afw::math::NeuralNetCovariogram< T > Class Template Reference

a Covariogram that recreates a neural network with one hidden layer and infinite units in that layer More...

#include <GaussianProcess.h>

Inheritance diagram for lsst::afw::math::NeuralNetCovariogram< T >:
lsst::afw::math::Covariogram< T > lsst::daf::base::Citizen

Public Types

typedef unsigned long memId
 
typedef memId(* memNewCallback) (const memId cid)
 
typedef memId(* memCallback) (const Citizen *ptr)
 

Public Member Functions

virtual ~NeuralNetCovariogram ()
 
 NeuralNetCovariogram ()
 
void setSigma0 (double sigma0)
 set the _sigma0 hyper parameter More...
 
void setSigma1 (double sigma1)
 set the _sigma1 hyper parameter More...
 
virtual T operator() (ndarray::Array< const T, 1, 1 > const &, ndarray::Array< const T, 1, 1 > const &) const
 Actually evaluate the covariogram function relating two points you want to interpolate from. More...
 
std::string repr () const
 
void markPersistent (void)
 
memId getId () const
 

Static Public Member Functions

static bool hasBeenCorrupted ()
 
static memId getNextMemId ()
 
static int init ()
 
static int census (int, memId startingMemId=0)
 
static void census (std::ostream &stream, memId startingMemId=0)
 
static const std::vector< const Citizen *> * census ()
 
static int census (int, memId startingMemId=0)
 
static void census (std::ostream &stream, memId startingMemId=0)
 
static const std::vector< const Citizen *> * census ()
 
static memId setNewCallbackId (memId id)
 
static memId setNewCallbackId (memId id)
 
static memId setDeleteCallbackId (memId id)
 
static memId setDeleteCallbackId (memId id)
 
static memNewCallback setNewCallback (memNewCallback func)
 
static memCallback setDeleteCallback (memCallback func)
 
static memCallback setCorruptionCallback (memCallback func)
 

Public Attributes

 magicSentinel
 

Detailed Description

template<typename T>
class lsst::afw::math::NeuralNetCovariogram< T >

a Covariogram that recreates a neural network with one hidden layer and infinite units in that layer

Contains two hyper parameters (_sigma0 and _sigma1) that characterize the expected variance of the function being interpolated

see Rasmussen and Williams (2006) http://www.gaussianprocess.org/gpml/ equation 4.29

Definition at line 190 of file GaussianProcess.h.

Constructor & Destructor Documentation

◆ ~NeuralNetCovariogram()

template<typename T >
lsst::afw::math::NeuralNetCovariogram< T >::~NeuralNetCovariogram ( )
virtual

Definition at line 2022 of file GaussianProcess.cc.

◆ NeuralNetCovariogram()

template<typename T >
lsst::afw::math::NeuralNetCovariogram< T >::NeuralNetCovariogram ( )
explicit

Definition at line 2025 of file GaussianProcess.cc.

Member Function Documentation

◆ operator()()

template<typename T >
T lsst::afw::math::NeuralNetCovariogram< T >::operator() ( ndarray::Array< const T, 1, 1 > const &  p1,
ndarray::Array< const T, 1, 1 > const &  p2 
) const
virtual

Actually evaluate the covariogram function relating two points you want to interpolate from.

Parameters
[in]p1the first point
[in]p2the second point

Reimplemented from lsst::afw::math::Covariogram< T >.

Definition at line 2031 of file GaussianProcess.cc.

◆ setSigma0()

template<typename T >
void lsst::afw::math::NeuralNetCovariogram< T >::setSigma0 ( double  sigma0)

set the _sigma0 hyper parameter

Definition at line 2053 of file GaussianProcess.cc.

◆ setSigma1()

template<typename T >
void lsst::afw::math::NeuralNetCovariogram< T >::setSigma1 ( double  sigma1)

set the _sigma1 hyper parameter

Definition at line 2058 of file GaussianProcess.cc.


The documentation for this class was generated from the following files: