    

 ## On this page

  

 

 # ModelBase Class Reference

 Last update: 16.07.2025 

The [ModelBase](class_model_base.xhtml "The ModelBase class is the class all model-types derive from Models are already built and valid...") class is the class all model-types derive from Models are already built and valid. [More...](class_model_base.xhtml#details)

## <a name="pub-methods"></a>Public Member Functions

<a id="aedfb47575823522e6a6d22ce6c12e826"></a>virtual [addProperty](class_property_user_base.xhtml#aedfb47575823522e6a6d22ce6c12e826) ([PropertyBase](struct_property_base.xhtml) p) Properties that help the [ScalarMOP](struct_scalar_m_o_p.xhtml "This is only a sketch of the possible ScalarMOPApproximate API Implementation shall be refined if mor...") scheduling the Models to be built The properties class needs to be implemented for the specific model type.   
 virtual [Matrix](class_matrix.xhtml) [evaluate](class_model_base.xhtml#a5ec7821e9b8c1aaa6c43dc5ca1263f2f) ([Matrix](class_matrix.xhtml) points, bool extrapolate=true)=0 Evaluates the model on the given points and returns the values. [More...](#a5ec7821e9b8c1aaa6c43dc5ca1263f2f)  
 <a id="a0e1dd7df82728594fc128ed1c797b0c0"></a>virtual [PropertyList](class_property_list.xhtml) [getProperties](class_property_user_base.xhtml#a0e1dd7df82728594fc128ed1c797b0c0) () Returns the properties stored by this user.   
 virtual [transferProperties](class_property_user_base.xhtml#ab9507274f126b856fb69cd621f0f9fb4) ([PropertyList](class_property_list.xhtml) property\_list) Convenience function to transfer a complete [PropertyList](class_property_list.xhtml "Container class for handling properties Uses templates to easily find and cast configurations of diff...") into the model. [More...](#ab9507274f126b856fb69cd621f0f9fb4)  
 <a id="details" name="details"></a>## Detailed Description

The [ModelBase](class_model_base.xhtml "The ModelBase class is the class all model-types derive from Models are already built and valid...") class is the class all model-types derive from Models are already built and valid.



## Member Function Documentation

<a id="a5ec7821e9b8c1aaa6c43dc5ca1263f2f"></a>## [◆ ](#a5ec7821e9b8c1aaa6c43dc5ca1263f2f)evaluate()

 virtual [Matrix](class_matrix.xhtml) evaluate  ( [Matrix](class_matrix.xhtml)  *points*,    bool  *extrapolate* = `true`   )   pure virtual 

Evaluates the model on the given points and returns the values.

Parameters pointsThe input points the model is evaluated on extrapolateEvaluate the points outside of the bounding box of its training data ReturnsThe values of the model on the given points Implemented in [CustomModel](class_custom_model.xhtml#a85c04b0ec7ee1ee66e21af920faabb73), [KrigingModel](class_kriging_model.xhtml#a85c04b0ec7ee1ee66e21af920faabb73), [MLSModel](class_m_l_s_model.xhtml#a85c04b0ec7ee1ee66e21af920faabb73), and [RBFModel](class_r_b_f_model.xhtml#a85c04b0ec7ee1ee66e21af920faabb73).





<a id="ab9507274f126b856fb69cd621f0f9fb4"></a>## [◆ ](#ab9507274f126b856fb69cd621f0f9fb4)transferProperties()

 virtual transferProperties  ( [PropertyList](class_property_list.xhtml)  *property\_list*)   virtualinherited 

Convenience function to transfer a complete [PropertyList](class_property_list.xhtml "Container class for handling properties Uses templates to easily find and cast configurations of diff...") into the model.

Parameters property\_listThe properties to transfer into this model