Created
April 9, 2012 16:28
-
-
Save chriszf/2344561 to your computer and use it in GitHub Desktop.
Every academic program ever
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
analysis_mode = get_mode_from_input() | |
if analysis_mode == 1: | |
# Do Pearson correlation | |
data = load_data() | |
elif analysis_mode == 2: | |
# Do Spearman rank | |
data = load_data() | |
elif analysis_mode == 3: | |
# Do a literature correlation lookup | |
data = load_literature_data() | |
if analysis_mode == 3: | |
new_data = [] | |
for i in data: | |
d = reformat_literature_data(data) | |
new_data.append(d) | |
data = new_data | |
if analysis_mode == 1: | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment