org.apache.spark.mllib.util
:: DeveloperApi :: A collection of methods used to validate data before applying ML algorithms.
Function to check if labels used for classification are either zero or one.
True if labels are all zero or one, false otherwise.
:: DeveloperApi :: A collection of methods used to validate data before applying ML algorithms.