Which of the following statement correctly defines an endpoint, /predict, for a R function and map it to POST method?
Answers
Answered by
2
Answer:
Solution: Predict () function in R work is the S3 generic function which is the style of object oriented programming in R. Suppose there is the class called ‘obj.’ In order to create prediction function for this object and is named as predict.obj, it would extend the generic function. The function invokes particular methods which generally depend on the class of the first argument.
Similar questions