How can I use a ML model trained with Google Vertex AI with scikit learn?

I have a problem with Vertex AI. I have trained a model using the API for Vertex AI in Python. After the training, I want to retrieve the model and use it as a model obtained with a scikit-learn regressor. In particular, I have to use the library "lime" which has a method to find explanations for a particular prediction.

This is the code for finding the model with Vertex AI API.

model =

And this is the function I have to use: As you can see it requires the training data and then in the part of the explain_instance function, it requires the prediction function of the model.

I know that I can obtain the model in this way:

model = aiplatform.Model("path to my model")

How I can obtain these informations from the model trained with AutoML? Thank you!!

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum