Pages: [1]
  Print  
Author Topic: log the exampleset size?  (Read 968 times)
DrGary
Newbie
*
Posts: 8


« on: June 06, 2009, 12:27:56 AM »


I'm using the DatabaseExampleSource to create an ExampleSet. Is there a way to log how many examples there are in the ExampleSet?

I didn't see anything in ProcessLog or a forum search.

Thanks,
Gary
Logged
haddock
Hero Member
*****
Posts: 853



WWW
« Reply #1 on: June 06, 2009, 12:59:49 AM »

Hi there,

Indeedy, the documentation can be, shall we say, a liitle patchy... But I know there are moves afoot to put this right, so in the meantime I hope this helps ( look in the process log table view )...

Code:
<operator name="Root" class="Process" expanded="yes">
    <operator name="ExampleSetGenerator" class="ExampleSetGenerator">
        <parameter key="target_function" value="random"/>
    </operator>
    <operator name="DataMacroDefinition" class="DataMacroDefinition">
        <parameter key="macro" value="Bla"/>
    </operator>
    <operator name="ProcessLog" class="ProcessLog">
        <list key="log">
          <parameter key="Examples" value="operator.DataMacroDefinition.value.macro_value"/>
        </list>
    </operator>
</operator>

Good weekend to all  Wink
Logged

Where is the wisdom we have lost in knowledge?
Where is the knowledge we have lost in information?

T.S.Eliot ~ Choruses from the Rock 1934
Pages: [1]
  Print  
 
Jump to: