CreateMLSModel Class Reference
Last update: 16.07.2025Defines a Moving Least Squares type model Used Properties: More...
Public Member Functions | |
| virtual string | __str__ () |
| Output function used in python context. Use this function to print instances of this class in python. More... | |
| virtual | addProperty (PropertyBase p) |
| Properties that help the ScalarMOP scheduling the Models to be built The properties class needs to be implemented for the specific model type. | |
| ModelBase * | compute (::data_handler::DataHandlerBase datahandler, TrainingPlanBase training_plan, quality_measure::QualityMeasureBase quality_measure) |
| Builds the model from the given samples and returns the model. More... | |
| CreateMLSModel () | |
| Creates an default initialized instance of this class. | |
| CreateMLSModel (CreateMLSModel other) | |
| Copies an instance of this class. | |
| virtual PropertyList | getProperties () |
| Returns the properties stored by this user. | |
| virtual bool | isValid (::data_handler::DataHandlerBase datahandler, TrainingPlanBase training_plan) override |
| Destroys an instance of this class. More... | |
| CreateMLSModel | operator= (CreateMLSModel) |
| Copies an instance of this class. | |
| virtual | transferProperties (PropertyList property_list) |
| Convenience function to transfer a complete PropertyList into the model. More... | |
Public Attributes | |
| MLSKernel | kernel |
| Specifies the kernel function type. | |
| uint64_t | max_order |
| Specifies the MLS models maximal order (degree) valid value range of [TODO], Auto ??? | |
| string | node_name |
| int | order |
| Specifies the MLS models actual order valid value range of [TODO], -1 : Auto - TODO. | |
| Transformation | value_transformation |
| Specifies the type of value transformation the model shall use. | |
| string | working_dir |
Detailed Description
Defines a Moving Least Squares type model Used Properties:
- CoefficientFactorProperty
- ComplexityProperty
- DeltaErrorInputProperty
Member Function Documentation
◆ __str__()
|
virtualinherited |
Output function used in python context. Use this function to print instances of this class in python.
- Returns
- string containing the object
Reimplemented in CreateCustomModel.
◆ compute()
| ModelBase* compute | ( | ::data_handler::DataHandlerBase | datahandler, |
| TrainingPlanBase | training_plan, | ||
| quality_measure::QualityMeasureBase | quality_measure | ||
| ) |
Builds the model from the given samples and returns the model.
- Parameters
-
datahandler The datahandler that contains the samples training_plan The training plan that specifies how the model will be trained quality_measure The quality measure that allows to compute a models approximation quality
- Returns
- The trained model iff not cancelled
◆ isValid()
|
overridevirtual |
Destroys an instance of this class.
This function checks if the model can validly be trained from the given samples
- Parameters
-
samples The samples the model shall be trained with.
- Returns
- True iff th emodel can be trained with the configuration data, the properties and samples
Implements CreateModelBase.
◆ transferProperties()
|
virtualinherited |
Convenience function to transfer a complete PropertyList into the model.
- Parameters
-
property_list The properties to transfer into this model