[prev in list] [next in list] [prev in thread] [next in thread]
List: relax-commits
Subject: r2705 - /1.2/specific_fns/model_free.py
From: edward.dauvergne () domain ! hid
Date: 2006-10-31 7:23:36
Message-ID: E1GenyD-0003i3-Bk () domain ! hid
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic