Skip to content
Snippets Groups Projects
Commit d2a28f6f authored by wiepke's avatar wiepke
Browse files

Merge branch 'new-main' of...

Merge branch 'new-main' of https://gitup.uni-potsdam.de/innohs/ueq-erweiterung-dashboard into new-main

# Conflicts:
#	src/main.py
parents 14e6cca0 f99ed97d
No related branches found
No related tags found
No related merge requests found
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
......@@ -10,6 +10,7 @@ from enum import Enum
from sklearn.manifold import MDS
import scipy
from kPOD import k_pod
import time
class Categories(Enum):
......@@ -471,6 +472,9 @@ class Statistics:
return
def mean_time(self):
return self.df["TIME_SUM"].mean()
def setup_dataframes():
return Interviews(), Variables(), Values(), ProductCategories(), Rankings()
......@@ -482,13 +486,14 @@ if __name__ == '__main__':
df_filtered = interview.get_filtered(product_categories)
plotter = Plotter(df_filtered, product_categories)
statistics = Statistics(df_filtered, product_categories)
plotter.plot_groups(variables.get_groups())
plotter.plot_sex()
plotter.plot_faculty()
for example in Categories:
plotter.plot_item(example, 'top')
plotter.plot_item(example, 'mid')
plotter.plot_item(example, 'low')
# plotter.plot_groups(variables.get_groups())
# plotter.plot_sex()
# plotter.plot_faculty()
# plotter.plot_item(example, 'top')
# plotter.plot_item(example, 'mid')
# plotter.plot_item(example, 'low')
# plotter.plot_boxes(example, 5)
plotter.plot_boxes(example, 6)
print(statistics.calc_corr())
print(statistics.similarity_by_ranked_scales(rankings.get_all_rankings()))
print(time.strftime('%M:%S', time.gmtime(statistics.mean_time())))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment