AGENT SKILL

tabular-modeling

Use Libra for tabular regression, classification, clustering, recommendation, tuning, and model-inspection workflows on structured datasets.

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

01 前言 Front Matter

name
tabular-modeling
license
MIT
metadata
{ "disco-role": "operating" }
description
Use Libra for tabular regression, classification, clustering, recommendation, tuning, and model-inspection workflows on structured datasets.
disable-model-invocation
true

02 资源文件 7

03 SKILL.md 正文

Tabular Modeling with Libra

Load this sub-skill when the task centers on CSV/XLSX/JSON data, target-column guessing, classical machine learning, feed-forward ANNs, clustering, content recommendations, tuning, model inspection, or dashboard launch for structured datasets.

What this sub-skill owns

  • client(...).regression_query_ann, classification_query_ann, and neural_network_query
  • svm_query, nearest_neighbor_query, decision_tree_query, and xgboost_query
  • kmeans_clustering_query, content_recommender_query, and recommend
  • tune, predict, info, model, operators, accuracy, losses, target, plots, plot_names, and analyze
  • structured-data dashboard launch and EDA caveats

Trigger phrases

Use this route when a user asks to:

  • predict a numeric or categorical column from a table
  • compare ANN, SVM, decision tree, KNN, XGBoost, or k-means on a spreadsheet-like dataset
  • inspect client.models, model(), info(), accuracy(), losses(), target(), or operators() after a run
  • tune a trained ANN or CNN model
  • build recommendations from a movie/catalog-style table
  • open the Streamlit dashboard for tabular data

Bundled references

  • references/api-reference.md for the tabular method map and return shapes
  • references/workflows.md for end-to-end tabular recipes
  • references/data-formats.md for accepted file types and column assumptions
  • references/troubleshooting.md for target matching, model-key, and dashboard failures
  • references/compatibility.md for the verified modern/legacy stack notes

Bundled scripts

  • scripts/inspect_tabular_surface.py prints the tabular client surface with signatures.
  • scripts/smoke_tabular_decision_tree.py creates a synthetic CSV and runs a tiny CPU decision-tree smoke test.

Operating notes

  1. Keep the instruction phrase close to the target column name. Libra uses text parsing plus column similarity, so vague prompts are more likely to misroute.
  2. neural_network_query auto-selects classification or regression from the target cardinality; use the specific ANN method when you already know the task family.
  3. tune() defaults to latest_model when model_to_tune is omitted. Train the model you want to tune last or pass the key explicitly.
  4. content_recommender_query and recommend() depend on a stable indexer column and matching feature names.
  5. analyze() and plots() operate on stored model dictionaries; inspect c.models[key].keys() before assuming the same fields exist for every algorithm.
  6. For dashboard and EDA work, keep the path and generated files isolated; the source dashboard helper uses a hardcoded source-layout path that is not portable.

Cross-links

  • Use the root skill for installation, compatibility shims, and global troubleshooting.
  • Route text-heavy tasks, summarization, NER, and GPT-2 generation to sub-skills/nlp-and-generation.
  • Route image-layout and export tasks to sub-skills/vision-and-generative.

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