🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

DatatoWeights operator[SOLVED]

User: "Chrisirgens"
New Altair Community Member
Updated by Jocelyn
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

Find more posts tagged with

Sort by:
1 - 2 of 21
    User: "MariusHelf"
    New Altair Community Member
    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,
    Marius
    User: "Chrisirgens"
    New Altair Community Member
    OP
    Hi Marius,

    Many thanx again, this has given me some food for thought so I shall use your 'catalyst' to explore. :-)

    Kindest Regards,

    Chris.