Skip to content

Commit

Permalink
v0.3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff1995 committed May 11, 2020
1 parent fa1f30d commit a16819a
Show file tree
Hide file tree
Showing 101 changed files with 1,221 additions and 1,201 deletions.
235 changes: 0 additions & 235 deletions BLAST2CO_dev/BLAST2CO.py

This file was deleted.

2 changes: 1 addition & 1 deletion Cell_BLAST/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@
"config"
]

__version__ = "0.3.6"
__version__ = "0.3.7"
3 changes: 0 additions & 3 deletions Cell_BLAST/blast.py
Original file line number Diff line number Diff line change
Expand Up @@ -1292,9 +1292,6 @@ def gene_gradient(
if normalize_deviation:
deviation /= np.linalg.norm(deviation, axis=2, keepdims=True)

# TODO: We can do some sort of interpolation here to further improve
# reliability of the results?

if eval_point in ("ref", "both"):
gene_dev_ref = joblib.Parallel(
n_jobs=n_jobs, backend="threading"
Expand Down
15 changes: 0 additions & 15 deletions Cell_BLAST/message.py

This file was deleted.

8 changes: 4 additions & 4 deletions Cell_BLAST/rmbatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,13 @@ def _build_regularizer(
input_tensor, [self.h_dim] * self.depth,
dropout=dropout.tolist(), training_flag=training_flag
), self.batch_dim), "batch_logit")
self.batch_d_loss = tf.cast(
self.batch_d_loss = tf.multiply(tf.cast(
epoch >= self.delay, tf.float32
) * tf.reduce_mean(
), tf.reduce_mean(
tf.nn.softmax_cross_entropy_with_logits_v2(
labels=batch, logits=batch_pred
), name="d_loss"
)
), name="raw_d_loss"
), name="d_loss")
self.batch_g_loss = tf.negative(self.batch_d_loss, name="g_loss")

self.vars_to_save += tf.get_collection(
Expand Down
65 changes: 0 additions & 65 deletions Datasets/collect/collect_pbmc_68k.R

This file was deleted.

17 changes: 16 additions & 1 deletion Evaluation/batch_removal_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"gene_space_method": [],
"latent_space_method": [
"PCA", "ComBat+PCA", "MNN+PCA", "CCA_anchor+PCA",
"CCA", "scVI", "Cell_BLAST"
"CCA", "Harmony", "SAUCIE", "scPhere", "scVI", "Cell_BLAST"
],
"Null": {
"dimensionality": ["NA"],
Expand Down Expand Up @@ -49,6 +49,21 @@
"lambda_rmbatch_reg": ["NA"],
"seed": 16
},
"Harmony": {
"dimensionality": [2, 5, 10, 20, 50],
"lambda_rmbatch_reg": ["NA"],
"seed": 16
},
"SAUCIE": {
"dimensionality": [2],
"lambda_rmbatch_reg": ["NA"],
"seed": 16
},
"scPhere": {
"dimensionality": [2, 5, 10, 20, 50],
"lambda_rmbatch_reg": ["NA"],
"seed": 16
},
"scVI": {
"dimensionality": [2, 5, 10, 20, 50],
"lambda_rmbatch_reg": ["NA"],
Expand Down
Loading

0 comments on commit a16819a

Please sign in to comment.