Package org.apache.spark.mllib.stat.test
Interface StreamingTestMethod
- All Superinterfaces:
- Serializable
Significance testing methods for 
StreamingTest. New 2-sample statistical significance tests
 should extend StreamingTestMethod and introduce a new entry in
 StreamingTestMethod.TEST_NAME_TO_OBJECT- 
Method SummaryModifier and TypeMethodDescriptionDStream<org.apache.spark.mllib.stat.test.StreamingTestResult>doTest(DStream<scala.Tuple2<StatCounter, StatCounter>> sampleSummaries) Perform streaming 2-sample statistical significance testing.org.apache.commons.math3.stat.descriptive.StatisticalSummaryValuestoApacheCommonsStats(StatCounter summaryStats) Implicit adapter to convert between streaming summary statistics type and the type required by the t-testing libraries.
- 
Method Details- 
methodNameString methodName()
- 
nullHypothesisString nullHypothesis()
- 
doTestDStream<org.apache.spark.mllib.stat.test.StreamingTestResult> doTest(DStream<scala.Tuple2<StatCounter, StatCounter>> sampleSummaries) Perform streaming 2-sample statistical significance testing.- Parameters:
- sampleSummaries- stream pairs of summary statistics for the 2 samples
- Returns:
- stream of rest results
 
- 
toApacheCommonsStatsorg.apache.commons.math3.stat.descriptive.StatisticalSummaryValues toApacheCommonsStats(StatCounter summaryStats) Implicit adapter to convert between streaming summary statistics type and the type required by the t-testing libraries.- Parameters:
- summaryStats- (undocumented)
- Returns:
- (undocumented)
 
 
-