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

Implementing first machine learning app in Swift

You can transfer your model from Python to Swift in two ways: transfer a trained model, or train a model from the ground up in Swift. The first option is easy in the case of decision trees, as a trained model can be expressed as a set of if-else conditions, which is trivial to code manually. Training the model from the ground up is required only in the situation where you want your app to learn in runtime. We will stick to the first approach in this example, but instead of coding rules manually, we will export the scikit-learn model for iOS using Core ML tools.

主站蜘蛛池模板: 海门市| 宁波市| 丹寨县| 元阳县| 盐津县| 兴义市| 嘉兴市| 苏州市| 金平| 定襄县| 伊春市| 七台河市| 泾源县| 开远市| 盘山县| 玉环县| 丹巴县| 昔阳县| 岐山县| 宣化县| 清涧县| 新宁县| 浦东新区| 安远县| 四川省| 曲周县| 桃源县| 连州市| 吉隆县| 乌恰县| 剑阁县| 托里县| 东丽区| 东乡| 通江县| 临潭县| 加查县| 和政县| 延津县| 舒兰市| 读书|