Skip to content

Commit

Permalink
spotless apply
Browse files Browse the repository at this point in the history
  • Loading branch information
mn-mikke committed Apr 12, 2022
1 parent c939266 commit da2c335
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,7 @@ object H2OBinomialMetrics extends MetricCalculation {
labelCol: String,
weightCol: String,
offsetCol: String): H2OBinomialMetrics = {
calculate(
dataFrame,
domain,
predictionCol,
labelCol,
Option(weightCol),
Option(offsetCol))
calculate(dataFrame, domain, predictionCol, labelCol, Option(weightCol), Option(offsetCol))
}

override protected def getPredictionValues(dataType: DataType, domain: Array[String], row: Row): Array[Double] = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,7 @@ object H2OMultinomialMetrics extends MetricCalculation {
labelCol: String,
weightCol: String,
aucType: String): H2OMultinomialMetrics = {
calculate(
dataFrame,
domain,
predictionCol,
labelCol,
Option(weightCol),
aucType)
calculate(dataFrame, domain, predictionCol, labelCol, Option(weightCol), aucType)
}

override protected def getPredictionValues(dataType: DataType, domain: Array[String], row: Row): Array[Double] = {
Expand Down

0 comments on commit da2c335

Please sign in to comment.