ozancicek commented on a change in pull request #24764: [SPARK-18570][ML][R] 
RFormula support * and ^ operators
URL: https://github.com/apache/spark/pull/24764#discussion_r289622765
 
 

 ##########
 File path: mllib/src/main/scala/org/apache/spark/ml/feature/RFormula.scala
 ##########
 @@ -105,12 +112,14 @@ private[feature] trait RFormulaBase extends 
HasFeaturesCol with HasLabelCol with
    * @group param
    */
   @Since("2.3.0")
-  final val stringIndexerOrderType: Param[String] = new Param(this, 
"stringIndexerOrderType",
+  final val stringIndexerOrderType: Param[String] = new Param(
+    this,
+    "stringIndexerOrderType",
     "How to order categories of a string FEATURE column used by StringIndexer. 
" +
-    "The last category after ordering is dropped when encoding strings. " +
-    s"Supported options: ${StringIndexer.supportedStringOrderType.mkString(", 
")}. " +
-    "The default value is 'frequencyDesc'. When the ordering is set to 
'alphabetDesc', " +
-    "RFormula drops the same category as R when encoding strings.",
+      "The last category after ordering is dropped when encoding strings. " +
+      s"Supported options: 
${StringIndexer.supportedStringOrderType.mkString(", ")}. " +
+      "The default value is 'frequencyDesc'. When the ordering is set to 
'alphabetDesc', " +
+      "RFormula drops the same category as R when encoding strings.",
 
 Review comment:
   reverted format changes.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to