Thanks romungi-MSFT for response
But I have several doubts:
How do I register as output of the ML training pipeline in the Designer the Trained best model of the Tune Model Hyperparameters module?
Once this is achieved, from what I understand, I would have to add a Web activity to the Data Factory pipeline in the following way:
Where in the URL parameter I have put the address of the REST service of the training pipeline) as you can see in the image)
But I must point out that when I tried to call the URL of the REST service I got the following error:
"Code": "UnsupportedApiVersion",
"Message": "The HTTP resource that matches the request URI 'https://westeurope.api.azureml.ms/pipelines/v1.0/subscriptions/0bfb3599-e1ef-4cef-9273-6a52efc32643/resourceGroups/aplchurn4/providers/Microsoft.MachineLearningServices/workspaces/amlaplchurn4/PipelineRuns/PipelineEndpointSubmit/Id/15368957-a5e1-40e9-854c-6f819737f989' with API version '1.0' does not support HTTP method 'GET'.",
Assuming that the previous problem was solved, in the predictive pipeline I have defined the model as input, as seen in the image,
And finally, in the prediction pipeline activity in Data Factory, I assign the output of the Web activity as an input parameter.
What I had done until now is save the output of the Tune Model Hyperparameters module in the training pipeline in a certain path as you can see in the image:
which coincides with that of an already registered model which is then the one I use in the prediction pipeline.
I don't know if it would also be worth it