🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

log the exampleset size?

User: "DrGary"
New Altair Community Member
Updated by Jocelyn

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

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "haddock"
    New Altair Community Member
    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 )...
    <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  ;)