原书出处
Effective Machine Learning Teams (David Tan, Ada Leung, David Colls)
is_mapping({"prediction": greater_than_or_equal_to(0) and less_than_or_equal_to(4), "request": valid_request_payload}) Assuming you’ve defined a handler for requests for "/" that returns a hello world message, you can write a simple assertion like this to test that the endpoint handler returns the expected response. A readable test name. We’ve opted for the format of: “{the endpoint path} (/predict) returns {expected output} when given {a type of input}.” You can further
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/Effective Machine Learning Teams (David Tan, Ada Leung, David Colls)/_epub-src/OEBPS/ch05.html
EPUB SHA-256:d98501f374a474910f195f0adfd53c1d895ae8ddc5822476c05cd7ba006ac63d