You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@climate.apache.org by jo...@apache.org on 2013/07/25 04:24:53 UTC

svn commit: r1506802 - /incubator/climate/branches/RefactorInput/ocw/evaluation.py

Author: joyce
Date: Thu Jul 25 02:24:53 2013
New Revision: 1506802

URL: http://svn.apache.org/r1506802
Log:
CLIMATE-218 - Update Evaluation attributes docs

Modified:
    incubator/climate/branches/RefactorInput/ocw/evaluation.py

Modified: incubator/climate/branches/RefactorInput/ocw/evaluation.py
URL: http://svn.apache.org/viewvc/incubator/climate/branches/RefactorInput/ocw/evaluation.py?rev=1506802&r1=1506801&r2=1506802&view=diff
==============================================================================
--- incubator/climate/branches/RefactorInput/ocw/evaluation.py (original)
+++ incubator/climate/branches/RefactorInput/ocw/evaluation.py Thu Jul 25 02:24:53 2013
@@ -33,15 +33,23 @@ class Evaluation:
 
     In order for an Evaluation to be valid at least one Dataset must be added
     as the reference Dataset, one Dataset must be added as a target Dataset, 
-    and one metric function must be added.
+    and one metric function must be added.  
     '''
 
     def __init__(self):
-        '''Default Evaluation constructor.
-        '''
+        '''Default Evaluation constructor.'''
+        #: The reference dataset.
         self.ref_dataset = None
+        #: The target dataset(s) which should each be compared with 
+        #: the reference
+        #: dataset when the evaluation is run.
         self.target_datasets = []
+        #: The list of "binary" metrics (A metric which takes two Datasets) 
+        #: that the Evaluation should use.
         self.metrics = []
+        #: The list of "unary" metrics (A metric which takes one Dataset) that
+        #: the Evaluation should use.
+        self.unary_metrics = []
 
     def add_ref_dataset(self, ref_dataset):
         '''Add reference Dataset to the Evaluation.