Skip to main content
Part of MOP models This class creates a custom model definable in python. It is able to register an instance derived of CreateCustomModelInterface. This registered instance may then be accessed just like any other model. It may also be serialized and de-serialized.

Public Member Functions

Public Attributes

Detailed Description

This class creates a custom model definable in python. It is able to register an instance derived of CreateCustomModelInterface. This registered instance may then be accessed just like any other model. It may also be serialized and de-serialized.

Member Function Documentation

__str__()

virtual Output function used in python context. Use this function to print instances of this class in python. Returns string containing the object Reimplemented from CreateModelBase.

compute()

override virtual Builds the model from the given samples and returns the model. Parameters Returns The trained model iff not cancelled Implements CreateModelBase.

equals()

override virtual Checking if the given configurations are equal this this instance. Parameters Returns true iff the same type and the same config entries Implements CreateModelBase.

hasRegisteredCreateModel()

Returns true iff this instance has a Python object connected to it via the registerCreateModel function. Returns true/false

isValid()

override virtual Destroys an instance of this class. This function checks if the model can validly be trained from the given samples Parameters Returns True iff th emodel can be trained with the configuration data, the properties and samples Implements CreateModelBase.

loadJson()

override virtual Function to load the Serializables data from a JsonValue. Parameters

saveJson()

override virtual Function to save the Serializables data as a JsonValue. Returns The data of the serializable as JsonValue

transferProperties()

virtual inherited Convenience function to transfer a complete PropertyList into the model. Parameters

Member Data Documentation

DISOWN

Initial value: