2
0

2 کامیت‌ها 0318940100 ... 4e551e306b

نویسنده SHA1 پیام تاریخ
  Grega Bremec 4e551e306b update envs 11 ماه پیش
  Grega Bremec 65b1077868 add screenshots, finish integration description 11 ماه پیش
6فایلهای تغییر یافته به همراه32 افزوده شده و 5 حذف شده
  1. 23 1
      docs/JUPYTERLAB.adoc
  2. BIN
      docs/images/jupyterlab-kernels.png
  3. BIN
      docs/images/jupyterlab-notebook.png
  4. 2 0
      envs/env-pytorch-26.yml
  5. 4 3
      envs/env-sklearn-16.yml
  6. 3 1
      envs/env-tf-216.yml

+ 23 - 1
docs/JUPYTERLAB.adoc

@@ -49,9 +49,10 @@ Starting Jupyter will automatically open it in your browser.
 .JupyterLab Web Application
 image::images/jupyterlab-welcome.png[width="90%"]
 
+
 If you want to reopen it at any later point, you can point your browser to `\http://localhost:8888/lab` and it will reload the last state of the workbench before you closed it.
 
-There are a couple of additional options you can use, the two most convenient are listed below.
+There are a couple of additional startup options you can use, the two most convenient are listed below.
 
 * `--no-browser`, do not open a browser tab/window
 * `--notebook-dir=_path_`, where to load notebooks and kernels from
@@ -92,6 +93,27 @@ Installed kernelspec sklearn-16 in /foo/bar/baz/Jupyter/kernels/sklearn-16
 
 Do the same for the other environments.
 
+[subs="+quotes"]
+----
+(sklearn-16) $ *mamba activate pytorch-26*
+(pytorch-26) $ *pip install ipykernel*
+...
+(pytorch-26) $ *python -mipykernel install --user --name=pytorch-26*
+...
+
+(pytorch-26) $ *mamba activate tf-216*
+(tf-216) $ *pip install ipykernel*
+...
+(tf-216) $ *python -mipykernel install --user --name=tf-216*
+...
+----
+
 As you register additional kernels, you will see them show up in the JupyterLab web application.
 
+.JupyterLab With Installed Kernels
+image::images/jupyterlab-kernels.png[width="90%"]
+
 Once you open a notebook, you can select the kernel you need to run it with in the top-right corner menu.
+
+.Kernel Selection for a SciKit-Learn 1.6 Notebook
+image:images/jupyterlab-notebook.png[width="100%"]

BIN
docs/images/jupyterlab-kernels.png


BIN
docs/images/jupyterlab-notebook.png


+ 2 - 0
envs/env-pytorch-26.yml

@@ -7,4 +7,6 @@ dependencies:
   - numpy>=1.19.5
   - pandas>=1.1.5
   - matplotlib>=3.3.4
+  - seaborn>=0.9.0
+  - ipykernel>=6.29
   - pytorch>=2.6,<2.7

+ 4 - 3
envs/env-sklearn-16.yml

@@ -5,9 +5,10 @@ channels:
 dependencies:
   - python>=3.13,<3.14
   - numpy>=1.19.5
-  - scipy>=1.6.0
-  - scikit-learn>=1.6.1,<1.7.0
-  - cython>=3.0.10
   - pandas>=1.1.5
   - matplotlib>=3.3.4
   - seaborn>=0.9.0
+  - ipykernel>=6.29
+  - scipy>=1.6.0
+  - scikit-learn>=1.6.1,<1.7.0
+  - cython>=3.0.10

+ 3 - 1
envs/env-tf-216.yml

@@ -1,5 +1,5 @@
 ---
-name: tensorflow-2.16
+name: tf-216
 channels:
   - apple
   - conda-forge
@@ -8,6 +8,8 @@ dependencies:
   - numpy>=1.19.5
   - pandas>=1.1.5
   - matplotlib>=3.3.4
+  - seaborn>=0.9.0
+  - ipykernel>=6.29
   - tensorflow-deps
   - pip>=25.0
   - pip: