<html><body bgcolor="#FFFFFF"><div><div>hi bill,</div><div><br></div><div>:niterations controls how many of the folds actually are executed. &nbsp;the default values call for two-out-of-ten folds, i.e. a relatively quick indication of expected performance. &nbsp;change :niterations to five or ten, and yoy'll get more folds.</div><div><br></div><div>best, oe</div><div><br></div><div><br></div></div><div>On Jul 9, 2009, at 3:18 AM, "W.P. McNeill (UW)" &lt;<a href="mailto:billmcn@u.washington.edu">billmcn@u.washington.edu</a>&gt; wrote:<br><br></div><div><span></span></div><blockquote type="cite"><div>I am running parse ranking experiments on the jhpstg profile in logon/lingo/redwoods. &nbsp;I&nbsp;want&nbsp;to&nbsp;measure&nbsp;how&nbsp;stable&nbsp;the&nbsp;accuracy&nbsp;numbers&nbsp;are&nbsp;across&nbsp;different&nbsp;train/test&nbsp;partitions. &nbsp;To do this I am reading the accuracy values for individual folds out of the fold table in the output profiles.<div>
<br></div><div>In my configuration file I have nfold=10. &nbsp;However, the fold files in the output profiles contain only 2 lines. &nbsp;I assume this means only 2 folds were run instead of 10.<div><br></div><div>1. Am I correct in thinking that the experiment only used 2 folds?</div>
<div>2. Is this expected behavior?</div><div>3. How do I make the experiment do 10 folds?</div><div><br></div><div>I see that there is code in rank-profile that limits the number of folds to be less than the number of item sets (redwoods.lisp:3226). &nbsp;I don't think that is the issue here because I am using the default jhpstg item-set file which appears to contain 3492 unique item sets.</div>
<div><br></div><div>I also have niterations=2 in this file.&nbsp;I&nbsp;don't&nbsp;understand&nbsp;what&nbsp;this&nbsp;setting&nbsp;does,&nbsp;since&nbsp;I&nbsp;don't&nbsp;see&nbsp;it&nbsp;documented&nbsp;in&nbsp;Velldal&nbsp;2008&nbsp;or&nbsp;on&nbsp;the&nbsp;Logon&nbsp;wiki,&nbsp;and&nbsp;in&nbsp;the&nbsp;source&nbsp;code&nbsp;for&nbsp;rank-profile&nbsp;it&nbsp;appears&nbsp;that&nbsp;the&nbsp;nfold&nbsp;value&nbsp;is&nbsp;assignment&nbsp;to&nbsp;niterations.</div>
<div><br></div><div>4.&nbsp;What&nbsp;is&nbsp;niterations?</div><div><br></div><div>As usual, I've done due diligence looking for the answers in Velldal 2008, on the Logon Wiki, reading the Logon source code, running experiments to try and figure out what the code is supposed to be doing etc.</div>
<div><br></div><div>The full content of my grid.lisp file is shown below:</div><div><br></div><div><div><font class="Apple-style-span" face="'courier new', monospace"><span class="Apple-style-span" style="font-size: large;">(in-package :tsdb)</span></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"><span class="Apple-style-span" style="font-size: large;"><br></span></font></div><div><font class="Apple-style-span" face="'courier new', monospace"><span class="Apple-style-span" style="font-size: large;">(load "parsing.lisp")</span></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"><span class="Apple-style-span" style="font-size: large;"><br></span></font></div><div><font class="Apple-style-span" face="'courier new', monospace"><span class="Apple-style-span" style="font-size: large;">(batch-experiment</span></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"><span class="Apple-style-span" style="font-size: large;">&nbsp;:source "jhpstg" :skeleton "jhpstg"</span></font></div><div><font class="Apple-style-span" face="'courier new', monospace"><span class="Apple-style-span" style="font-size: large;">&nbsp;:nfold 10 :niterations 2 :type :mem</span></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"><span class="Apple-style-span" style="font-size: large;">&nbsp;:prefix "jhpstg"</span></font></div><div><font class="Apple-style-span" face="'courier new', monospace"><span class="Apple-style-span" style="font-size: large;">&nbsp;:score-similarities nil</span></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"><span class="Apple-style-span" style="font-size: large;">&nbsp;:grandparenting '(3 4)</span></font></div><div><font class="Apple-style-span" face="'courier new', monospace"><span class="Apple-style-span" style="font-size: large;">&nbsp;:active-edges-p '(nil t)</span></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"><span class="Apple-style-span" style="font-size: large;">&nbsp;:lexicalization-p nil</span></font></div><div><font class="Apple-style-span" face="'courier new', monospace"><span class="Apple-style-span" style="font-size: large;">&nbsp;:constituent-weight '(1 2 0)</span></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"><span class="Apple-style-span" style="font-size: large;">&nbsp;:ngram-size '(3 4) :ngram-back-off-p '(nil t)</span></font></div><div><font class="Apple-style-span" face="'courier new', monospace"><span class="Apple-style-span" style="font-size: large;">&nbsp;:lm-p nil</span></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"><span class="Apple-style-span" style="font-size: large;">&nbsp;:random-sample-size nil</span></font></div><div><font class="Apple-style-span" face="'courier new', monospace"><span class="Apple-style-span" style="font-size: large;">&nbsp;:counts-absolute 0 :counts-contexts 0 :counts-events 0 :counts-relevant 1</span></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"><span class="Apple-style-span" style="font-size: large;">&nbsp;:variance 1e0</span></font></div><div><font class="Apple-style-span" face="'courier new', monospace"><span class="Apple-style-span" style="font-size: large;">&nbsp;:relative-tolerance 1e-8)</span></font></div>
<div><br></div></div><div><br>-- <br>W.P. McNeill<br><a href="http://staff.washington.edu/billmcn/index.shtml"><a href="http://staff.washington.edu/billmcn/index.shtml">http://staff.washington.edu/billmcn/index.shtml</a></a><br>
</div></div>
</div></blockquote></body></html>