Skip to content

Commit 147311b

Browse files
author
Wayne Zhang
committed
improve doc
1 parent 698588e commit 147311b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ private[feature] trait RFormulaBase extends HasFeaturesCol with HasLabelCol {
4646
* - 'alphabetDesc': descending alphabetical order
4747
* - 'alphabetAsc': ascending alphabetical order
4848
* Default is 'frequencyDesc'.
49+
* When the ordering is set to 'alphabetDesc', `RFormula` drops the same category as R
50+
* when encoding strings.
4951
*
5052
* @group param
5153
*/

0 commit comments

Comments
 (0)