whisk.model_stub

Module Contents

Classes

ModelStub

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

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]