Skip to content

Commit

Permalink
revise the remind msg when setting multi-group params in the Discreti…
Browse files Browse the repository at this point in the history
…zer et
  • Loading branch information
ckeys committed Dec 27, 2021
1 parent 823462a commit 7aec9d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class SQLDiscretizer(override val uid: String) extends SQLAlg with Functions wit
}

def trainWithoutGroup(df: DataFrame, params: Map[String, String], _method: String, metaPath: String): DataFrame = {
require(isGroupParams(params), "The Et of Discretizer is not valid for multi group params!")
require(isGroupParams(params), "The multi-group params are not available for the Discretizer Et!")
val dfWithId = df.withColumn("id", monotonically_increasing_id)
var transformedDF = dfWithId
// we need save metadatas with index, because we need index
Expand Down

0 comments on commit 7aec9d4

Please sign in to comment.