stheno.model.measure module¶
-
class
stheno.model.measure.Measure[source]¶ Bases:
objectA GP model.
-
mean¶ Mean.
-
kernels¶ Kernels.
-
default¶ Global default measure.
- Type
measure.Measureor None
-
condition[source]¶ Condition the measure on observations.
- Parameters
obs (
observations.AbstractObservations) – Observations to condition on.- Returns
Posterior processes.
- Return type
list[
gp.GP]
-
default= None¶
-
logpdf[source]¶ Compute the logpdf of one multiple observations.
Can also give an AbstractObservations.
- Parameters
*pairs (tuple[
fdd.FDD, tensor]) – Pairs of FDDs and values of the observations.- Returns
Logpdf.
- Return type
scalar
-
sample[source]¶ Sample multiple processes simultaneously.
- Parameters
n (int, optional) – Number of samples. Defaults to 1.
*fdds (
fdd.FDD) – Locations to sample at.
- Returns
Tuple of samples.
- Return type
tuple
-