logic in feature constructor

logic in feature constructor

by Matt Durstenfeld -
Number of replies: 3

Is it possible to use boolean logic in the feature constructor widget in Orange?

In reply to Matt Durstenfeld

Re: logic in feature constructor

by Aaron Scheffler -

Yes, what is the variable name in reference and the logic? We used Boolean logic a couple of times already with the if...else statements but the documentation for Orange is sparse in this regard. We can work together to craft the statement if you outline the problem.

In reply to Aaron Scheffler

Re: logic in feature constructor

by Matt Durstenfeld -
Using the NSQUIP dataset, trying to create a composite outcome.
I actually figured out a different way to do it that seemed to work: 1 if CDARREST+CDMI+PULEMBOL+CNSCVA>=1 else 0