[GitHub] spark pull request #17314: [SPARK-15790][MLlib] Audit @Since annotations in ...

2017-05-05 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/spark/pull/17314


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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



[GitHub] spark pull request #17314: [SPARK-15790][MLlib] Audit @Since annotations in ...

2017-03-22 Thread ehsun7b
Github user ehsun7b commented on a diff in the pull request:

https://github.com/apache/spark/pull/17314#discussion_r107355136
  
--- Diff: 
mllib/src/main/scala/org/apache/spark/ml/r/AFTSurvivalRegressionWrapper.scala 
---
@@ -30,6 +32,7 @@ import 
org.apache.spark.ml.regression.{AFTSurvivalRegression, AFTSurvivalRegress
 import org.apache.spark.ml.util._
 import org.apache.spark.sql.{DataFrame, Dataset}
 
+@Since("2.0.0")
 private[r] class AFTSurvivalRegressionWrapper private (
--- End diff --

Yes we can, but it takes some time... Finding the API is done by the tool, 
but adding the annotation was done manually. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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



[GitHub] spark pull request #17314: [SPARK-15790][MLlib] Audit @Since annotations in ...

2017-03-21 Thread srowen
Github user srowen commented on a diff in the pull request:

https://github.com/apache/spark/pull/17314#discussion_r107127189
  
--- Diff: 
mllib/src/main/scala/org/apache/spark/ml/r/AFTSurvivalRegressionWrapper.scala 
---
@@ -30,6 +32,7 @@ import 
org.apache.spark.ml.regression.{AFTSurvivalRegression, AFTSurvivalRegress
 import org.apache.spark.ml.util._
 import org.apache.spark.sql.{DataFrame, Dataset}
 
+@Since("2.0.0")
 private[r] class AFTSurvivalRegressionWrapper private (
--- End diff --

Hm, I think just for consistency, we shouldn't mark non-public APIs. Can 
you re-run this tool but exclude private classes?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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



[GitHub] spark pull request #17314: [SPARK-15790][MLlib] Audit @Since annotations in ...

2017-03-20 Thread ehsun7b
Github user ehsun7b commented on a diff in the pull request:

https://github.com/apache/spark/pull/17314#discussion_r107061443
  
--- Diff: 
mllib/src/main/scala/org/apache/spark/ml/r/AFTSurvivalRegressionWrapper.scala 
---
@@ -30,6 +32,7 @@ import 
org.apache.spark.ml.regression.{AFTSurvivalRegression, AFTSurvivalRegress
 import org.apache.spark.ml.util._
 import org.apache.spark.sql.{DataFrame, Dataset}
 
+@Since("2.0.0")
 private[r] class AFTSurvivalRegressionWrapper private (
--- End diff --

OK,
We have added the annotations already and the versions are very precise 
because we have developed a tool to find the exact version a class appeared in, 
for the first time.
Should we remove the annotations from private classes?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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



[GitHub] spark pull request #17314: [SPARK-15790][MLlib] Audit @Since annotations in ...

2017-03-20 Thread srowen
Github user srowen commented on a diff in the pull request:

https://github.com/apache/spark/pull/17314#discussion_r106847289
  
--- Diff: 
mllib/src/main/scala/org/apache/spark/ml/r/AFTSurvivalRegressionWrapper.scala 
---
@@ -30,6 +32,7 @@ import 
org.apache.spark.ml.regression.{AFTSurvivalRegression, AFTSurvivalRegress
 import org.apache.spark.ml.util._
 import org.apache.spark.sql.{DataFrame, Dataset}
 
+@Since("2.0.0")
 private[r] class AFTSurvivalRegressionWrapper private (
--- End diff --

No real point because the annotations are for end users and these don't 
appear in APIs or docs


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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



[GitHub] spark pull request #17314: [SPARK-15790][MLlib] Audit @Since annotations in ...

2017-03-20 Thread ehsun7b
Github user ehsun7b commented on a diff in the pull request:

https://github.com/apache/spark/pull/17314#discussion_r106844740
  
--- Diff: 
mllib/src/main/scala/org/apache/spark/ml/r/AFTSurvivalRegressionWrapper.scala 
---
@@ -30,6 +32,7 @@ import 
org.apache.spark.ml.regression.{AFTSurvivalRegression, AFTSurvivalRegress
 import org.apache.spark.ml.util._
 import org.apache.spark.sql.{DataFrame, Dataset}
 
+@Since("2.0.0")
 private[r] class AFTSurvivalRegressionWrapper private (
--- End diff --

Private classes must not have the annotation? 



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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



[GitHub] spark pull request #17314: [SPARK-15790][MLlib] Audit @Since annotations in ...

2017-03-18 Thread felixcheung
Github user felixcheung commented on a diff in the pull request:

https://github.com/apache/spark/pull/17314#discussion_r106798435
  
--- Diff: 
mllib/src/main/scala/org/apache/spark/ml/r/AFTSurvivalRegressionWrapper.scala 
---
@@ -30,6 +32,7 @@ import 
org.apache.spark.ml.regression.{AFTSurvivalRegression, AFTSurvivalRegress
 import org.apache.spark.ml.util._
 import org.apache.spark.sql.{DataFrame, Dataset}
 
+@Since("2.0.0")
 private[r] class AFTSurvivalRegressionWrapper private (
--- End diff --

here and many files below are private though?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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