Skip to main content
. 2022 Aug 3;22(15):5803. doi: 10.3390/s22155803
Temperature_rule1 = ctrl.Rule(antecedent = (((Temperature[‘Low’] | Temperature[‘High’]) & Duration[‘Short’] & Attention[‘Normal’] & Stress[‘Moderate’]) | ((Temperature[‘Low’] | Temperature[‘High’]) & Duration[‘Short’] & Attention[‘Low’] & Stress[‘Low’]) | (Attention[‘Normal’] & Stress[‘Low’])), consequent = Outcome[‘Low Risk’], label = ‘Low Risk’)
Temperature_rule2 = ctrl.Rule(antecedent = (((Temperature[‘Low’] | Temperature[‘High’]) & Duration[‘Short’] &Attention[‘Normal’] & Stress[‘High’]) | ((Temperature[‘Low’] | Temperature[‘High’]) & Duration[‘Short’] & Attention[‘Low’] & Stress[‘Moderate’]) | (Temperature[‘Moderate’] & Duration[‘Short’] & Attention[‘Normal’] & Stress[‘Moderate’]) | (Temperature[‘Moderate’] & Duration[‘Short’] & Attention[‘Normal’] & Stress[‘High’]) | (Temperature[‘Moderate’] & Duration[‘Short’] & Attention[‘Low’] & Stress[‘Low’]) | (Temperature[‘Moderate’] & Duration[‘Short’] & Attention[‘Low’] & Stress[‘Moderate’]) | (Temperature[‘Moderate’] & Duration[‘Short’] & Attention[‘Low’] & Stress[‘High’]) | (Temperature[‘Moderate’] & Duration[‘Long’] & Attention[‘Normal’] & Stress[‘Moderate’])), consequent = Outcome[‘Medium Risk’], label = ‘Medium Risk’)
Temperature_rule3 = ctrl.Rule(antecedent = (((Temperature[‘Low’] | Temperature[‘High’]) & Duration[‘Short’] & Attention[‘Low’] & Stress[‘High’]) |
((Temperature[‘Low’] | Temperature[‘High’]) & Duration[‘Long’] & Attention[‘Normal’] & Stress[‘Moderate’]) | ((Temperature[‘Low’] | Temperature[‘High’]) & Duration[‘Long’] & Attention[‘Normal’] & Stress[‘High’]) | ((Temperature[‘Low’] | Temperature[‘High’]) & Duration[‘Long’] & Attention[‘Low’] & Stress[‘Low’]) | ((Temperature[‘Low’] | Temperature[‘High’]) & Duration[‘Long’] & Attention[‘Low’] & Stress[‘Moderate’]) | ((Temperature[‘Low’] |Temperature[‘High’]) & Duration[‘Long’] & Attention[‘Low’] & Stress[‘High’]) | (Temperature[‘Moderate’] & Duration[‘Long’] & Attention[‘Normal’] & Stress[‘High’]) | (Temperature[‘Moderate’] & Duration[‘Long’] & Attention[‘Low’] & Stress[‘Low’]) | (Temperature[‘Moderate’] & Duration[‘Long’] & Attention[‘Low’] & Stress[‘Moderate’]) | (Temperature[‘Moderate’] & Duration[‘Long’] & Attention[‘Low’] & Stress[‘High’])), consequent = Outcome[‘High Risk’], label = ‘High Risk’)
Noise_rule1 = ctrl.Rule(antecedent = ((Noise[‘High’] & Duration[‘Short’] & Attention[‘Normal’] & Stress[‘Moderate’]) | (Noise[‘High’] & Duration[‘Short’] & Attention[‘Low’] & Stress[‘Low’]) | (Noise[‘High’] & Duration[‘Short’] & Attention[‘Low’] & Stress[‘Moderate’]) | (Attention[‘Normal’] & Stress[‘Low’])), consequent = Outcome[‘Low Risk’], label = ‘Low Risk’)
Noise_rule2 = ctrl.Rule(antecedent = ((Noise[‘High’] & Duration[‘Short’] & Attention[‘Normal’] & Stress[‘High’]) | (Noise[‘Low’] & Duration[‘Short’] & Attention[‘Normal’] & Stress[‘Moderate’]) | (Noise[‘Low’] & Duration[‘Short’] & Attention[‘Normal’] & Stress[‘High’]) | (Noise[‘Low’] & Duration[‘Short’] & Attention[‘Low’] & Stress[‘Low’]) | (Noise[‘Low’] & Duration[‘Short’] & Attention[‘Low’] & Stress[‘Moderate’]) | (Noise[‘Low’] & Duration[‘Short’] & Attention[‘Low’] & Stress[‘High’]) | (Noise[‘Low’] & Duration[‘Long’] & Attention[‘Normal’] & Stress[‘Moderate’])), consequent = Outcome[‘Medium Risk’], label = ‘Medium’)
Noise_rule3 = ctrl.Rule(antecedent = ((Noise[‘High’] & Duration[‘Short’] & Attention[‘Low’] & Stress[‘High’]) | (Noise[‘High’] & Duration[‘Long’] & Attention[‘Normal’] & Stress[‘Moderate’]) | (Noise[‘High’] & Duration[‘Long’] & Attention[‘Normal’] & Stress[‘High’]) | (Noise[‘High’] & Duration[‘Long’] & Attention[‘Low’] & Stress[‘Low’]) | (Noise[‘High’] & Duration[‘Long’] & Attention[‘Low’] & Stress[‘Moderate’]) | (Noise[‘High’] & Duration[‘Long’] & Attention[‘Low’] & Stress[‘Moderate’]) | (Noise[‘High’] & Duration[‘Long’] & Attention[‘Low’] & Stress[‘High’])), consequent = Outcome[‘High Risk’], label = ‘High Risk’)
Brightness_rule1 = ctrl.Rule(antecedent=(((Brightness[‘Low’] | Brightness[‘High’]) & Duration[‘Short’] & Attention[‘Normal’] & Stress[‘Moderate’]) | ((Brightness[‘Low’] | Brightness[‘High’]) & Duration[‘Short’] & Attention[‘Low’] & Stress[‘Low’]) | ((Brightness[‘Low’] | Brightness[‘High’]) & Duration[‘Short’] & Attention[‘Low’] & Stress[‘Moderate’]) | (Attention[‘Normal’] & Stress[‘Low’])), consequent=Outcome[‘Low Risk’], label=‘Low Risk’)
Brightness_rule2 = ctrl.Rule(antecedent=(((Brightness[‘Low’] | Brightness[‘High’]) & Duration[‘Short’] & Attention[‘Normal’] & Stress[‘High’]) | ((Brightness[‘Low’] | Brightness[‘High’]) & Duration[‘Short’] & Attention[‘Low’] & Stress[‘High’]) | ((Brightness[‘Low’] | Brightness[‘High’]) & Duration[‘Long’] & Attention[‘Normal’] & Stress[‘Moderate’]) | ((Brightness[‘Low’] | Brightness[‘High’]) & Duration[‘Long’] & Attention[‘Low’] & Stress[‘Low’]) | ((Brightness[‘Low’] | Brightness[‘High’]) & Duration[‘Long’] & Attention[‘Low’] & Stress[‘Moderate’]) | (Brightness[‘Moderate’] & Duration[‘Short’] & Attention[‘Normal’] & Stress[‘Moderate’]) | (Brightness[‘Moderate’] & Duration[‘Short’] & Attention[‘Normal’] & Stress[‘High’]) | (Brightness[‘Moderate’] & Duration[‘Short’] & Attention[‘Low’] & Stress[‘Low’]) | (Brightness[‘Moderate’] & Duration[‘Short’] & Attention[‘Low’] & Stress[‘Moderate’]) | (Brightness[‘Moderate’] & Duration[‘Short’] & Attention[‘Low’] & Stress[‘High’]) | (Brightness[‘Moderate’] & Duration[‘Short’] & Attention[‘Low’] & Stress[‘High’]) | (Brightness[‘Moderate’] & Duration[‘Long’] & Attention[‘Normal’] & Stress[‘Moderate’])), consequent=Outcome[‘Medium Risk’], label=‘Medium Risk’)
Brightness_rule3 = ctrl.Rule(antecedent=(((Brightness[‘Low’] | Brightness[‘High’]) & Duration[‘Long’] & Attention[‘Normal’] & Stress[‘High’]) | ((Brightness[‘Low’] | Brightness[‘High’]) & Duration[‘Long’] & Attention[‘Low’] & Stress[‘High’]) | (Brightness[‘Moderate’] & Duration[‘Long’] & Attention[‘Normal’] & Stress[‘High’]) | (Brightness[‘Moderate’] & Duration[‘Long’] & Attention[‘Low’] & Stress[‘Low’]) | (Brightness[‘Moderate’] & Duration[‘Long’] & Attention[‘Low’] & Stress[‘Moderate’]) | (Brightness[‘Moderate’] & Duration[‘Long’] & Attention[‘Low’] & Stress[‘High’])), consequent=Outcome[‘High Risk’], label=‘High Risk’)