Skip to main content
Solved

Custom transformer - is it feature-based or group-based?

  • August 1, 2013
  • 2 replies
  • 21 views

jaro
Contributor
Forum|alt.badge.img+1
Hello,

 

I am in doubt whether the custom transformer I created processes just one feature at a time. It does not have any "group-by" clause active, but still seems to accumulate all the features first and then process them, instead of processing one by one.

 

Is there a way how to check this behavior?

 

Or better, is there a way how to forcingly make it feature-based instead of group-based?

 

Thank you in anticipation,

 

 

Jaroslav

Best answer by takashi

Hi Jaroslav,

 

 

I think it cannot generally be said whether a custom transformer behaves like group-based transformer. A test like this could be effective to check how your custom transformer behaves:

 

  If the custom transformer behaves like group-based one, you will get {0, 1, 2, 3, 4, 0, 1, 2, 3, 4}, if not {0, 0, 1, 1, 2, 2, 3, 3, 4, 4}.   Takashi
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

takashi
Celebrity
  • Best Answer
  • August 2, 2013
Hi Jaroslav,

 

 

I think it cannot generally be said whether a custom transformer behaves like group-based transformer. A test like this could be effective to check how your custom transformer behaves:

 

  If the custom transformer behaves like group-based one, you will get {0, 1, 2, 3, 4, 0, 1, 2, 3, 4}, if not {0, 0, 1, 1, 2, 2, 3, 3, 4, 4}.   Takashi

jaro
Contributor
Forum|alt.badge.img+1
  • Author
  • Contributor
  • August 2, 2013
Brilliant idea, than you.