Commit Graph

56 Commits

Author SHA1 Message Date
3a15bd1279 cleaned up uk code for data loading 2021-05-19 16:00:59 +02:00
Tej Kedar
a2fef60b27 Modified(minor changes) to run different periods 2021-05-18 21:00:07 +02:00
Tej Kedar
010815dca3 Updated UK analysis file
Executes multiple period datasets
2021-05-18 20:57:45 +02:00
Deepthi Pathare
1c2bfd7c41 Corrected years 2021-05-18 19:05:32 +02:00
Deepthi Pathare
c5cf10ff65 Hit plot, closes #21 2021-05-18 18:27:31 +02:00
43c77768ee fix correct display of mse 2021-05-18 16:15:56 +02:00
ff0a416e26 add political compass for germany including plotting 2021-05-18 15:29:29 +02:00
Deepthi Pathare
d41a9b3a85 Grid size chosen such that node count=5*sqrt(N), closes #20 2021-05-18 14:07:55 +02:00
Deepthi Pathare
3dafda0ed7 Plot node distances, part of #22 2021-05-13 11:29:38 +02:00
Deepthi Pathare
bf6c2e4f40 Legends are set to party plots 2021-05-12 11:33:15 +02:00
Deepthi Pathare
82cef720fc Data split based on election period and model is trained on each set, closes #15 2021-05-11 23:59:08 +02:00
69759ccd3b fixed positioning bug in display_mps causing the centroid to shift 2021-05-11 19:13:01 +02:00
Deepthi Pathare
0f74c92fa0 Correction in calculation of parties position 2021-05-11 17:36:29 +02:00
77004cd32d move requirements file and add current requirements 2021-05-11 14:15:28 +02:00
1e9e555bb0 add files until 2012 2021-05-11 14:11:48 +02:00
ac6e5248da fix german scraping to also handle xls not only xlsx 2021-05-11 14:10:28 +02:00
41a44a76b3 add input distances 2021-05-10 20:37:43 +02:00
221903d57d add party distance plot 2021-05-10 20:22:12 +02:00
Deepthi Pathare
d49e29f889 Moved requirements file 2021-05-10 14:57:32 +02:00
Deepthi Pathare
db762c4061 Restructured source files, closed #18 2021-05-10 14:55:31 +02:00
Deepthi Pathare
c5fa8fead7 Restructured source files 2021-05-10 14:02:48 +02:00
Deepthi Pathare
eea9aa4eda Restrucuted source files 2021-05-10 13:23:45 +02:00
88350876d8 fix loading of uk data and visualization 2021-05-10 11:56:27 +02:00
98ad4c13ef add uk dataset 2021-05-10 11:38:56 +02:00
ada5668eb7 add output to script so it's obvious what's happening 2021-05-10 11:31:09 +02:00
Tej Kedar
f6183d7ef7 Update uk_scraper.py
updated with From and To date feature
2021-05-07 23:37:19 +02:00
Tej Kedar
b4cee9c3c9 Add files via upload 2021-05-07 22:39:25 +02:00
Deepthi Pathare
272e5721f3 Bug fix: data used for plotting is corrected 2021-05-04 19:18:37 +02:00
e302ec0956 add party plot colors match mp plot 2021-05-04 12:14:24 +02:00
516f83ecb4 add mps and party plotting to UK dataset, #7 2021-05-04 11:52:47 +02:00
fe8b2ba0e7 add party affiliation to uk data 2021-05-04 11:47:46 +02:00
2144d5913f fix missing subplot command 2021-05-04 11:45:23 +02:00
2a16648b05 refactor plot mps and put plotting parties in function 2021-05-04 11:35:14 +02:00
a2edf05411 refactor party plotting 2021-05-04 11:19:05 +02:00
bbb5bf13bf plot parties based on mp avergae position #9 2021-05-04 11:10:22 +02:00
0587711e68 plot parties in mp plot 2021-05-04 10:42:24 +02:00
7ca3762e43 add party data to dataset loading 2021-05-04 10:41:42 +02:00
b8c9f51063 fix plotting of MPs #7 2021-05-04 10:26:49 +02:00
35317f8d67 add plotting for mps #7 2021-05-03 10:25:37 +02:00
Deepthi Pathare
a1f30d4a97 Merge branch 'main' of https://github.com/13hannes11/UU_NCML_Project into main 2021-05-02 15:58:49 +02:00
Deepthi Pathare
a2d4da9e32 Encoding corrected 2021-05-02 15:57:04 +02:00
Deepthi Pathare
f0e67102d4 Encoding corrected 2021-05-02 15:51:34 +02:00
Hannes Kuchelmeister
aee2391406 Merge pull request #10 from 13hannes11/feature/scraper
Feature/scraper
2021-04-28 13:57:47 +02:00
Deepthi Pathare
1bef2cf18d SOFM with Heatmap, resolves #5 2021-04-28 11:04:35 +02:00
a249479e56 rename variable to vote_column_to_title to more clearly show its function 2021-04-26 18:29:23 +02:00
5c0fce0384 adapt preprocessing to new title loading 2021-04-26 18:29:00 +02:00
2998717cb4 improve convert to csv and copy title_file 2021-04-26 18:27:24 +02:00
5a735427d3 add scraping data from 2019-01-01 to 2021-04-20 2021-04-26 17:52:15 +02:00
ed17bd6e4f rename scraper 2021-04-26 17:51:11 +02:00
a1c93ea83c add downloader to scraper script 2021-04-26 17:44:15 +02:00