CoreML.Clear
------------

Clears all parameters.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [CoreML](component_CoreML.md) | [7.4](newinversion74.md) | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ✅ Yes |

MBS( "CoreML.Clear"; CoreMLRef ) 

**MBS**( **"CoreML.Clear";** /\* Clears all parameters. \*/  
**$CoreMLRef**) /\* The reference number to the model.e.g. $Model \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| CoreMLRef | The reference number to the model. | $Model |

### Result

Returns OK or error.

### Description

Clears all parameters.  
### Examples

Clear parameters:

 Set Variable \[ $r ; Value: MBS ("CoreML.Clear"; $$ML ) \]  
### See also

- [CoreML.PredictionFromFeatures](CoreMLPredictionFromFeatures.md)

### Example Databases

- [Mac and iOS/Machine Learning/Core ML Photos](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/Machine%20Learning/Core%20ML%20Photos.shtml#7ScriptAnchor_)
- [Mac and iOS/Machine Learning/CoreML](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/Machine%20Learning/CoreML.shtml#2ScriptAnchor_)

This function checks for a license.

Created 16th September 2017 , last changed 16th September 2017

  
[CoreML.Available](CoreMLAvailable.md) - [CoreML.CompileModel](CoreMLCompileModel.md)

[HTML Version](CoreMLClear.shtml)