← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1108: Work in progress on outlier analysis.

 

------------------------------------------------------------
revno: 1108
committer: Lars Helge Oeverland larshelge@xxxxxxxxx
branch nick: trunk
timestamp: Tue 2009-11-24 15:09:45 +0100
message:
  Work in progress on outlier analysis.
modified:
  dhis-2/dhis-api/src/main/java/org/hisp/dhis/outlieranalysis/OutlierAnalysisService.java
  dhis-2/dhis-services/dhis-service-administration/src/main/java/org/hisp/dhis/outlieranalysis/AbstractOutlierAnalysisService.java


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription.
=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/outlieranalysis/OutlierAnalysisService.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/outlieranalysis/OutlierAnalysisService.java	2009-07-25 11:04:24 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/outlieranalysis/OutlierAnalysisService.java	2009-11-24 14:09:45 +0000
@@ -46,20 +46,6 @@
     String ID = OutlierAnalysisService.class.getName();
 
     /**
-     * Finds possible outliers for the datavalues with the selected periods.
-     * 
-     * @param organisationUnit The organisation unit.
-     * @param dataElement The data element.
-     * @param periods The periods.
-     * @param stdDevFactor The standard deviation factor.
-     * 
-     * @return A Collection of OutlierValue objects. An empty collection is
-     *         returned if no outliers were found.
-     */
-    Collection<OutlierValue> findOutliers( OrganisationUnit organisationUnit, DataElement dataElement, Collection<Period> periods,
-        Double stdDevFactor );
-
-    /**
      * Finds possible outliers for a collection of sources, dataelements and periods.
      * 
      * Checks for every combination in the cartesian product of sources,

=== modified file 'dhis-2/dhis-services/dhis-service-administration/src/main/java/org/hisp/dhis/outlieranalysis/AbstractOutlierAnalysisService.java'
--- dhis-2/dhis-services/dhis-service-administration/src/main/java/org/hisp/dhis/outlieranalysis/AbstractOutlierAnalysisService.java	2009-11-24 13:53:49 +0000
+++ dhis-2/dhis-services/dhis-service-administration/src/main/java/org/hisp/dhis/outlieranalysis/AbstractOutlierAnalysisService.java	2009-11-24 14:09:45 +0000
@@ -62,4 +62,7 @@
 
         return outlierCollection;
     }
+    
+    protected abstract Collection<OutlierValue> findOutliers( OrganisationUnit organisationUnit, 
+        DataElement dataElement, Collection<Period> periods, Double stdDevFactor );
 }