Skip to content

Commit

Permalink
[fix scala build issue] Delete whitespace in scala file (#3697)
Browse files Browse the repository at this point in the history
* Delete white space in `scala/dllib/src/main/scala/com/intel/analytics/bigdl/dllib/nnframes/NNClassifier.scala` and 
`scala/dllib/src/main/scala/com/intel/analytics/bigdl/dllib/example/nnframes/xgboost/xgbClassifierTrainingExample.scala`
  • Loading branch information
piaolaidelangman authored Dec 10, 2021
1 parent 47f2807 commit 45c02cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ object xgbClassifierTrainingExample {
}
val sc = NNContext.initNNContext()
val spark = SQLContext.getOrCreate(sc)

val input_path = args(0) // path to iris.data
val num_threads = args(1).toInt
val num_round = args(2).toInt
val modelsave_path= args(3) // save model to this path
val modelsave_path = args(3) // save model to this path

val schema = new StructType(Array(
StructField("sepal length", DoubleType, true),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ class XGBClassifierModel private[bigdl](
def save(path: String): Unit = {
model.write.overwrite().save(path)
}

}

object XGBClassifierModel {
Expand Down

0 comments on commit 45c02cd

Please sign in to comment.