🎉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

[S] Can I avoid Optimize Parameters algorithms' subparameters incorrect testing?

User: "mafern76"
New Altair Community Member
Updated by Jocelyn
For sure the title does not explain itself, I tried!

The problem is very simple, for example, if I set a k-NN with a grid search for:

k: 1-100 (10 steps).
measure_types: mixed, numerical and bregman.
numerical measure: 10 of them.

The process executes 10 x 3 x 10 (300) instead of 10 x 2 + 10 x 10 (120), because it tries out the 10 different numerical measures for mixed and bregman measure types, even though they do not apply to them.

Is there a way to avoid this without programming X different optimization nodes, where X is the number of instances this error occurs? X can get quite large, and the 300/120 ratio even larger!

If there is not, any insight on how to better approach my quite-brute solution space search?   ;D

Thanks in advance!!

Find more posts tagged with

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

    the easiest way would be to add two optimization operators, one for each type of measures.

    Best regards,
    Marius
    User: "mafern76"
    New Altair Community Member
    OP
    Thanks Marius! That's what I've been programming, it wasn't so much in the end.