.. index:: pair: struct; gpr::io::TrainedGpState .. _doxid-structgpr_1_1io_1_1_trained_gp_state: struct gpr::io::TrainedGpState ============================== .. toctree:: :hidden: Trained GP snapshot: the observation rows, the fitted hyperparameters, and the seed-kernel text that rebuilds charts and the heat prior. Numeric arrays are the bit pattern written into the file. .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct TrainedGpState { // fields :ref:`Observation` :target:`observations`; :ref:`FieldMatrixd` :target:`length_scale`; :ref:`FieldMatrixd` :target:`atomistic_length_scale`; bool :target:`has_atomistic_length_scale` = false; double :target:`magn_sigma2` = 0.0; double :target:`const_sigma2` = 0.0; double :target:`sigma2` = 0.0; double :target:`output_mean` = 0.0; double :target:`output_scale` = 1.0; bool :target:`output_mean_frozen` = false; double :target:`pair_cutoff` = 0.0; double :target:`pair_cutoff_width` = 0.0; int :target:`model_profile` = 0; bool :target:`has_pair_kernel` = false; std::string :target:`kernel_text`; std::string :target:`identity`; };