"Read Weight -

drdespairdrdespair MemberPosts:7Contributor II
edited May 2019 inHelp
I cant seem to figure out how to apply weights from a Write Weight file to a data set. It say use AttibuteWeight but I cant find that type of operation that can take in a weight file. Please help. Thank you!
Tagged:

Answers

  • earmijoearmijo MemberPosts:270Unicorn
    Hi dr:
    I had exactly the same problem a few days ago. The equivalent to AttributeWeightApplier in RM 5.0 is "Select by Attributes" which you can find under

    DataTransformation/Attribute Set Reduction..../Selection/

    This operator takes as inputs an example set and a set of weights. See a quick example below.

    Hope this helps,

    \Ernesto





    <宏/ >


































  • drdespairdrdespair MemberPosts:7Contributor II
    Hi, Thank for answering, but this process does not actualy take any values from the weight file, it only allows you to filter your selection by the weights. I need for the weights to be applied back to the attributes so they can be properly used inside a modeling process. When the weights are applied you can see the weighting in the meta data, after running through the Select by Weight I get my selection but the weights are not kept.:(

    D.
  • earmijoearmijo MemberPosts:270Unicorn
    The only option I can think of is "Scale by Weights" which takes a set of weights and an example set and returns an example set with the variables multiplied by their weights (variables with zero weight are dropped from the example set). Is that what you are looking for?
Sign InorRegisterto comment.