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
Format/Alignment for ProcessLog
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
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
0
Answers
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