Skip to content

Commit a1be94c

Browse files
author
Wayne Zhang
committed
fix style
1 parent 77fe864 commit a1be94c

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

mllib/src/main/scala/org/apache/spark/ml/feature/RFormula.scala

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -38,22 +38,22 @@ import org.apache.spark.sql.types._
3838
private[feature] trait RFormulaBase extends HasFeaturesCol with HasLabelCol {
3939

4040
/**
41-
* Param for how to order labels of string column. The first label after ordering is assigned
42-
* an index of 0.
43-
* Options are:
44-
* - 'frequencyDesc': descending order by label frequency (most frequent label assigned 0)
45-
* - 'frequencyAsc': ascending order by label frequency (least frequent label assigned 0)
46-
* - 'alphabetDesc': descending alphabetical order
47-
* - 'alphabetAsc': ascending alphabetical order
48-
* Default is 'frequencyDesc'.
49-
*
50-
* @group param
51-
*/
41+
* Param for how to order labels of string column. The first label after ordering is assigned
42+
* an index of 0.
43+
* Options are:
44+
* - 'frequencyDesc': descending order by label frequency (most frequent label assigned 0)
45+
* - 'frequencyAsc': ascending order by label frequency (least frequent label assigned 0)
46+
* - 'alphabetDesc': descending alphabetical order
47+
* - 'alphabetAsc': ascending alphabetical order
48+
* Default is 'frequencyDesc'.
49+
*
50+
* @group param
51+
*/
5252
@Since("2.3.0")
5353
final val stringOrderType: Param[String] = new Param(this, "stringOrderType",
5454
"how to order labels of string column. " +
55-
"The first label after ordering is assigned an index of 0. " +
56-
s"Supported options: ${StringIndexer.supportedStringOrderType.mkString(", ")}.",
55+
"The first label after ordering is assigned an index of 0. " +
56+
s"Supported options: ${StringIndexer.supportedStringOrderType.mkString(", ")}.",
5757
ParamValidators.inArray(StringIndexer.supportedStringOrderType))
5858

5959
/** @group getParam */

0 commit comments

Comments
 (0)