Skip to main content
Question

How to write summary statistics to a file or pdf

  • November 9, 2022
  • 2 replies
  • 49 views

Forum|alt.badge.img

I have a pretty complicated model which has many input data sets, transformers and lots of intermediatary data. I need to write a summary of the statistics at the end of the procedure including total area of results, proportions and ratios taken from the data. Which Transformers could I use to select or create statistical summaries and write them to text?

2 replies

mirco
Contributor
Forum|alt.badge.img+1
  • Contributor
  • 7 replies
  • November 10, 2022

I would try the StatisticsCalculator.


dustin
Influencer
Forum|alt.badge.img+31
  • Influencer
  • 627 replies
  • November 10, 2022

As mentioned, StatisticsCalculator to compile the data, followed by a Text File writer. text_line_data is the attribute you will need to write your statistics into. Each feature input to the writer will be a new line in the text file.