Hi, I'm using Xcode 12.3 on Big Sur Beta 11.2 and my project has deployment target Mac OS 11.
In my project I trained a MLTextClassifier
I imported the model in the app and I can use it only referring as the class of the model.
In particular I can see that in the MLTextClassifier class there is the predictionWithConfidence method but if I try to use it I get a build error.
In my project I trained a MLTextClassifier
Code Block let classifier = try MLTextClassifier(trainingData: trainingData, textColumn: "NLTokens", labelColumn: "classLabel")
I imported the model in the app and I can use it only referring as the class of the model.
Code Block let myInstance = classifier()
In particular I can see that in the MLTextClassifier class there is the predictionWithConfidence method but if I try to use it I get a build error.