Spaces:
Running
Running
Commit
·
116d200
1
Parent(s):
5c8cf60
correation >> correlation
Browse files
app.py
CHANGED
|
@@ -781,7 +781,7 @@ def create_interface():
|
|
| 781 |
return gr.CheckboxGroup(choices=[])
|
| 782 |
matches = [f for f in subject_data[current_subject]['feature_analysis'] if search_text.lower() in f['label'].lower()]
|
| 783 |
for match in matches:
|
| 784 |
-
if math.isnan(match['
|
| 785 |
match['pearson_correlation'] = 0
|
| 786 |
matches = sorted(matches, key=lambda x: x['pearson_correlation'], reverse=True)
|
| 787 |
matches = [f"{f['label']} ({f['index']})" for f in matches]
|
|
|
|
| 781 |
return gr.CheckboxGroup(choices=[])
|
| 782 |
matches = [f for f in subject_data[current_subject]['feature_analysis'] if search_text.lower() in f['label'].lower()]
|
| 783 |
for match in matches:
|
| 784 |
+
if math.isnan(match['pearson_correlation']):
|
| 785 |
match['pearson_correlation'] = 0
|
| 786 |
matches = sorted(matches, key=lambda x: x['pearson_correlation'], reverse=True)
|
| 787 |
matches = [f"{f['label']} ({f['index']})" for f in matches]
|