Importing the model into the iOS project

The following is the project structure of the Xcode project where the .mlmodel file is imported and used for prediction:

The ViewCcontroller.swift file is where the model file created is used and the housing prediction is carried out in a mobile application. 

The housePricer.mlmodel file is the model file that was created using scikit-learn and converted into the ML model file using the Core ML converter tools. This file is included in the resources folder of the iOS Xcode project.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset