Q3 a) Use the Apriori algorithm to identify the frequent item-sets in the following database. Then extract the strong association rules from these sets.
Min Support=50% Min Confidence=50%
TID ITEMS
100 1,3,4
200 2,3,5
300 1,2,3,5
400 2,5
500 1,2,3
600 3,5
700 1,2,3,5
800 1,5
900 1,3
Answers
Answered by
3
Answer:
char op; float num1, num2; cout << "Enter operator: +, -, *, /: "; cin >> op; cout << "Enter two operands: "; cin >> num1 >> num2; switch(op) { case '+': cout << num1 << " + " << num2 << " = " << num1 + num2; break; case '-': cout << num1 << " - " << num2 << " = " << num1 - num2; break; case '*': cout << num1 << " * " << num2 << " = " << num1 * num2; break; case '/': cout << num1 << " / " << num2 << " = " << num1 / num2; break; default: // If the operator is other than +, -, * or /, error message is shown cout << "Error! operator is not correct"; break; } return 0; }
Output
Enter operator either + or - or * or divide : - Enter two operands: 3.4 8.4 3.4 - 8.4 = -5.0
Thi
Explanation:
i,m tored good night brainliest
Similar questions
Physics,
1 month ago
Math,
2 months ago
Computer Science,
2 months ago
Math,
10 months ago
English,
10 months ago