Skip to content

Instantly share code, notes, and snippets.

View rigogsilva's full-sized avatar

rigo rigogsilva

View GitHub Profile
# cd.display.markdown("## Polynomial Regression")
# y = transformed_shifts['deletedEmployeeCount']
# x = transformed_shifts['deletedEmployeeCount']
# model = np.poly1d(np.polyfit(x, y, 20))
# line = np.linspace(
# transformed_shifts['deletedEmployeeCount'].min(),
# transformed_shifts['deletedEmployeeCount'].max(),
# 200
# )
# plt.scatter(x, y, color='grey')