Skip to content

Commit

Permalink
minor uodates
Browse files Browse the repository at this point in the history
  • Loading branch information
sainirmayi committed Jul 29, 2024
1 parent d9e7310 commit 34dbf81
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/control_methods/random_proportions/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
print('Reading input files', flush=True)
input_single_cell = ad.read_h5ad(par['input_single_cell'])
input_spatial_masked = ad.read_h5ad(par['input_spatial_masked'])
input_solution = ad.read_h5ad(par['input_solution'])

print('Generate predictions', flush=True)
label_distribution = input_single_cell.obs["cell_type"].value_counts()
Expand Down
2 changes: 1 addition & 1 deletion src/metrics/r2/config.vsh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ info:
R2, or the “coefficient of determination”, reports the fraction of the true proportion values' variance that can be explained by the predicted proportion values. The best score, and upper bound, is 1.0. There is no fixed lower bound for the metric. The uniform/non-weighted average across all cell types/states is used to summarise performance. By default, cases resulting in a score of NaN (perfect predictions) or -Inf (imperfect predictions) are replaced with 1.0 (perfect predictions) or 0.0 (imperfect predictions) respectively.
reference: miles2005rsquared
documentation_url: https://scikit-learn.org/stable/modules/generated/sklearn.metrics.r2_score.html
repository_url: https://github.com/scikit-learn/scikit-learn/tree/5c4aa5d0d90ba66247d675d4c3fc2fdfba3c39ff
repository_url: https://github.com/scikit-learn/scikit-learn
min: -inf
max: 1
maximize: true
Expand Down

0 comments on commit 34dbf81

Please sign in to comment.