Skip to content

Commit 4faa45b

Browse files
committed
Fixed header.
1 parent 822295b commit 4faa45b

34 files changed

+34
-34
lines changed

popprior_mf/compute_llhood.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"""
33
Compute the heldout llhood for a given model.
44
5-
@Author: De-identified Author
5+
@Author: Sohrab Salehi [email protected]
66
"""
77

88
import argparse

popprior_mf/data_utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# """
22
# Data utilities for the project, including preprocessing, binarization
3-
# @Author: De-identified Author
3+
# @Author: Sohrab Salehi [email protected]
44
# """
55

66
import torch

popprior_mf/model_encoders.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
- Encoder: the encoder network, a feedforward neural network that given the input X, outputs MEAN for the latent distibution.
66
- Encoder_full: as encoder, but also outputs STDDEV for the latent distribution.
77
8-
Author: De-identified Author
8+
@Author: Sohrab Salehi ([email protected])
99
"""
1010

1111
import torch

popprior_mf/model_pmf_eb.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
The Probabilistic Principal Component Analysis (PPCA) with an Emprical Bayes prior using variational inference
33
4-
Author: De-identified Author
4+
@Author: Sohrab Salehi ([email protected])
55
"""
66

77
import torch

popprior_mf/model_pmf_eb_column.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
The Probabilistic Principal Component Analysis (PPCA) with an Emprical Bayes prior using variational inference
33
With EB prior only on the columns
44
5-
Author: De-identified Author
5+
@Author: Sohrab Salehi ([email protected])
66
"""
77

88
import torch

popprior_mf/model_pmf_eb_column_plus.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
The Probabilistic Principal Component Analysis (PPCA) with an Emprical Bayes prior using variational inference
33
With EB prior only on the columns
44
5-
Author: De-identified Author
5+
@Author: Sohrab Salehi ([email protected])
66
"""
77

88
import torch

popprior_mf/model_pmf_eb_plus.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
Is a more true populatin prior, that is, instead of a VampPrior, it uses a mixture of the q's
55
6-
Author: De-identified Author
6+
@Author: Sohrab Salehi ([email protected])
77
"""
88

99
import torch

popprior_mf/model_pmf_eb_twin.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
The Probabilistic Principal Component Analysis (PPCA) with an Emprical Bayes prior using variational inference
33
4-
Author: De-identified Author
4+
@Author: Sohrab Salehi ([email protected])
55
"""
66

77
import torch

popprior_mf/model_pmf_eb_twin_plus.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
The Probabilistic Principal Component Analysis (PPCA) with an Emprical Bayes prior using variational inference
33
4-
Author: De-identified Author
4+
@Author: Sohrab Salehi ([email protected])
55
"""
66

77
import torch

popprior_mf/model_pmf_natural_eb_plus.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
Is a more true populatin prior, that is, instead of a VampPrior, it uses a mixture of the q's
55
6-
Author: De-identified Author
6+
@Author: Sohrab Salehi ([email protected])
77
"""
88

99
import torch

popprior_mf/model_pmf_natural_eb_single.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
The Probabilistic Principal Component Analysis (PPCA) with an Emprical Bayes prior using variational inference
33
4-
Author: De-identified Author
4+
@Author: Sohrab Salehi ([email protected])
55
"""
66

77
import torch

popprior_mf/model_pmf_natural_eb_twin_plus.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
The Probabilistic Principal Component Analysis (PPCA) with an Emprical Bayes prior using variational inference
33
4-
Author: De-identified Author
4+
@Author: Sohrab Salehi ([email protected])
55
"""
66

77
import torch

popprior_mf/model_pmf_natural_eb_twin_single.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
The Probabilistic Principal Component Analysis (PPCA) with an Emprical Bayes prior using variational inference
33
4-
Author: De-identified Author
4+
@Author: Sohrab Salehi ([email protected])
55
"""
66

77
import torch

popprior_mf/model_population_prior.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
Implements the Population Mixture of Priors.
33
4-
Author: De-identified Author
4+
@Author: Sohrab Salehi ([email protected])
55
"""
66

77

popprior_mf/model_population_prior_natural.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
Implements the Population Mixture of Priors.
33
4-
Author: De-identified Author
4+
@Author: Sohrab Salehi ([email protected])
55
"""
66

77

popprior_mf/model_ppca_eb.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
The Probabilistic Principal Component Analysis (PPCA) with an Emprical Bayes prior using variational inference
33
4-
Author: De-identified Author
4+
@Author: Sohrab Salehi ([email protected])
55
"""
66

77
import torch

