Spaces:
Runtime error
Runtime error
added new annotations
Browse files
backend/disentangle_concepts.py
CHANGED
@@ -6,7 +6,7 @@ import torch
|
|
6 |
from umap import UMAP
|
7 |
import PIL
|
8 |
|
9 |
-
def get_separation_space(type_bin, annotations, df, samples=
|
10 |
"""
|
11 |
The get_separation_space function takes in a type_bin, annotations, and df.
|
12 |
It then samples 100 of the most representative abstracts for that type_bin and 100 of the least representative abstracts for that type_bin.
|
|
|
6 |
from umap import UMAP
|
7 |
import PIL
|
8 |
|
9 |
+
def get_separation_space(type_bin, annotations, df, samples=200, method='LR', C=0.1, latent_space='Z'):
|
10 |
"""
|
11 |
The get_separation_space function takes in a type_bin, annotations, and df.
|
12 |
It then samples 100 of the most representative abstracts for that type_bin and 100 of the least representative abstracts for that type_bin.
|
data/annotated_files/sim_seeds0000-50000.csv
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:da82633e4296ae78ce9e3e208fae374ae8983137566101060aadd11ffd3b0ff7
|
3 |
+
size 50535430
|
view_predictions.ipynb
CHANGED
The diff for this file is too large to render.
See raw diff
|
|