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

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.

主站蜘蛛池模板: 博白县| 亳州市| 三明市| 岳池县| 建水县| 清水县| 德昌县| 岢岚县| 丰台区| 东乡族自治县| 攀枝花市| 三门峡市| 左云县| 尖扎县| 正阳县| 康保县| 东安县| 繁昌县| 西宁市| 松原市| 喜德县| 德阳市| 铜陵市| 始兴县| 阳原县| 尚志市| 宜良县| 津南区| 依兰县| 黄浦区| 五莲县| 辰溪县| 福泉市| 奉节县| 八宿县| 伊吾县| 三河市| 定兴县| 古交市| 普格县| 广水市|