Skip to content

Instantly share code, notes, and snippets.

@fitomad fitomad/createml-4_export.swift Secret
Created Mar 18, 2019

What would you like to do?
// Metadatos del modelo
let modelInformation = makeModelMetadata()
// Guardamos el modelo en disco
try classifier.write(toFile: "/Users/adolfo/Desktop/TicTac.mlmodel", metadata: modelInformation)
catch let error
print("No se ha podido guardar el modelo.\r\n\(error.localizedDescription)")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.