import%20marimo%0A%0A__generated_with%20%3D%20%220.25.2%22%0Aapp%20%3D%20marimo.App(%0A%20%20%20%20width%3D%22full%22%2C%0A%20%20%20%20app_title%3D%22hyperFVC%20%7C%20Paper%20methods%20and%20results%22%2C%0A%20%20%20%20css_file%3D%22viewer.css%22%2C%0A)%0A%0A%0A%40app.cell%0Adef%20_()%3A%0A%20%20%20%20from%20pathlib%20import%20Path%0A%20%20%20%20import%20marimo%20as%20mo%0A%20%20%20%20from%20paper%20import%20FIGURES%2C%20TABLES%2C%20image_or_note%2C%20load_paper%0A%20%20%20%20from%20paper_sections%20import%20METHODS%2C%20RESULTS%0A%20%20%20%20from%20reuse%20import%20MODULES%2C%20checkpoint_families%2C%20load_reuse%2C%20module_ids%2C%20source_bytes%0A%20%20%20%20from%20reuse_guides%20import%20example_code%2C%20visual_example%0A%0A%20%20%20%20root%20%3D%20Path(__file__).resolve().parent%0A%20%20%20%20paper%20%3D%20load_paper(root)%0A%20%20%20%20reuse%20%3D%20load_reuse(root)%0A%20%20%20%20return%20(%0A%20%20%20%20%20%20%20%20FIGURES%2C%0A%20%20%20%20%20%20%20%20METHODS%2C%0A%20%20%20%20%20%20%20%20MODULES%2C%0A%20%20%20%20%20%20%20%20RESULTS%2C%0A%20%20%20%20%20%20%20%20TABLES%2C%0A%20%20%20%20%20%20%20%20checkpoint_families%2C%0A%20%20%20%20%20%20%20%20example_code%2C%0A%20%20%20%20%20%20%20%20image_or_note%2C%0A%20%20%20%20%20%20%20%20mo%2C%0A%20%20%20%20%20%20%20%20module_ids%2C%0A%20%20%20%20%20%20%20%20paper%2C%0A%20%20%20%20%20%20%20%20reuse%2C%0A%20%20%20%20%20%20%20%20root%2C%0A%20%20%20%20%20%20%20%20source_bytes%2C%0A%20%20%20%20%20%20%20%20visual_example%2C%0A%20%20%20%20)%0A%0A%0A%40app.cell%0Adef%20_(mo)%3A%0A%20%20%20%20section%20%3D%20mo.ui.radio(%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22%F0%9F%8F%A0%20%20Overview%22%3A%20%22Overview%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22%F0%9F%A7%AA%20%20Methods%22%3A%20%22Methods%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22%F0%9F%93%8A%20%20Results%22%3A%20%22Results%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22%F0%9F%94%81%20%20Reproduce%22%3A%20%22Reproduce%22%2C%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20value%3D%22%F0%9F%8F%A0%20%20Overview%22%2C%0A%20%20%20%20)%0A%20%20%20%20return%20(section%2C)%0A%0A%0A%40app.cell%0Adef%20_(mo)%3A%0A%20%20%20%20%23%20Persistent%20tab%20bar%3A%20content%20is%20rendered%20below%20so%20its%20selection%20survives%20reruns.%0A%20%20%20%20view_tabs%20%3D%20mo.ui.tabs(%7B%22%F0%9F%93%84%20Paper%22%3A%20%22%22%2C%20%22%F0%9F%A7%A9%20Reuse%20code%20%26%20checkpoints%22%3A%20%22%22%7D)%0A%20%20%20%20return%20(view_tabs%2C)%0A%0A%0A%40app.cell%0Adef%20_(METHODS%2C%20RESULTS%2C%20mo%2C%20section)%3A%0A%20%20%20%20_topics%20%3D%20METHODS%20if%20section.value%20%3D%3D%20%22Methods%22%20else%20RESULTS%20if%20section.value%20%3D%3D%20%22Results%22%20else%20%7B%7D%0A%20%20%20%20topic_picker%20%3D%20mo.ui.radio(list(_topics)%2C%20value%3Dnext(iter(_topics)%2C%20None))%0A%20%20%20%20return%20(topic_picker%2C)%0A%0A%0A%40app.cell%0Adef%20_(FIGURES%2C%20MODULES%2C%20TABLES%2C%20mo%2C%20paper%2C%20reuse)%3A%0A%20%20%20%20_sha%20%3D%20paper%5B%22manifest%22%5D%5B%22tex_sha256%22%5D%0A%20%20%20%20mo.Html(f%22%22%22%0A%20%20%20%20%3Cheader%20class%3D%22fvc-topbar%22%3E%0A%20%20%20%20%20%20%3Cdiv%3E%0A%20%20%20%20%20%20%20%20%3Cp%20class%3D%22fvc-eyebrow%22%3ESemi-arid%20UAS%20hyperspectral%20%C2%B7%20manuscript%20explorer%3C%2Fp%3E%0A%20%20%20%20%20%20%20%20%3Ch1%3EhyperFVC%3C%2Fh1%3E%0A%20%20%20%20%20%20%20%20%3Cp%3EMethods%2C%20experiments%20and%20results%20of%20the%20paper%2C%20read%20from%20the%20captured%20TeX.%3C%2Fp%3E%0A%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%20%20%3Cdiv%20class%3D%22fvc-chips%22%3E%0A%20%20%20%20%20%20%20%20%3Cspan%20class%3D%22fvc-chip%22%3E%7Blen(TABLES)%7D%20tables%3C%2Fspan%3E%0A%20%20%20%20%20%20%20%20%3Cspan%20class%3D%22fvc-chip%22%3E%7Blen(FIGURES)%7D%20figures%3C%2Fspan%3E%0A%20%20%20%20%20%20%20%20%3Cspan%20class%3D%22fvc-chip%22%3E%7Blen(MODULES)%7D%20reusable%20modules%3C%2Fspan%3E%0A%20%20%20%20%20%20%20%20%3Cspan%20class%3D%22fvc-chip%22%3E%7Blen(reuse%5B%22checkpoints%22%5D)%7D%20checkpoint%20locations%3C%2Fspan%3E%0A%20%20%20%20%20%20%20%20%3Cspan%20class%3D%22fvc-chip%22%20title%3D%22%7B_sha%7D%22%3ETeX%20%7B_sha%5B%3A12%5D%7D%E2%80%A6%3C%2Fspan%3E%0A%20%20%20%20%20%20%20%20%3Cspan%20class%3D%22fvc-chip%22%3E%3Ca%20href%3D%22https%3A%2F%2Fgithub.com%2FLNSOTOM%2Ffvc_function%22%0A%20%20%20%20%20%20%20%20%20%20target%3D%22_blank%22%20rel%3D%22noopener%22%3EWorkflow%20code%20%E2%86%97%3C%2Fa%3E%3C%2Fspan%3E%0A%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3C%2Fheader%3E%0A%20%20%20%20%22%22%22)%0A%20%20%20%20return%0A%0A%0A%40app.cell%0Adef%20_(mo%2C%20section%2C%20topic_picker)%3A%0A%20%20%20%20_nav%20%3D%20%5B%0A%20%20%20%20%20%20%20%20mo.Html('%3Cdiv%20class%3D%22fvc-brand%22%3E%F0%9F%8C%BF%20hyperFVC%3C%2Fdiv%3E')%2C%0A%20%20%20%20%20%20%20%20mo.Html('%3Cp%20class%3D%22fvc-side-title%22%3ESection%3C%2Fp%3E')%2C%0A%20%20%20%20%20%20%20%20section%2C%0A%20%20%20%20%5D%0A%20%20%20%20if%20section.value%20in%20(%22Methods%22%2C%20%22Results%22)%3A%0A%20%20%20%20%20%20%20%20_nav%20%2B%3D%20%5Bmo.Html(f'%3Cp%20class%3D%22fvc-side-title%22%3E%7Bsection.value%7D%20topics%3C%2Fp%3E')%2C%20topic_picker%5D%0A%20%20%20%20_nav%20%2B%3D%20%5B%0A%20%20%20%20%20%20%20%20mo.Html(%22%22%22%0A%20%20%20%20%20%20%20%20%3Cp%20class%3D%22fvc-side-title%22%3EClasses%3C%2Fp%3E%0A%20%20%20%20%20%20%20%20%3Cdiv%20class%3D%22fvc-legend%22%3E%0A%20%20%20%20%20%20%20%20%20%20%3Cdiv%3E%3Ci%20style%3D%22background%3A%23e346ee%22%3E%3C%2Fi%3E%3Cspan%3E%3Cb%3EPV%3C%2Fb%3E%20photosynthetic%20vegetation%3C%2Fspan%3E%3C%2Fdiv%3E%0A%20%20%20%20%20%20%20%20%20%20%3Cdiv%3E%3Ci%20style%3D%22background%3A%236332ea%22%3E%3C%2Fi%3E%3Cspan%3E%3Cb%3ENPV%3C%2Fb%3E%20non-photosynthetic%20vegetation%3C%2Fspan%3E%3C%2Fdiv%3E%0A%20%20%20%20%20%20%20%20%20%20%3Cdiv%3E%3Ci%20style%3D%22background%3A%23dae22f%22%3E%3C%2Fi%3E%3Cspan%3E%3Cb%3EBE%3C%2Fb%3E%20bare%20earth%3C%2Fspan%3E%3C%2Fdiv%3E%0A%20%20%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%20%20%20%20%3Cp%20class%3D%22fvc-side-title%22%3EReading%20tips%3C%2Fp%3E%0A%20%20%20%20%20%20%20%20%3Cp%20class%3D%22fvc-note%22%3EUse%20the%20%3Cb%3EPaper%3C%2Fb%3E%20tab%20for%20text%2C%20tables%20and%20figures%2C%20and%0A%20%20%20%20%20%20%20%20%3Cb%3EReuse%20code%3C%2Fb%3E%20for%20notebook-style%20module%20guides.%20Nothing%20is%20trained%20or%0A%20%20%20%20%20%20%20%20recomputed%20by%20this%20viewer.%3C%2Fp%3E%0A%20%20%20%20%20%20%20%20%3Cp%20class%3D%22fvc-side-title%22%3ELive%20analysis%3C%2Fp%3E%0A%20%20%20%20%20%20%20%20%3Cp%20class%3D%22fvc-note%22%3EFor%20interactive%20ENVI%20tiles%2C%20spectra%2C%20indices%20and%20ONNX%0A%20%20%20%20%20%20%20%20inference%20run%20%3Ccode%3Emarimo%20run%20analysis.py%3C%2Fcode%3E%0A%20%20%20%20%20%20%20%20(or%20%3Ccode%3Emarimo%20edit%20analysis.py%3C%2Fcode%3E%20to%20add%20your%20own%20cells).%3C%2Fp%3E%0A%20%20%20%20%20%20%20%20%22%22%22)%2C%0A%20%20%20%20%5D%0A%20%20%20%20mo.sidebar(_nav)%0A%20%20%20%20return%0A%0A%0A%40app.cell%0Adef%20_(%0A%20%20%20%20FIGURES%2C%0A%20%20%20%20METHODS%2C%0A%20%20%20%20RESULTS%2C%0A%20%20%20%20TABLES%2C%0A%20%20%20%20image_or_note%2C%0A%20%20%20%20mo%2C%0A%20%20%20%20paper%2C%0A%20%20%20%20root%2C%0A%20%20%20%20section%2C%0A%20%20%20%20topic_picker%2C%0A)%3A%0A%20%20%20%20_blocks%20%3D%20%5B%5D%0A%20%20%20%20if%20section.value%20%3D%3D%20%22Overview%22%3A%0A%20%20%20%20%20%20%20%20_blocks%20%3D%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20mo.Html(f%22%22%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cdiv%20class%3D%22fvc-metrics%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cdiv%3E%3Cspan%3ESections%3C%2Fspan%3E%3Cstrong%3E%7Blen(METHODS)%7D%20methods%20%C2%B7%20%7Blen(RESULTS)%7D%20results%3C%2Fstrong%3E%3C%2Fdiv%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cdiv%3E%3Cspan%3EManuscript%20tables%3C%2Fspan%3E%3Cstrong%3E%7Blen(TABLES)%7D%3C%2Fstrong%3E%3C%2Fdiv%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cdiv%3E%3Cspan%3EManuscript%20figures%3C%2Fspan%3E%3Cstrong%3E%7Blen(FIGURES)%7D%3C%2Fstrong%3E%3C%2Fdiv%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cdiv%3E%3Cspan%3EClasses%3C%2Fspan%3E%3Cstrong%3EBE%20%C2%B7%20NPV%20%C2%B7%20PV%3C%2Fstrong%3E%3C%2Fdiv%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%22%22%22)%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20mo.md(%22%22%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%23%23%20Start%20with%20the%20study%0A%0A%20%20%20%20%20%20%20%20%20%20%20%20**Methods**%20explains%20the%20inputs%2C%20FVC%20labels%2C%20model%20versions%2C%20training%0A%20%20%20%20%20%20%20%20%20%20%20%20and%20evaluation%20protocols.%20**Results**%20presents%20the%20paper's%20ablation%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20baseline%2C%20spatial%2C%20external-site%2C%20spectral%20and%20edge-deployment%20evidence.%0A%0A%20%20%20%20%20%20%20%20%20%20%20%20The%20visual%20explorer%20distinguishes%20internal%20held-out%20tests%20from%20external%0A%20%20%20%20%20%20%20%20%20%20%20%20zero-shot%20evaluation%20and%20preserves%20the%20averaging%20unit%20of%20each%20table.%0A%20%20%20%20%20%20%20%20%20%20%20%20%22%22%22)%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20mo.callout(mo.md(%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22**Source%20of%20truth%3A**%20the%20captured%20%60elsarticle-template-harv.tex%60.%20%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22The%20accompanying%20PDF%20has%20an%20older%20modification%20time%20and%20has%20not%20been%20%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22verified%20to%20match%20the%20TeX%3B%20consult%20the%20TeX%20for%20exact%20wording%20and%20citations.%20%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22This%20is%20a%20manuscript%20snapshot%2C%20not%20a%20live%20publication.%22%0A%20%20%20%20%20%20%20%20%20%20%20%20)%2C%20kind%3D%22warn%22)%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20mo.md(%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%23%23%23%20How%20to%20read%20the%20results%5Cn%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22-%20**BE**%2C%20**NPV**%2C%20**PV**%20are%20the%20three%20segmentation%20classes.%5Cn%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22-%20F1%20and%20mIoU%20summarise%20segmentation%3B%20uncertainty%20is%20not%20error%20probability.%5Cn%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22-%20Spectral%20importance%20is%20model%20sensitivity%2C%20not%20a%20measured%20plant%20trait.%5Cn%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22-%20Deployment%20agreement%20is%20parity%20against%20PyTorch%2C%20not%20ground-truth%20accuracy.%5Cn%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22-%20The%20five%20external%20tiles%20are%20not%20established%20as%20representative%20of%20the%20site.%22%0A%20%20%20%20%20%20%20%20%20%20%20%20)%2C%0A%20%20%20%20%20%20%20%20%5D%0A%20%20%20%20elif%20section.value%20%3D%3D%20%22Reproduce%22%3A%0A%20%20%20%20%20%20%20%20_manifest%20%3D%20paper%5B%22manifest%22%5D%0A%20%20%20%20%20%20%20%20_blocks%20%3D%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20mo.md(f%22%22%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%23%23%20Manuscript%20snapshot%20and%20workflow%0A%0A%20%20%20%20%20%20%20%20%20%20%20%20-%20Captured%20TeX%3A%20%60paper%2Felsarticle-template-harv.tex%60%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20(source%20modified%20**%7B_manifest%5B'tex_modified_utc'%5D%7D**).%0A%20%20%20%20%20%20%20%20%20%20%20%20-%20Captured%20PDF%3A%20%60paper%2Felsarticle-template-harv.pdf%60%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20(source%20modified%20**%7B_manifest%5B'pdf_modified_utc'%5D%7D**).%0A%20%20%20%20%20%20%20%20%20%20%20%20-%20The%20PDF%20is%20older%20and%20may%20not%20reflect%20the%20TeX.%20They%20were%20**not**%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20regenerated%20or%20checked%20for%20equivalence.%0A%20%20%20%20%20%20%20%20%20%20%20%20-%20%60paper%2Fmanifest.json%60%20records%20SHA-256%20hashes%20for%20the%20TeX%2C%20PDF%20and%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20every%20figure.%20The%20displayed%20tables%20are%20parsed%20from%20the%20captured%20TeX.%0A%0A%20%20%20%20%20%20%20%20%20%20%20%20The%20source%20snapshot%20under%20%60workflow%2F%60%20retains%20the%20three%20original%0A%20%20%20%20%20%20%20%20%20%20%20%20pipeline%20phases%20and%20scripts.%20See%20%60README.md%60%20for%20environment%20and%0A%20%20%20%20%20%20%20%20%20%20%20%20external%20data%20mapping%3B%20raw%20imagery%2C%20masks%20and%20checkpoints%20are%20not%0A%20%20%20%20%20%20%20%20%20%20%20%20bundled.%20Training%20and%20inference%20have%20not%20been%20rerun%20for%20this%20viewer.%0A%0A%20%20%20%20%20%20%20%20%20%20%20%20The%20former%20broad%20notebook%2FCSV%20explorer%20is%20preserved%20as%0A%20%20%20%20%20%20%20%20%20%20%20%20%60archive_app.py%60%3B%20its%20historical%20outputs%20are%20**not**%20paper%20results.%0A%20%20%20%20%20%20%20%20%20%20%20%20%22%22%22)%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20mo.md(f%22**TeX%20SHA-256%3A**%20%60%7B_manifest%5B'tex_sha256'%5D%7D%60%20%20%5Cn%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20f%22**PDF%20SHA-256%3A**%20%60%7B_manifest%5B'pdf_sha256'%5D%7D%60%22)%2C%0A%20%20%20%20%20%20%20%20%5D%0A%20%20%20%20else%3A%0A%20%20%20%20%20%20%20%20_sections%20%3D%20METHODS%20if%20section.value%20%3D%3D%20%22Methods%22%20else%20RESULTS%0A%20%20%20%20%20%20%20%20_selected%20%3D%20_sections%5Btopic_picker.value%5D%0A%20%20%20%20%20%20%20%20_tabs%20%3D%20%7B%22%F0%9F%93%9D%20Summary%22%3A%20mo.md(_selected%5B%22text%22%5D)%7D%0A%20%20%20%20%20%20%20%20_tables%20%3D%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20mo.vstack(%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20mo.md(f%22%23%23%23%23%20%7B_caption%7D%5CnManuscript%20table%20label%3A%20%60%7BTABLES%5B_key%5D%5B0%5D%7D%60%22)%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20mo.ui.table(paper%5B%22tables%22%5D%5B_key%5D%2C%20selection%3DNone%2C%20page_size%3D20)%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D)%0A%20%20%20%20%20%20%20%20%20%20%20%20for%20_key%2C%20_caption%20in%20_selected.get(%22tables%22%2C%20%5B%5D)%0A%20%20%20%20%20%20%20%20%5D%0A%20%20%20%20%20%20%20%20_figures%20%3D%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20mo.vstack(%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20mo.md(f%22%23%23%23%23%20%7B_caption%7D%5Cn%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20f%22Manuscript%20figure%20label%3A%20%60%7BFIGURES%5B_key%5D%5B1%5D%7D%60.%22)%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20image_or_note(%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20mo%2C%20root%20%2F%20%22paper%22%20%2F%20paper%5B%22manifest%22%5D%5B%22figures%22%5D%5B_key%5D%5B%22path%22%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20_caption%2C%20%22100%25%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20)%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D)%0A%20%20%20%20%20%20%20%20%20%20%20%20for%20_key%2C%20_caption%20in%20_selected.get(%22figures%22%2C%20%5B%5D)%0A%20%20%20%20%20%20%20%20%5D%0A%20%20%20%20%20%20%20%20if%20_tables%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20_tabs%5Bf%22%F0%9F%93%8B%20Tables%20(%7Blen(_tables)%7D)%22%5D%20%3D%20mo.vstack(_tables%2C%20gap%3D2)%0A%20%20%20%20%20%20%20%20if%20_figures%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20_tabs%5Bf%22%F0%9F%96%BC%EF%B8%8F%20Figures%20(%7Blen(_figures)%7D)%22%5D%20%3D%20mo.vstack(_figures%2C%20gap%3D2)%0A%20%20%20%20%20%20%20%20_blocks.append(mo.ui.tabs(_tabs))%0A%20%20%20%20paper_view%20%3D%20mo.vstack(_blocks)%0A%20%20%20%20return%20(paper_view%2C)%0A%0A%0A%40app.cell%0Adef%20_(MODULES%2C%20mo%2C%20module_ids%2C%20section%2C%20topic_picker)%3A%0A%20%20%20%20reuse_ids%20%3D%20module_ids(section.value%2C%20topic_picker.value)%0A%20%20%20%20module_picker%20%3D%20mo.ui.dropdown(%0A%20%20%20%20%20%20%20%20%7BMODULES%5Bkey%5D%5B%22name%22%5D%3A%20key%20for%20key%20in%20reuse_ids%7D%2C%0A%20%20%20%20%20%20%20%20value%3DMODULES%5Breuse_ids%5B0%5D%5D%5B%22name%22%5D%2C%0A%20%20%20%20%20%20%20%20label%3D%22Reusable%20module%22%2C%0A%20%20%20%20)%0A%20%20%20%20return%20module_picker%2C%20reuse_ids%0A%0A%0A%40app.cell%0Adef%20_(checkpoint_families%2C%20mo%2C%20reuse%2C%20reuse_ids)%3A%0A%20%20%20%20_families%20%3D%20checkpoint_families(reuse_ids)%0A%20%20%20%20_options%20%3D%20%7B%0A%20%20%20%20%20%20%20%20f%22%7Bentry%5B'family'%5D%7D%20%7C%20%7Bentry%5B'location'%5D%7D%22%3A%20index%0A%20%20%20%20%20%20%20%20for%20index%2C%20entry%20in%20enumerate(reuse%5B%22checkpoints%22%5D)%0A%20%20%20%20%20%20%20%20if%20entry%5B%22family%22%5D%20in%20_families%0A%20%20%20%20%7D%0A%20%20%20%20checkpoint_picker%20%3D%20mo.ui.dropdown(%0A%20%20%20%20%20%20%20%20_options%2C%20value%3Dnext(iter(_options)%2C%20None)%2C%20label%3D%22Related%20checkpoint%20location%22%0A%20%20%20%20)%0A%20%20%20%20return%20(checkpoint_picker%2C)%0A%0A%0A%40app.cell%0Adef%20_(%0A%20%20%20%20MODULES%2C%0A%20%20%20%20checkpoint_picker%2C%0A%20%20%20%20example_code%2C%0A%20%20%20%20image_or_note%2C%0A%20%20%20%20mo%2C%0A%20%20%20%20module_picker%2C%0A%20%20%20%20paper%2C%0A%20%20%20%20reuse%2C%0A%20%20%20%20root%2C%0A%20%20%20%20source_bytes%2C%0A%20%20%20%20visual_example%2C%0A)%3A%0A%20%20%20%20import%20json%0A%0A%20%20%20%20_module%20%3D%20MODULES%5Bmodule_picker.value%5D%0A%20%20%20%20_record%20%3D%20reuse%5B%22modules%22%5D%5Bmodule_picker.value%5D%0A%20%20%20%20_content%20%3D%20source_bytes(root%2C%20reuse%2C%20module_picker.value)%0A%20%20%20%20_language%2C%20_code%2C%20_usage_note%20%3D%20example_code(root%2C%20module_picker.value)%0A%20%20%20%20_example%20%3D%20visual_example(reuse%2C%20paper%2C%20module_picker.value)%0A%20%20%20%20_panels%20%3D%20%5B%0A%20%20%20%20%20%20%20%20mo.md(f%22%23%23%23%20Notebook%20guide%3A%20%7B_module%5B'name'%5D%7D%5Cn%7B_module%5B'purpose'%5D%7D%22)%2C%0A%20%20%20%20%20%20%20%20mo.hstack(%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20mo.callout(mo.md(f%22**INPUTS**%5Cn%5Cn%7B_module%5B'inputs'%5D%7D%22))%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20mo.callout(mo.md(f%22**MODULE**%5Cn%5Cn%7B_module%5B'name'%5D%7D%22))%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20mo.callout(mo.md(f%22**OUTPUTS**%5Cn%5Cn%7B_module%5B'outputs'%5D%7D%22))%2C%0A%20%20%20%20%20%20%20%20%5D%2C%20wrap%3DTrue)%2C%0A%20%20%20%20%20%20%20%20mo.md(%0A%20%20%20%20%20%20%20%20%20%20%20%20%22%23%23%23%23%20Cell%201%20%C2%B7%20Configure%20the%20step%5Cn%22%0A%20%20%20%20%20%20%20%20%20%20%20%20f%22Use%20%60workflow%2F%7B_module%5B'path'%5D%7D%60%20from%20the%20complete%20workflow%20tree.%20%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Set%20the%20input%2Foutput%20locations%20and%20select%20compatible%20sensor%20settings.%20%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Any%20%60%2Fpath%2Fto%2F...%60%20values%20below%20are%20placeholders%2C%20not%20available%20datasets.%22%0A%20%20%20%20%20%20%20%20)%2C%0A%20%20%20%20%20%20%20%20mo.md(f%22%23%23%23%23%20Cell%202%20%C2%B7%20Example%20code%20(not%20executed)%5Cn%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20f%22%7B_usage_note%7D%5Cn%5Cn%60%60%60%7B_language%7D%5Cn%7B_code%7D%5Cn%60%60%60%22)%2C%0A%20%20%20%20%20%20%20%20mo.md(f%22%23%23%23%23%20Cell%203%20%C2%B7%20Understand%20the%20output%5Cn%7B_module%5B'outputs'%5D%7D%5Cn%5Cn%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22Examples%20below%20are%20reference%20illustrations%2C%20not%20outputs%20generated%20by%20this%20code%20cell.%22)%2C%0A%20%20%20%20%5D%0A%20%20%20%20if%20%22caution%22%20in%20_module%3A%0A%20%20%20%20%20%20%20%20_panels.insert(2%2C%20mo.callout(mo.md(_module%5B%22caution%22%5D)%2C%20kind%3D%22warn%22))%0A%20%20%20%20if%20_example%3A%0A%20%20%20%20%20%20%20%20_panels.extend(%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20mo.md(_example%5B%22caption%22%5D)%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20image_or_note(mo%2C%20root%20%2F%20_example%5B%22path%22%5D%2C%20_example%5B%22caption%22%5D%2C%20%22100%25%22)%2C%0A%20%20%20%20%20%20%20%20%5D)%0A%20%20%20%20else%3A%0A%20%20%20%20%20%20%20%20_panels.append(mo.md(%0A%20%20%20%20%20%20%20%20%20%20%20%20%22This%20is%20a%20configuration%2Fhelper%20step%3A%20it%20has%20no%20image%20output.%20%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Follow%20the%20input%20%E2%86%92%20module%20%E2%86%92%20output%20diagram%20above.%22%0A%20%20%20%20%20%20%20%20))%0A%20%20%20%20_panels.extend(%5B%0A%20%20%20%20%20%20%20%20mo.download(%0A%20%20%20%20%20%20%20%20%20%20%20%20data%3D_content%2C%20filename%3D_module%5B%22path%22%5D.split(%22%2F%22)%5B-1%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20label%3D%22Download%20module%20source%22%2C%0A%20%20%20%20%20%20%20%20)%2C%0A%20%20%20%20%20%20%20%20mo.accordion(%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Source%20preview%20and%20public%20symbols%22%3A%20mo.vstack(%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20mo.md(%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22**Public%20symbols%3A**%20%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2B%20(%22%2C%20%22.join(f%22%60%7Bs%5B'name'%5D%7D%60%20(line%20%7Bs%5B'line'%5D%7D)%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20for%20s%20in%20_record%5B%22symbols%22%5D)%20or%20%22Not%20a%20Python%20API%20module.%22)%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20)%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20mo.plain_text(_content.decode(%22utf-8%22))%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D)%2C%0A%20%20%20%20%20%20%20%20%7D)%2C%0A%20%20%20%20%5D)%0A%20%20%20%20_panels.append(mo.callout(mo.md(%0A%20%20%20%20%20%20%20%20%22Run%20from%20the%20full%20%60workflow%2F%60%20tree%20using%20the%20modelling%20environment%2C%20not%20this%20%22%0A%20%20%20%20%20%20%20%20%22small%20viewer%20environment.%20A%20single%20downloaded%20module%20may%20depend%20on%20neighbouring%20%22%0A%20%20%20%20%20%20%20%20%22files.%20Current%20source%20defaults%20are%20not%20automatically%20the%20paper's%20exact%20run%20configuration.%22%0A%20%20%20%20)%2C%20kind%3D%22info%22))%0A%20%20%20%20if%20checkpoint_picker.value%20is%20not%20None%3A%0A%20%20%20%20%20%20%20%20_checkpoint%20%3D%20reuse%5B%22checkpoints%22%5D%5Bcheckpoint_picker.value%5D%0A%20%20%20%20%20%20%20%20_panels.extend(%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20mo.md(%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20f%22%23%23%23%23%20Cell%204%20%C2%B7%20Reuse%20saved%20weights%3A%20%7B_checkpoint%5B'family'%5D%7D%5Cn%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20f%22**Location%3A**%20%60%7B_checkpoint%5B'location'%5D%7D%60%5Cn%5Cn%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20f%22**Captured%3A**%20%7Breuse%5B'captured_at'%5D%7D%20%C2%B7%20**Origin%3A**%20%7B_checkpoint%5B'origin'%5D%7D%5Cn%5Cn%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22**Status%3A**%20files%20existed%20at%20capture%3B%20availability%20is%20not%20rechecked%20%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22by%20this%20portable%20viewer.%20No%20binaries%20are%20copied%2C%20loaded%2C%20or%20validated.%20%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22Inventory%20does%20not%20establish%20which%20checkpoint%20produced%20a%20paper%20table.%22%0A%20%20%20%20%20%20%20%20%20%20%20%20)%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20mo.ui.table(%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7B%22File%22%3A%20item%5B%22name%22%5D%2C%20%22Size%20(MiB)%22%3A%20round(item%5B%22bytes%22%5D%20%2F%202**20%2C%202)%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22Modified%20(UTC)%22%3A%20item%5B%22modified_utc%22%5D%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20for%20item%20in%20_checkpoint%5B%22files%22%5D%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%20selection%3DNone%2C%20page_size%3D5)%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20mo.download(%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20data%3Djson.dumps(_checkpoint%2C%20indent%3D2).encode(%22utf-8%22)%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20filename%3D%22checkpoint_inventory.json%22%2C%20label%3D%22Download%20checkpoint%20inventory%20(not%20weights)%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20)%2C%0A%20%20%20%20%20%20%20%20%5D)%0A%20%20%20%20%20%20%20%20if%20_checkpoint%5B%22selection_manifest%22%5D%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20_panels.append(mo.accordion(%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22Original%20best-model%20selection%20file%20(paths%20may%20need%20relocation)%22%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20mo.plain_text(_checkpoint%5B%22selection_manifest%22%5D)%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D))%0A%20%20%20%20%20%20%20%20if%20_checkpoint%5B%22provenance%22%5D%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20_panels.append(mo.accordion(%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22RF%20training%20provenance%20from%20experiment.json%22%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20mo.plain_text(json.dumps(_checkpoint%5B%22provenance%22%5D%2C%20indent%3D2))%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D))%0A%20%20%20%20%20%20%20%20if%20_checkpoint%5B%22family%22%5D%20%3D%3D%20%22Random%20Forest%22%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20_panels.append(mo.md(%22%22%22%0A%20%20%20%20%20%20%20%20%20%20%20%20**Reuse%20saved%20RF%20models%3A**%20point%20%60--model-dir%60%20in%0A%20%20%20%20%20%20%20%20%20%20%20%20%60future_work%2Frandom_forest_baseline%2FScripts%2Fevaluate_random_forest_zero_shot.py%60%0A%20%20%20%20%20%20%20%20%20%20%20%20to%20a%20trusted%20directory%20containing%20the%20fold%20%60.joblib%60%20files.%0A%20%20%20%20%20%20%20%20%20%20%20%20Supply%20paired%20%60--image%60%20%2F%20%60--mask%60%20rasters%20and%20a%20new%20%60--output-dir%60.%0A%20%20%20%20%20%20%20%20%20%20%20%20Match%20the%20sensor%2C%20band%20order%2C%20reflectance%20scaling%20and%20training%20environment.%0A%20%20%20%20%20%20%20%20%20%20%20%20Windows%20locations%20must%20be%20mounted%20or%20copied%20before%20use%20from%20Linux.%0A%20%20%20%20%20%20%20%20%20%20%20%20Models%20exceed%20GitHub's%20100%20MB%2Ffile%20limit%3B%20they%20remain%20external%20assets.%0A%20%20%20%20%20%20%20%20%20%20%20%20%22%22%22))%0A%20%20%20%20_panels.append(mo.md(%0A%20%20%20%20%20%20%20%20f%22Inventory%20scope%3A%20%7Breuse%5B'scope'%5D%7D%20%22%0A%20%20%20%20%20%20%20%20f%22Local%20RF%3A%20**%7Breuse%5B'local_rf_status'%5D%7D**.%20%22%0A%20%20%20%20%20%20%20%20f%22Windows%20drive%3A%20**%7Breuse%5B'windows_status'%5D%7D**.%22%0A%20%20%20%20))%0A%20%20%20%20guide_view%20%3D%20mo.vstack(_panels)%0A%20%20%20%20return%20(guide_view%2C)%0A%0A%0A%40app.cell%0Adef%20_(%0A%20%20%20%20checkpoint_picker%2C%0A%20%20%20%20guide_view%2C%0A%20%20%20%20mo%2C%0A%20%20%20%20module_picker%2C%0A%20%20%20%20paper_view%2C%0A%20%20%20%20section%2C%0A%20%20%20%20topic_picker%2C%0A%20%20%20%20view_tabs%2C%0A)%3A%0A%20%20%20%20_crumb%20%3D%20%22%20%E2%80%BA%20%22.join(str(part)%20for%20part%20in%20(section.value%2C%20topic_picker.value)%20if%20part)%0A%20%20%20%20if%20view_tabs.value.endswith(%22Paper%22)%3A%0A%20%20%20%20%20%20%20%20_body%20%3D%20paper_view%0A%20%20%20%20else%3A%0A%20%20%20%20%20%20%20%20_body%20%3D%20mo.vstack(%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20mo.md(%22Choose%20a%20module%20to%20follow%20a%20notebook-style%20guide%3A%20inputs%20%E2%86%92%20configuration%20%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%E2%86%92%20example%20code%20%E2%86%92%20expected%20outputs.%20No%20code%20or%20models%20run%20automatically.%20%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20f%22Modules%20are%20filtered%20to%20**%7B_crumb%7D**.%22)%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20mo.hstack(%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20module_picker%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20checkpoint_picker%20if%20checkpoint_picker.value%20is%20not%20None%20else%20mo.md(%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22_No%20matching%20checkpoint%20location%3B%20data%20preparation%20does%20not%20need%20a%20model._%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20)%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%20justify%3D%22start%22%2C%20wrap%3DTrue)%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20guide_view%2C%0A%20%20%20%20%20%20%20%20%5D)%0A%20%20%20%20mo.vstack(%5Bmo.Html(f'%3Cp%20class%3D%22fvc-crumb%22%3E%7B_crumb%7D%3C%2Fp%3E')%2C%20view_tabs%2C%20_body%5D)%0A%20%20%20%20return%0A%0A%0Aif%20__name__%20%3D%3D%20%22__main__%22%3A%0A%20%20%20%20app.run()%0A
fcc9d8f54d7a27d2b55f0b8f26295376