Github user mengxr commented on a diff in the pull request:
https://github.com/apache/spark/pull/8439#discussion_r37945530
--- Diff:
mllib/src/main/scala/org/apache/spark/mllib/stat/test/TestResult.scala ---
@@ -78,11 +83,12 @@ trait TestResult[DF] {
* Object containing the test results for the chi-squared hypothesis test.
*/
@Experimental
+@Since("1.1.0")
class ChiSqTestResult private[stat] (override val pValue: Double,
- override val degreesOfFreedom: Int,
- override val statistic: Double,
- val method: String,
- override val nullHypothesis: String) extends TestResult[Int] {
+ @Since("1.1.0") override val degreesOfFreedom: Int,
--- End diff --
We need it because overridden methods do not necessarily have the same
since version as their parent.
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]