Question: Challenge 4 Now we would like to test our model on the testing data that we produced in Exercise 2 . This test will give
Challenge
Now we would like to test our model on the testing data that we produced in Exercise This test will give the Root Mean Squared Logarithmic Error RMSLE which is determined by:
$$
RMSLE sqrtfracNsumiN logpi logyi
$$
$pi$ refers to the $irm th$ prediction made from Xtest
$yi$ refers to the $irm th$ value in ytest
$N$ is the length of ytest
Function Specifications:
Should take a trained model and two arrays as input. This will be the Xtest and ytest variables from Question
Should calculate and return the Root Mean Squared Logarithmic Error RMSLE between the predicted values from Xtest and the actual values in ytest
The output should be a float rounded to decimal places.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
