-
-
Save fitomad/7e896f506b39a83da443e5ee06c50a02 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
// Parámetros | |
let parameter = MLImageClassifier.ModelParameters(featureExtractor: MLImageClassifier.FeatureExtractorType.scenePrint(revision: 1), | |
validationData: validationDataSource, | |
maxIterations: 10, | |
augmentationOptions: [ .flip, .rotation ]) | |
// Creamos el clasificador | |
let classifier = try? MLImageClassifier(trainingData: trainingDataSource, parameters: parameter) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment