官术网_书友最值得收藏!

Integrating and deploying

The boundary between the ML model and the rest of the application must be defined. For example, will the algorithm expose a Predict method that provides a prediction for a given input sample? Will input data processing be required of the caller, or will the algorithm implementation perform it? Once this is defined, it is easier to follow best practice when it comes to testing or mocking the ML model to ensure correctness of the rest of the application. Separation of concerns is important for any application, but for ML applications where one component behaves like a black box, it is essential.

There are a number of possible deployment methods for ML applications. For Go applications, containerization is particularly simple as the compiled binary will have no dependencies (except in some very special cases, such as where bindings to deep learning libraries such as TensorFlow are required). Different cloud vendors also admit serverless deployments and have different continuous integration/continuous deployment (CI/CD) offerings. Part of the advantage of using a language such as Go is that the application can be deployed very flexibly making use of available tooling for traditional systems applications, and without resorting to a messy polyglot approach.

In Chapter 6Deploying Machine Learning Applications, we will take a deep dive into topics such as deployment models, Platform as a Service (PaaS) versus Infrastructure as a Service (IaaS), and monitoring and alerting specific to ML applications, leveraging the tools built for the Go language.

主站蜘蛛池模板: 长丰县| 太白县| 中超| 克什克腾旗| 尤溪县| 阿合奇县| 锦屏县| 漠河县| 昆明市| 芦山县| 连云港市| 简阳市| 略阳县| 教育| 手机| 石家庄市| 海门市| 卫辉市| 潍坊市| 盐亭县| 梁河县| 德江县| 灌阳县| 游戏| 都安| 穆棱市| 布尔津县| 夏河县| 荔浦县| 昆山市| 墨竹工卡县| 琼中| 泾源县| 郴州市| 平昌县| 峨边| 桓台县| 屯昌县| 北川| 张家港市| 天祝|