Skip to main content
Solved

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


jaro
Contributor
Forum|alt.badge.img+1
  • Contributor
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
View original
Did this help you find an answer to your question?
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, 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
Evangelist
  • 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.

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