- Machine Learning with Swift
- Alexander Sosnovshchenko
- 113字
- 2021-06-24 18:54:59
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.
推薦閱讀
- Raspberry Pi 3 Cookbook for Python Programmers
- Mastering Delphi Programming:A Complete Reference Guide
- BeagleBone By Example
- AMD FPGA設計優化寶典:面向Vivado/SystemVerilog
- Svelte 3 Up and Running
- 分布式微服務架構:原理與實戰
- 微軟互聯網信息服務(IIS)最佳實踐 (微軟技術開發者叢書)
- Practical Machine Learning with R
- 計算機組裝維修與外設配置(高等職業院校教改示范教材·計算機系列)
- SiFive 經典RISC-V FE310微控制器原理與實踐
- 基于PROTEUS的電路設計、仿真與制板
- Intel FPGA權威設計指南:基于Quartus Prime Pro 19集成開發環境
- 微控制器的應用
- USB應用開發寶典
- UML精粹:標準對象建模語言簡明指南(第3版)