The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

log the exampleset size?

DrGaryDrGary Member Posts: 8 Contributor II
edited November 2018 in Help

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

Answers

  • haddockhaddock Member Posts: 849 Maven
    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  ;)
Sign In or Register to comment.