Create 10 items usually seen in Amazon, K-mart, or any other supermarkets (e.g. diapers, clothes, etc.).
(1) Create a database of 20 transactions each containingsome of these items. The information can bestored in a file, or a DBMS (e.g. ORACLE).
(2) Repeat (1) by creating 4 additional, different databases each containing 20 transactions.
Using the Apriori algorithm, generate and print out all the association rules and the input transactions for each of the 5 transactional databases you created (support and confidence should be user-specified parameters, so the output should show different support and confidence values with respect to different databases).
I want to implement this code in Python without using any inbuilt Libraries like Apriori or Association Rule.
The algorithm should be implemented without using any inbuit libraries.