doddle-model icon indicating copy to clipboard operation
doddle-model copied to clipboard

Make estimator API typesafe

Open inejc opened this issue 5 years ago • 0 comments

Currently, we throw errors at runtime if .predict is called on an unfitted estimator, conversely, we throw an error if .fit is called on a trained estimator. The idea of this issue is that such mistakes should be caught at compile time rather than runtime.

inejc avatar Oct 03 '19 08:10 inejc