A Data Science Central Community
I am doing one project on analytics by using apriori algorithm in R. I had couple of independent categorical variable with one class variable(Dependent). I generated different rules ( mostly 712 rules), which are predicting my class variable which are performing well on the known data set. Now I want to automate these results means if we don't have the class variable, where if I give different independent categorical variable it should predict my class variable. As I have 712 rules, in R I cant use nested if condition to feed all the rules. It would be very messy. How I can come out to these situation. Please help me out.