I am on Windows 10 and am not able to install fastai package. Therefore I am compiling the fastai functions selectively in my notebook or creating my own.
I was trying to run the partial dependence plot. The function for it (see below) uses pdp alias for a package. Which package does ‘pdp’ refer to? I am not able to find the import command for this.
def plot_pdp(feat, clusters=None, feat_name=None):
feat_name = feat_name or feat
p = pdp.pdp_isolate(m, x, feat)
return pdp.pdp_plot(p, feat_name, plot_lines=True,
cluster=clusters is not None, n_cluster_centers=clusters)