Skip to main content
Question

For speed of running the statistical calculator, is it possible to skip the "Complete" and "Cumulative" outputs when using Statistics Calculator?


For speed of running the statistical calculator, is it possible to skip the Complete and Cumulative outputs and only output the Summary ?

4 replies

fmelizard
Contributor
Forum|alt.badge.img+17
  • Contributor
  • July 23, 2020

Hi @rwachend Yes - if those output ports aren't connected to anything then those attribute values won't get calculated.


Forum|alt.badge.img+2

@rwachend Just to add to @danatsafe ' comment. Make sure you have Feature Caching OFF. If you have feature caching turned on, the data will be saved for the Complete and Cumulative outputs - so you can inspect them


fmelizard
Contributor
Forum|alt.badge.img+17
  • Contributor
  • July 24, 2020
markatsafe wrote:

@rwachend Just to add to @danatsafe ' comment. Make sure you have Feature Caching OFF. If you have feature caching turned on, the data will be saved for the Complete and Cumulative outputs - so you can inspect them

One other tip -- if you do want feature caching for the rest of your workflow but just don't want to pay the price for the StatsCalc's Complete/Cumulative, we don't provide a direct user interface to turn it off. However...if you put your StatisticsCalculator transformer inside a bookmark (it can be the only thing), and then connect only the output port you want to something outside the bookmark, and then...collapse the bookmark..you'll get what you want. Feature caching does not happen inside collapsed bookmarks. Only flows leaving a bookmark get cached. Hope this helps.


jackyd
Contributor
Forum|alt.badge.img+10
  • Contributor
  • November 6, 2024
fmelizard wrote:
markatsafe wrote:

@rwachend Just to add to @danatsafe ' comment. Make sure you have Feature Caching OFF. If you have feature caching turned on, the data will be saved for the Complete and Cumulative outputs - so you can inspect them

One other tip -- if you do want feature caching for the rest of your workflow but just don't want to pay the price for the StatsCalc's Complete/Cumulative, we don't provide a direct user interface to turn it off. However...if you put your StatisticsCalculator transformer inside a bookmark (it can be the only thing), and then connect only the output port you want to something outside the bookmark, and then...collapse the bookmark..you'll get what you want. Feature caching does not happen inside collapsed bookmarks. Only flows leaving a bookmark get cached. Hope this helps.

Thanks @fmelizard excellent tip. though being able to turn it off in the transformer would be great


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings