.. index:: pair: class; gpr::neb::ActiveLearningSession::ModelLease .. _doxid-classgpr_1_1neb_1_1_active_learning_session_1_1_model_lease: class gpr::neb::ActiveLearningSession::ModelLease ================================================= .. toctree:: :hidden: class_gpr_neb_ActiveLearningSession_ModelLease_ScopedParameterRestore.rst Scoped handle to a materialized model. Construction ensures that the referenced GP owns the active factor for the requested observation set. .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class ModelLease { public: // classes class :ref:`ScopedParameterRestore`; // construction :target:`ModelLease`(:ref:`ActiveLearningSession`& session, int owner); :target:`ModelLease`(const ModelLease&); :target:`ModelLease`(ModelLease&&); // methods :ref:`ModelLease`& :target:`operator=`(const :ref:`ModelLease`&); :ref:`ModelLease`& :target:`operator=`(:ref:`ModelLease`&&); :ref:`gpr::GaussianProcessRegression`& :target:`gp`() const; const :ref:`gpr::Observation`& :target:`observations`() const; int :target:`owner`() const; :ref:`ScopedParameterRestore` :target:`scopedParameterRestore`(); };