Dataset
KOHDataset(field_dataset, sim_dataset)
dataclass
A class to handle the simulation and observation data for the KOH framework.
Parameters:
-
field_dataset
(Dataset
) –The observation data of size \(M \times P\).
-
sim_dataset
(Dataset
) –The simulation data of size \(N \times P+Q\). The first \(P\) columns are the input data, and the last \(Q\) columns are the calibration parameters.
Xc
property
Returns the input data for the simulation output.
Xf
property
Returns the input data for the field observations.
d
property
Returns the field observations stacked above the simulation output. Note this is the opposite of the KOH paper. For no good reason really. Should this be changed? What are the numerical implications?
n
property
Number of observations.
y
property
Returns the simulation output.
z
property
Returns the field observations.
X(theta)
Returns the input data for the field observations and simulation output.
Xf_theta(theta)
Returns the input data for the field observations and calibration parameters.
Source code in .tox/docs/lib/python3.12/site-packages/kohgpjax/dataset.py
__post_init__()
Checks that the shapes of \(z\), \(y\), \(X_f\) and \(X_s\) are compatible
Source code in .tox/docs/lib/python3.12/site-packages/kohgpjax/dataset.py
__repr__()
Returns a string representation of the KOHDataset instance.
Source code in .tox/docs/lib/python3.12/site-packages/kohgpjax/dataset.py
get_dataset(theta)
Returns the dataset with the field observations and the simulator observations concatenated with the given theta.