Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[generic_imitation] Setting parameters in source-target manner for paired traits / dimensional traits #164

Open
leander-j opened this issue Dec 17, 2021 · 0 comments
Assignees

Comments

@leander-j
Copy link

For the example pair of a nominal and a dimensional variable it was not possible for me to set a specific threshold for all pairs where the nominal part takes a specific value, e.g.'a'. I tried

    imi_rel_threshold = {
        'pair': {
            (('a','*'), '*'): 0,}}

but apparently the '*' operator does not work inside a pair.

Building another pair out of a nominal and an ordinal variable I found that the correct syntax for setting pair parameters is

    imi_rel_threshold = {
        'pair': {
            (('a',1), '*'): 0,
            (('a',2), '*'): 0,
            (('a',3), '*'): 0,
            (('a',4), '*'): 0,
            (('a',5), '*'): 0,}}

This is not only a bit impractical in this case but especially means that for the nominal-dimensional pair there is actually no way to set a parameter like this.

On another point this also means that for for dimensional/rational variables there is at the moment no way to set specific values.

Functionality to set thresholds, probabilities etc. depending on parameter ranges would be a possibly useful feature in that case, e.g. using intervals (('a', [lower, upper]), '*'): 0,.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants