Skip to main content
Part of MOP models This class is exported as an director class through SWIG allowing the python context to define derivations from it. A user is then able to implement her own classes satisfying this interface and then being used with the MOP framework.

Public Member Functions

Public Attributes

Detailed Description

This class is exported as an director class through SWIG allowing the python context to define derivations from it. A user is then able to implement her own classes satisfying this interface and then being used with the MOP framework.

Member Function Documentation

compute()

virtual Trains the model in the goal language and returns a handle to the newly trained model that is used to access the model in the PluginModelManager. Parameters Returns true is the CustomModel could be created

displayName()

virtual Returns the name to be displayen in all GUI situations Fallback is class name. Returns the display name

getProperties()

This function makes the properties set on the C++ CustomModel class accessible to the Python context. Returns A property list

isValid()

virtual This function is used to check whether the model may be trained or not A python CreateModel… class shall implement this function to let the MOP check if the datahandler and training plan are suitable to actually train the model. Parameters Returns true iff the models training is likely to succeed

licenseLevel()

virtual Returns a user definable license level for this CustomModel “Pro”, “Premium” (default), “Enterprise”. Returns one of these values (“Premium” by default)

loadJson()

virtual This function is used to read the CreateCustomModels configuration state from the the given string. How this is done needs to be implemented in Python. Parameters Returns True iff loading the state was successful

saveJson()

virtual This function returns the state as a Json from the Python of the CustomModelInterface to be included in the CustomModel. It needs to be overloaded in Python. Returns The serialization of the python instance