Skip to content

Instantly share code, notes, and snippets.

@ramonrosa
Created March 11, 2020 18:48
Show Gist options
  • Save ramonrosa/c6bd708f1c403818d0b75a54de7ccdb3 to your computer and use it in GitHub Desktop.
Save ramonrosa/c6bd708f1c403818d0b75a54de7ccdb3 to your computer and use it in GitHub Desktop.
y_pred = X.dot(theta_gd)
_, ax = plt.subplots(figsize=(8,8))
ax.scatter(y, y_pred, marker='o', alpha=0.5)
ax.set_xlabel('y', fontsize=16)
ax.set_ylabel('y predito', fontsize=16)
ax.tick_params(axis='both',labelsize=14)
ax.grid()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment