Export the model in Core ML format.

        Parameters
        ----------
        filename: str
          A valid filename where the model can be saved.

        Examples
        --------
        >>> model.export_coreml('myModel.mlmodel')

def export_coreml(self, filename):
        """
        Export the model in Core ML format.

        Parameters
        ----------
        filename: str
          A valid filename where the model can be saved.

        Examples
        --------
        >>> model.export_coreml('myModel.mlmodel')
        """
        print('This model is exported as a custom Core ML model. In order to use it in your\n'
              'application, you must also include "libRecommender.dylib". For additional\n'
              'details see:\n'
              'https://apple.github.io/turicreate/docs/userguide/recommender/coreml-deployment.html')

        import turicreate as tc
        self.__proxy__.export_to_coreml(filename)