Skip to content

Commit

Permalink
added enumerate
Browse files Browse the repository at this point in the history
  • Loading branch information
Ali committed Sep 3, 2022
1 parent d102f35 commit 5beb4bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@ IFC notebooks included
- Classification of Human White Blood Cells Using Machine Learning for Stain-Free Imaging Flow Cytometry https://doi.org/10.1002/cyto.a.2392
- In vivo identification of apoptotic and extracellular vesicle-bound live cells using image-based deep learning https://doi.org/10.1080/20013078.2020.1792683
Other datasets:
- Malaria Cell Images Dataset downloaded from https://www.kaggle.com/datasets/iarunava/cell-images-for-detecting-malaria which is taken from the official NIH Website: https://ceb.nlm.nih.gov/repositories/malaria-datasets/

- Malaria Cell Images Dataset downloaded from https://www.kaggle.com/datasets/iarunava/cell-images-for-detecting-malaria which is taken from the official NIH Website: https://ceb.nlm.nih.gov/repositories/malaria-datasets/
4 changes: 2 additions & 2 deletions scifAI/ml/features.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ def transform(self, X):
visualize=False,
multichannel=False)

for i in range(len(hog_features)):
for i, _ in enumerate(hog_features):
features["Hog_" + str(i) + "_Ch" + str(ch+1)] = hog_features[i]

return features
Expand Down Expand Up @@ -452,7 +452,7 @@ class CenterOfCellsDistances(BaseEstimator, TransformerMixin):
Returns
-------
features : dict
features : dict
dictionary including hog_1, hog_2 ...
"""
Expand Down

0 comments on commit 5beb4bc

Please sign in to comment.