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

@sindhiyadevit

from where the r2_score is coming?

I have imported r2score from sklearn_metrics

@sindhiyadevit

why you used there in last line?

We can use right mam

@sindhiyadevit

That is not the correct way of using .