We use cookies to make your experience better. To comply with the new e-Privacy directive, we need to ask for your consent to set the cookies.
Learn more.
# If pred483 is a predicted value for observation 483 actual_value = y_test[482] predicted_value = pred483 error = actual_value - predicted_value If you clarify the context, I can provide a much more precise and useful explanation.