Question: Can you tell me whats wrong in my conditional statement. Antecedents and consequents are given below just posted one value each sorted _ rules =
Can you tell me whats wrong in my conditional statement. Antecedents and consequents are given below just posted one value each
sortedrules filteredrules.sortvaluesby'lift',ascendingFalse
displaysortedrules
if sortedrules.antecedents sortedrules.consequents:
printsortedrules.antecedents
antecedents consequents
DepartmentResearch & Development, MaritalSta... BusinessTravelTravelRarely
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
