Skip to content

Instantly share code, notes, and snippets.

@SamLau95
Created September 8, 2023 07:08
Show Gist options
  • Save SamLau95/9b366b160ae0e103a6645366fab8f3f2 to your computer and use it in GitHub Desktop.
Save SamLau95/9b366b160ae0e103a6645366fab8f3f2 to your computer and use it in GitHub Desktop.
resid = pd.DataFrame({
'Predicted weight (kg)': predicted, 'Percent error': resids})
px.scatter(resid, x='Predicted weight (kg)', y='Percent error',
width=350, height=250)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment