Tutorial "02_EBD_preprocessing_and_vanilla_colab": Old imports
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 82/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- jupyter-notebook, python, pytorch
- Domain
- documentation, machine-learning
Research direction
Open the 02_EBD_preprocessing_and_vanilla_colab tutorial and run Step #1 in Colab, starting with the imports from MIOFlow.plots, MIOFlow.utils, and MIOFlow.mioflow. Update the stale imports and seed setup so the notebook's preprocessing tutorial runs without import or set_seeds errors.
Written by the indexing model from the issue text.
Description
Step #1 Import Libraries:
Imports
"from MIOFlow.plots import plot_losses
from MIOFlow.utils import set_seeds "
do not exist anymore and seem to have stayed from a previous version of MIOFlow.
Also, set_seeds(0) does not work.
Fixed it with replacing the code with this:
"import os
import urllib.request
import zipfile
import shutil
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
import scanpy as sc
import phate
import torch
The only MIOFlow module that survived the 2.0 refactor
from MIOFlow.mioflow import MIOFlow
Replaces the deleted from MIOFlow.utils import set_seeds
torch.manual_seed(0)
np.random.seed(0)
use_cuda = torch.cuda.is_available()
print(f'Using CUDA: {use_cuda}')"
- Dominant language
- Jupyter Notebook
- Stars
- 43
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from KrishnaswamyLab/MIOFlow
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
KrishnaswamyLab/MIOFlow#23 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
KrishnaswamyLab/MIOFlow#4 · 3 reactions ·
All issues in KrishnaswamyLab/MIOFlow
Similar issues
-
user-reported
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Kong/developer.konghq.com#7316 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·
-
Ecosystem: ClawMetry — the Qwen Code reader is now free and open source (follow-up to #9294 / #9338) Opencategory/integration priority/P3 scope/documentation status/ready-for-human type/feature-request
Difficulty 1/5 Under an hour Newbie friendliness 84/100