🎉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

W-Logistic and EqualLabelWeighting

User: "Username"
New Altair Community Member
Updated by Jocelyn
Hi,

the W-Logistic operator throws an exception: "sum of weight of instances less than 1". I'm using the EqualLabelWeighting operator for assigning weights to examples. Shouldn't the summed up weights of all exampes be 1?

Thanks

Find more posts tagged with

Sort by:
1 - 2 of 21
    User: "TobiasMalbrecht"
    New Altair Community Member
    Hi,

    yes, in principal the weights created by the [tt]EqualLabelWeighting[/tt] operator should sum to 1 with the default parameter values. Did you check if the error occurs also when you set the [tt]total_weight[/tt] parameter to value greater than 1? Perhaps the weights do not sum exactly to 1 because of rounding errors?

    Regards,
    Tobias
    User: "Username"
    New Altair Community Member
    OP
    Tobias Malbrecht wrote:

    Hi,

    yes, in principal the weights created by the [tt]EqualLabelWeighting[/tt] operator should sum to 1 with the default parameter values. Did you check if the error occurs also when you set the [tt]total_weight[/tt] parameter to value greater than 1? Perhaps the weights do not sum exactly to 1 because of rounding errors?

    Regards,
    Tobias
    I tried  [tt]total_weight = 2[/tt] without any problems. I guess you're right with the rounding errors.