DatatoWeights operator[SOLVED]
Chrisirgens
New Altair Community Member
Hi again,
This is really a sort of follow-on from the issue solved by Marius earlier.
The operator DatatoWeights is defined as creating a new attribute weights IOObject from an example set, yet states also that the result is a vector whose elements are simply set to 1. Does this mean that there is no way that a set of weights values can be taken from an ExampleSet and recast as a new weights object? It seems impossible to scale ExampleSet vectors (examples) with any other object type than weight type.
Kindest Regards,
ChrisI
This is really a sort of follow-on from the issue solved by Marius earlier.
The operator DatatoWeights is defined as creating a new attribute weights IOObject from an example set, yet states also that the result is a vector whose elements are simply set to 1. Does this mean that there is no way that a set of weights values can be taken from an ExampleSet and recast as a new weights object? It seems impossible to scale ExampleSet vectors (examples) with any other object type than weight type.
Kindest Regards,
ChrisI
Tagged:
0
Answers
-
Hi Chris,
an example set does not contain *attribute* weights. Thus the Data to Weights has no chance to "extract" anything different 1 from the example set. From your post however I am not sure what you are trying to do. If you want to apply weights on the *examples* instead of the attributes, you can create a new attribute with Generate Attribute and assign the role "label" to it with Set Role.
Best,
Marius0 -
Hi Marius,
Many thanx again, this has given me some food for thought so I shall use your 'catalyst' to explore. :-)
Kindest Regards,
Chris.
0