code: def from_learner(cls, learn: Learner,  ds_type:DatasetType=DatasetType.Valid):
          "Create an instance of `ClassificationInterpretation`"
          preds = learn.get_preds(ds_type=ds_type, with_loss=True)
          return cls(learn, *predsf from_learner(cls, learn: Learner,  ds_type:DatasetType=DatasetType.Valid):
          "Create an instance of `ClassificationInterpretation`"
          preds = learn.get_preds(ds_type=ds_type, with_loss=True)
          return cls(learn, *preds)
docs: Create an instance of `ClassificationInterpretation`