Skip to content

3 Machine Learning Approaches for Microbiome

Giuseppe Defazio, Ph.D. edited this page Jul 2, 2025 · 5 revisions

Jupyter Notebook connection:

First, set the correct conda environment:

conda deactivate 
conda activate r_notebook

Next, open jupiter notebook with the following command (you can see your port here) :

jupyter notebook /data/ML_pynb/prima_parte_ai.ipynb --allow-root --no-browser --port=[YOUR_PORT_NUMBER] --ip=127.0.0.1

Next, open up a new terminal and type:

ssh -i <YOUR_PRIVATE_KEY> -N -L 8888:localhost:8888 <YOUR_USER_NAME>@212.189.202.106

Note it holds but doesn't do anything. It means that a tunnel is open Then, copy the URL that the server prompt is suggesting you into YOUR BROWSER:

Es.:

http://127.0.0.1:8888/tree?token=(SEE_YOUR_TOKEN_ON_THE_FIRST_TERMINAL)

press ctrl + c, type y and exit jupyter

Clone this wiki locally