Updated 3 years ago
association-rule-mining
from google.colab import drive
drive.mount('/content/drive')
Drive already mounted at /content/drive; to attempt to forcibly remount, call drive.mount("/content/drive", force_remount=True).
!pip3 install PyFIM
Requirement already satisfied: PyFIM in /usr/local/lib/python3.7/dist-packages (6.28)
import pandas as pd
from fim import apriori
import warnings
import ast
warnings.filterwarnings("ignore")
Load the data and extract the name of writers/director/actors for each movie.