Facing this error please help me on this"'numpy.float64' object is not callable"

Hi, I am facing **TypeError: ‘numpy.float64’ object is not callable while finding scores on linear regression please help me


from where the r2_score is coming?

I have imported r2score from sklearn_metrics


why you used there in last line?

We can use right mam


That is not the correct way of using .