mailr2705 - /1.2/specific_fns/model_free.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward . dauvergne on October 31, 2006 - 08:24:
Author: bugman
Date: Tue Oct 31 08:23:34 2006
New Revision: 2705

URL: http://svn.gna.org/viewcvs/relax?rev=2705&view=rev
Log:
Emphasised the looping over the minimisation instances and fixed an incorrect 
comment.

The incorrect comment stated 'Require at least as many data points as params 
to prevent
under-fitting'.  It should say over-fitting.


Modified:
    1.2/specific_fns/model_free.py

Modified: 1.2/specific_fns/model_free.py
URL: 
http://svn.gna.org/viewcvs/relax/1.2/specific_fns/model_free.py?rev=2705&r1=2704&r2=2705&view=diff
==============================================================================
--- 1.2/specific_fns/model_free.py (original)
+++ 1.2/specific_fns/model_free.py Tue Oct 31 08:23:34 2006
@@ -2108,7 +2108,10 @@
             num_data_sets = 0
             num_res = 1
 
+
         # Loop over the minimisation instances.
+        #######################################
+        
         for i in xrange(num_instances):
             # Set the residue index.
             if min_algor == 'back_calc':
@@ -2618,7 +2621,7 @@
                 residue.select = 0
                 continue
 
-            # Require at least as many data points as params to prevent 
under-fitting
+            # Require at least as many data points as params to prevent 
over-fitting
             if hasattr(residue, 'params'):
                 if len(residue.params) > len(residue.relax_data):
                     residue.select = 0




Related Messages


Powered by MHonArc, Updated Tue Oct 31 08:40:06 2006