Skip to content

Instantly share code, notes, and snippets.

@marcosatanaka
Created April 24, 2018 20:02
Show Gist options
  • Save marcosatanaka/c4c3a51fbe2f03d9206d91e3ad71a726 to your computer and use it in GitHub Desktop.
Save marcosatanaka/c4c3a51fbe2f03d9206d91e3ad71a726 to your computer and use it in GitHub Desktop.
# Definindo função de avaliação utilizando métrica Rˆ2. Melhor score = 1.0
def performance_metric(y_true, y_predict):
return r2_score(y_true, y_predict)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment