-
-
Save fitomad/b3e1b8246d42f507bfde13612372a07a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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