AGENT SKILL

machine-learning-and-ai

Use geemap machine learning conversion helpers and optional AI dataset discovery interfaces.

License 许可
MIT
最近更新
2026-09-03
Stars
★ 351
Forks
27

01 前言 Front Matter

name
machine-learning-and-ai
license
MIT
metadata
{ "disco-role": "operating" }
description
Use geemap machine learning conversion helpers and optional AI dataset discovery interfaces.
disable-model-invocation
true

02 资源文件 4

03 SKILL.md 正文

geemap Machine Learning and AI

Use this sub-skill when a task involves geemap's Earth Engine classification workflows, local scikit-learn decision-tree/random-forest conversion into Earth Engine classifier strings, classifier CSV or FeatureCollection persistence, or optional AI-assisted Earth Engine dataset discovery.

Start here

  1. Confirm basic geemap, Earth Engine, and optional dependency setup with ../../references/installation-and-auth.md.
  2. For local model conversion, use references/workflows.md and the bundled scripts/rf_tree_smoke.py.
  3. For exact function signatures, inputs, outputs, and gotchas, use references/api-reference.md.
  4. For error handling, use references/troubleshooting.md.

What this sub-skill owns

  • geemap.ml.tree_to_string for one fitted scikit-learn decision tree.
  • geemap.ml.rf_to_strings for fitted scikit-learn random-forest or ExtraTrees-style ensembles.
  • geemap.ml.strings_to_classifier for in-memory Earth Engine classifier construction from tree strings.
  • geemap.ml.trees_to_csv and geemap.ml.csv_to_classifier for local CSV persistence and reload.
  • geemap.ml.export_trees_to_fc and geemap.ml.fc_to_classifier for Earth Engine asset FeatureCollection persistence and reload.
  • Earth Engine supervised/unsupervised classification workflow structure: sample training data, train or import a classifier/clusterer, classify an image, then route display or accuracy work to the sibling sub-skills.
  • Optional geemap.ai dataset catalog, Gemini/Genie, embedding, and dataset explorer surfaces when the ai extra, Google credentials, network access, and notebook UI are available.

Route elsewhere

Operating constraints

  • Local tree conversion is concrete and deterministic, but it requires scikit-learn, numpy, pandas, and a fitted compatible estimator.
  • Earth Engine classifier objects can be constructed locally from strings, CSV, or FeatureCollections, but using them to classify images or export assets requires Earth Engine initialization, credentials, a project when required by the Earth Engine client, and network access.
  • AI helpers are optional, credentialed, and networked. Treat them as convenience interfaces, not required geemap ML functionality.
  • Do not rely on source notebooks or repository checkout files at runtime; the self-contained recipes and script in this sub-skill are the supported reference.

04 同仓库更多 Skills

VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-triton-opt

Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-solve

END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-skill

PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-pattern-fusion

Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-orchestrate

Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-feedback

Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).

★ 351