Plugin visibilityCondition and/or statements

Solved!
williamwirono
Level 2
Plugin visibilityCondition and/or statements

I was looking through this link and found the example below:

"visibilityCondition" : "model.prediction_type == 'classification'"

If say I wanted to add the case where I want the parameter to show when prediction_type is either classification or regression, can I do that?


Operating system used: Windows

0 Kudos
1 Solution
NN

maybe you  can try

"visibilityCondition" : "model.prediction_type == 'classification' || model.prediction_type == 'regression'"

View solution in original post

0 Kudos
2 Replies
williamwirono
Level 2
Author

Hi everyone, was wondering if anyone has any insights on this?

0 Kudos
NN

maybe you  can try

"visibilityCondition" : "model.prediction_type == 'classification' || model.prediction_type == 'regression'"
0 Kudos