whisk.model_stub

Module Contents

class whisk.model_stub.ModelStub[source]

A placeholder for a real ML Model. Returns the number of features in each row.

Example:

ModelStub().predict([[1,2],[3,4]]) => [2,2]
predict(self, X)[source]