Skip to content

Instantly share code, notes, and snippets.

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

Embed
What would you like to do?
// Creamos el modelo de clasificación
if let classifier = try? MLClassifier(trainingData: trainingSet, targetColumn: "X_Wins")
{
// Probamos a evaluarlo...
let evaluationMetricts = classifier.evaluation(on: evaluationSet)
// ...y nos fijamos en la salida a ver qué tal ha ido.
print(evaluationMetricts.debugDescription)
...
}
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.