Format/Alignment for ProcessLog

chris_ml
chris_ml New Altair Community Member
edited November 5 in Community Q&A
Hi,

with ProcessLog I log the performance value (accuracy) of the XValidation operator. The values
written to the log file have more than 15 position after the decimal point. Can this output be
formatted such that for example just 4 positions are dumped?

Also, when I log multiple values which might have different lengths (for example value "time" of
XValidation), the subsequent values are obviously also moved leading to columns with ugly looking
alignments. Can the alignment of the logged values be also somehow customized?

Regards,
Chris
Tagged:

Answers

  • land
    land New Altair Community Member
    Hi Chris,
    this is not possible in the ProcessLog operator itself, but you might use the ProcessLog2ExampleSet operator to create an exampleSet from the complete processLog table and then use the ExampleSetWriter to write it in customized formats into a file. For customization you can select the fractions of the numbers and even give a special format explained within the operators info.

    Greetings,
      Sebastian