From ed87c8567136f6f42cef30d902f78fc0232c787d Mon Sep 17 00:00:00 2001 From: jordancaraballo Date: Fri, 18 Oct 2024 12:01:28 +0000 Subject: [PATCH] Adding the 'Other' class to the list --- .../bin_peng/ValidationDashboard-Peng.ipynb | 49 ++++++------------- 1 file changed, 16 insertions(+), 33 deletions(-) diff --git a/notebooks/examples/bin_peng/ValidationDashboard-Peng.ipynb b/notebooks/examples/bin_peng/ValidationDashboard-Peng.ipynb index aecfd4a..441e788 100644 --- a/notebooks/examples/bin_peng/ValidationDashboard-Peng.ipynb +++ b/notebooks/examples/bin_peng/ValidationDashboard-Peng.ipynb @@ -34,21 +34,10 @@ }, { "cell_type": "code", - "execution_count": 1, + "execution_count": null, "id": "3020b230-dcf3-486a-af7e-4568a7160c10", "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Downloading WhiteboxTools pre-compiled binary for first time use ...\n", - "Decompressing WhiteboxTools_linux_amd64.zip ...\n", - "WhiteboxTools package directory: /srv/conda/envs/notebook/lib/python3.9/site-packages/whitebox\n", - "Unexpected error: \n" - ] - } - ], + "outputs": [], "source": [ "import os\n", "import sys\n", @@ -66,25 +55,10 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": null, "id": "10f1da5e-8255-4bfe-918f-52fe1881ee87", "metadata": {}, - "outputs": [ - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "b29cc7284f984091be779db51466a7b8", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "ValidationDashboard(center=[4, -70], controls=(ZoomControl(options=['position', 'zoom_in_text', 'zoom_in_titleā€¦" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "dashboard = ValidationDashboard(\n", " default_max_zoom=80,\n", @@ -93,14 +67,15 @@ " center=[4, -70],\n", " marker_type='polygon',\n", " validation_classes=[\n", - " 'Evergreen Forest',\n", + " 'Cropland (herbaceous)',\n", " 'Deciduous Forest',\n", + " 'Evergreen Forest',\n", " 'Grassland',\n", " 'Shrubland',\n", - " 'Cropland (herbaceous)',\n", " 'Urban',\n", " 'Wetland',\n", - " 'Water'\n", + " 'Water',\n", + " 'Other'\n", " ],\n", " filter_points_by='Group1',\n", " output_dir='/home/jovyan/efs/BinPeng_Colombia/validation',\n", @@ -108,6 +83,14 @@ ")\n", "display(dashboard)" ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "b7c227d0-9cac-4772-957b-b89442829111", + "metadata": {}, + "outputs": [], + "source": [] } ], "metadata": {