endpoint: A prediction endpoint object, of class customvision_prediction_endpoint.
project: The project underlying this predictive service. Can be either an object of class customvision_project, or a string giving the ID of the project.
name: The published name of the service.
Returns
An object of class classification_service or object_detection_service, as appropriate. These are subclasses of customvision_predictive_service.
Details
These functions are handles to a predictive service that was previously published from a trained model. They have predict methods defined for them.
Examples
## Not run:endp <- customvision_training_endpoint(url="endpoint_url", key="key")myproj <- get_project(endp,"myproject")# getting the ID from the project object -- in practice you would store the ID separatelypred_endp <- customvision_prediction_endpoint(url="endpoint_url", key="pred_key")classification_service(pred_endp, myproj$project$id,"publishedname")## End(Not run)