Github user jkbradley commented on a diff in the pull request:
https://github.com/apache/spark/pull/21204#discussion_r185324974
--- Diff:
mllib/src/main/scala/org/apache/spark/ml/classification/Classifier.scala ---
@@ -103,7 +103,10 @@ abstract class Classifier[
* @throws IllegalArgumentException if metadata does not specify
numClasses, and the
* actual numClasses exceeds
maxNumClasses
*/
- protected def getNumClasses(dataset: Dataset[_], maxNumClasses: Int =
100): Int = {
+ protected def getNumClasses(dataset: Dataset[_],
--- End diff --
Since we don't have Instrumentation readily available, I recommend using
the old logging here. (That will also avoid this API-breaking change which is
causing the MiMA failure.)
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]