Skip to main content
Version: 2.0.2

model_helper

ModelHelperInterface Objects

class ModelHelperInterface(ABC)

ModelHelperInterface The ModelHelperInterface is used to create a custom model for the simulation

initialize

@abstractmethod
def initialize()

Initialize the model Called once at the start of the simulation

predict

@abstractmethod
def predict(params)

Predict the output of the model

Arguments:


  • params any - Any params can be passed in. The type of the params should be specified in the implementation. It needs to be JSON parsable.