@@ -38,22 +38,22 @@ import org.apache.spark.sql.types._
3838private [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