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

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.

主站蜘蛛池模板: 遵化市| 舟曲县| 新巴尔虎右旗| 长丰县| 武冈市| 囊谦县| 藁城市| 太康县| 肇东市| 开平市| 华坪县| 鱼台县| 聊城市| 锡林浩特市| 将乐县| 台东县| 吴江市| 犍为县| 津南区| 济源市| 临潭县| 林甸县| 来宾市| 甘德县| 龙口市| 吉隆县| 赤峰市| 赤峰市| 蓬莱市| 都江堰市| 九龙县| 荣成市| 神农架林区| 环江| 松原市| 婺源县| 博兴县| 姜堰市| 都昌县| 阿城市| 洛川县|