Getting yt_pred syntax error

yt_pred is a predefined variable name so that why I’m getting this kind syntax error

Syntax errors are often on the line before the one that detects the error.
I recommend you count your sets of parenthesis in the previous line.

1 Like