Keeping a Prediction Consistent Across Requests

The same input should have the same preparation and result whether it arrives alone or in a batch. Keep prediction free of accidental fitting and mutable shared state.

14 sections · 4 questions · 2 coding challenges

1 / 14

Reducing Differences Between Training and Serving

BOTIE

Production experience collected in Rules of Machine Learning includes checking differences between training and serving features. A model can behave unexpectedly even when its parameter file is correct if the surrounding computation changes.

Our browser exercise does not deploy a server. It tests the core prediction procedure that an API could call, separating numerical correctness from network transport and operational concerns.

Sources for this history