Skip to content

Commit

Permalink
Merge branch 'main' of github.com:mackelab/labproject into main
Browse files Browse the repository at this point in the history
  • Loading branch information
lappalainenj committed Feb 26, 2024
2 parents 30f262b + 6c2df87 commit b936870
Show file tree
Hide file tree
Showing 10 changed files with 4,700 additions and 530 deletions.
5 changes: 3 additions & 2 deletions configs/conf_embedding_samplesize.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
exp_log_name: "embed_samplesize" # optional but recommended
exp_log_name: "embeddings_samplesize" # optional but recommended
data: ["imagenet_real_embeddings"]
experiments: ["ScaleSampleSizeSW", "ScaleSampleSizeC2ST", "ScaleSampleSizeMMD", "ScaleSampleSizeFID",]
n: [10000]
d: [2048]
augmentation: ['imagenet_uncond_embeddings']

seed: 0
runs: 5
runs: 5
bandwidth: 64
30 changes: 17 additions & 13 deletions configs/conf_scale_reduced.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,24 @@
exp_log_name: "sample_size_dimensionality" # optional but recommended
data: ["toy_2d" , "random", "random"]
experiments: ["ScaleSampleSizeSW", "ScaleSampleSizeC2ST",
"ScaleSampleSizeMMD"]

experiments_dim: ["ScaleDimSW", "ScaleDimC2ST", "ScaleDimMMD"]
dim_sizes: [5, 10, 50, 100, 500, 1000]
sample_size: [50, 100, 200, 500, 1000, 2000, 3000, 4000]

n: [10000, 10000, 10000] #[10000, 10000, 10000]
d: [2, 10, 1000]
# datasets to use
data: ["toy_2d" , "random", "random"]
augmentation: ['gauss', 'one_dim_shift', 'one_dim_shift',]

# number of samples and dimensions
n: [10000, 10000, 10000] #samples
d: [2, 10, 1000] # dimensions

mmd_bandwidth: [1, 5, 10]
#mmd_bandwidth: [1, 10, 50]
augmentation: ['gauss', 'one_dim_shift', 'one_dim_shift',]

# sample size experiments
experiments: ["ScaleSampleSizeSW", "ScaleSampleSizeC2ST","ScaleSampleSizeMMD"]
sample_size: [50, 100, 200, 500, 1000, 2000, 3000, 4000]
runs: 5 # number of sample selection for errorbars

# dimensionality experiments
experiments_dim: ["ScaleDimSW", "ScaleDimC2ST", "ScaleDimMMD"]
dim_sizes: [5, 10, 50, 100, 500, 1000]
runs_dim: 5 # number of sample selection for errorbars

# seed for reproducibility
seed: 0
runs: 5
runs_dim: 5
358 changes: 292 additions & 66 deletions docs/notebooks/MMD_misspec_experiment.ipynb

Large diffs are not rendered by default.

97 changes: 72 additions & 25 deletions docs/notebooks/embedding_sample_size.ipynb

Large diffs are not rendered by default.

3,916 changes: 3,593 additions & 323 deletions docs/notebooks/mode_comparison.ipynb

Large diffs are not rendered by default.

145 changes: 47 additions & 98 deletions docs/notebooks/sample_size_dim_scaling.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit b936870

Please sign in to comment.