def plot_occlusion(net, X, target, square_length=7, figsize=(9, None)):
 return _plot_heat_map(net, X, figsize, (lambda net, X, n: occlusion_heatmap(net, X, target[n], square_length)))

def plot_occlusion ( net , X , target , square_length = 7 , figsize = ( 9 , None ) ) : return _plot_heat_map ( net , X , figsize , ( lambda net , X , n : occlusion_heatmap ( net , X , target [ n ] , square_length ) ) )
plot which parts of an image are particularly import for the net to classify the image correctly .