| @ -0,0 +1,13 @@ | |||||
| from matplotlib import pyplot as plt | |||||
| import pandas as pd | |||||
| def plot_xy(x, y): | |||||
| plt.scatter(x, y) | |||||
| plt.xlabel(x.name) | |||||
| plt.ylabel(y.name) | |||||
| plt.show() | |||||
| wellness = pd.read_csv('../data_preparation/data/wellness.csv') | |||||
| plot_xy(wellness['Fatigue'], wellness['SleepHours']) | |||||
| @ -0,0 +1,22 @@ | |||||
| Team: | |||||
| 1. | |||||
| x - normFatigue, TimeSince | |||||
| y - normSoreness | |||||
| r2 - 0.16830803694995466 | |||||
| 2. | |||||
| x - normFatigue, TimeSince | |||||
| y - normDesire | |||||
| r2 - 0.1722466278587138 | |||||
| 3. | |||||
| x - normFatigue, TimeSince | |||||
| y - normIrritability | |||||
| r2 - 0.09563459728506452 | |||||
| 4. | |||||
| x - normSleepHours, TimeSince | |||||
| y - normSleepQualiyt | |||||
| r2 - 0.09717095676693188 | |||||
| 5. | |||||