From a1556097c7d78135dc4f528f8a4a0b4a978e7e3c Mon Sep 17 00:00:00 2001 From: Ryan Missel Date: Sat, 30 Mar 2019 19:55:37 -0400 Subject: [PATCH] add dataplot simple, hypotheses --- findings/data_plot.py | 13 +++++++++++++ hypotheses_modeling/hypotheses.txt | 22 ++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 findings/data_plot.py create mode 100644 hypotheses_modeling/hypotheses.txt diff --git a/findings/data_plot.py b/findings/data_plot.py new file mode 100644 index 0000000..af9fb25 --- /dev/null +++ b/findings/data_plot.py @@ -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']) diff --git a/hypotheses_modeling/hypotheses.txt b/hypotheses_modeling/hypotheses.txt new file mode 100644 index 0000000..ed54461 --- /dev/null +++ b/hypotheses_modeling/hypotheses.txt @@ -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. \ No newline at end of file