Caesar AI Atlas

In-set Condition

Also known as: In set Condition

Caesar AI Atlas Definition

An in-set condition is a decision-tree condition that tests whether a feature value belongs to a specified set of values. It can provide a compact alternative to testing many one-hot encoded categories separately and can make some decision trees more efficient.

Other Definitions

In-set Condition Source

In a decision tree, a condition that tests for the presence of one item in a set of items. For example, the following is an in-set condition: house-style in [tudor, colonial, cape] During inference, if the value of the house-style feature is or or , then this condition evaluates to Yes. If the value of the house-style feature is something else (for example, ), then this condition evaluates to No. In-set conditions usually lead to more efficient decision trees than conditions that test one-hot encoded features.

Related Terms