popprior_mf/model_ppca_eb_column.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
The Probabilistic Principal Component Analysis (PPCA) with an Emprical Bayes prior using variational inference
33
with just an EB prior on the global paramters.
44
5-
Author: De-identified Author
5+
@Author: Sohrab Salehi ([email protected])
66
"""
77

88
import torch

popprior_mf/model_ppca_eb_column_plus.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
The Probabilistic Principal Component Analysis (PPCA) with an Emprical Bayes prior using variational inference
33
with just an EB prior on the global paramters.
44
5-
Author: De-identified Author
5+
@Author: Sohrab Salehi ([email protected])
66
"""
77

88
import torch

popprior_mf/model_ppca_eb_plus.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
The Probabilistic Principal Component Analysis (PPCA) with an Emprical Bayes prior using variational inference.
33
Uses a population prior instead of a vamp prior.
44
5-
Author: De-identified Author
5+
@Author: Sohrab Salehi ([email protected])
66
"""
77

88
import torch

popprior_mf/model_ppca_eb_twin.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
The Probabilistic Principal Component Analysis (PPCA) with an Emprical Bayes prior using variational inference
33
with the addition of a EB prior on the global paramters.
44
5-
Author: De-identified Author
5+
@Author: Sohrab Salehi ([email protected])
66
"""
77

88
import torch

popprior_mf/model_ppca_eb_twin_plus.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
The Probabilistic Principal Component Analysis (PPCA) with an Emprical Bayes prior using variational inference
33
with the addition of a EB prior on the global paramters.
44
5-
Author: De-identified Author
5+
@Author: Sohrab Salehi ([email protected])
66
"""
77

88
import torch

popprior_mf/model_ppca_natural_eb_single.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
The Probabilistic Principal Component Analysis (PPCA) with an Emprical Bayes prior using variational inference
33
4-
Author: De-identified Author
4+
@Author: Sohrab Salehi ([email protected])
55
"""
66

77
import torch

popprior_mf/model_ppca_natural_eb_twin_single.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
The Probabilistic Principal Component Analysis (PPCA) with an Emprical Bayes prior using variational inference
33
with the addition of a EB prior on the global paramters.
44
5-
Author: De-identified Author
5+
@Author: Sohrab Salehi ([email protected])
66
"""
77

88
import torch

popprior_mf/model_skeleton.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
3. Define the variational family q(Z|X) in the `__init__()` method of the [ObservedDistribution] instance by \
1313
equiping the each latent with the appropriate [VariationalFamilyDistribution] instance.
1414
15-
@Author: De-identified Author
15+
@Author: Sohrab Salehi [email protected]
1616
"""
1717

1818

popprior_mf/model_vampprior.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
Implements the Variational Mixture of Posteriors Prior (VampPrior) model.
33
4-
Author: De-identified Author
4+
@Author: Sohrab Salehi ([email protected])
55
"""
66

77

popprior_mf/model_vampprior_natural.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
Implements the Variational Mixture of Posteriors Prior (VampPrior) model.
33
4-
Author: De-identified Author
4+
@Author: Sohrab Salehi ([email protected])
55
"""
66

77

popprior_mf/model_vampprior_natural_single.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
Implements the Variational Mixture of Posteriors Prior (VampPrior) model.
33
4-
Author: De-identified Author
4+
@Author: Sohrab Salehi ([email protected])
55
"""
66

77

popprior_mf/model_variational_family.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
See here: https://pyro.ai/examples/sparse_gamma.html
77
8-
@Author: De-identified Author
8+
@Author: Sohrab Salehi [email protected]
99
"""
1010

1111

popprior_mf/model_variational_family_natural.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
See here: https://pyro.ai/examples/sparse_gamma.html
77
8-
@Author: De-identified Author
8+
@Author: Sohrab Salehi [email protected]
99
"""
1010

1111

popprior_mf/param_generator.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"""
33
Set of tools to generate files for a parameter sweep.
44
5-
@Author: De-identified Author
5+
@Author: Sohrab Salehi [email protected]
66
"""
77

88
import random

popprior_mf/setup_data.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""
22
Script to setup the data for experiments with CDM.
3-
Author: De-identified Author
3+
@Author: Sohrab Salehi ([email protected])
44
"""
55

66
import re

popprior_mf/training_utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# """
22
# Training utils
3-
# @Author: De-identified Author
3+
# @Author: Sohrab Salehi [email protected]
44
# """
55

66
import torch

popprior_mf/viz.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"""
33
Set of visualizations methods for the VI in factor models.
44
5-
@Author: De-identified Author
5+
@Author: Sohrab Salehi [email protected]
66
"""
77

88

popprior_mf/viz_utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
Utility functions for visualization of 2D matrices.
33
4-
Author: De-identified Author
4+
@Author: Sohrab Salehi ([email protected])
55
"""
66
from sklearn.cluster import AgglomerativeClustering
77
import matplotlib.pyplot as plt

0 commit comments

Comments
 (0)