Click in order · Python course · Module 9: Machine Learning

R² Metric

Click the buttons to calculate R² for regression:

Items to click

  • r2_score
  • y_true
  • y_pred
  • (
  • )
  • ,

You can check the correct answer by solving this task in the CodeWorlds game.