You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2020/03/16 06:07:22 UTC

[GitHub] [spark] zhengruifeng commented on a change in pull request #27922: [SPARK-30776][ML][FOLLOWUP] FValue clean up

zhengruifeng commented on a change in pull request #27922: [SPARK-30776][ML][FOLLOWUP] FValue clean up
URL: https://github.com/apache/spark/pull/27922#discussion_r392797463
 
 

 ##########
 File path: mllib/src/main/scala/org/apache/spark/ml/feature/FValueSelector.scala
 ##########
 @@ -272,10 +269,13 @@ class FValueSelectorModel private[ml](
     val selectedFeatures: Array[Int])
   extends Model[FValueSelectorModel] with FValueSelectorParams with MLWritable {
 
-  var prev = -1
 
 Review comment:
   `prev` was exposed:
   ![image](https://user-images.githubusercontent.com/7322292/76727591-70486b80-678f-11ea-9373-37b7d7ac60b9.png)
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org