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
- 参考文档references/api-reference.md4.6 KB
- 参考文档references/compatibility.md1.3 KB
- 参考文档references/data-formats.md1.9 KB
- 参考文档references/troubleshooting.md3.1 KB
- 参考文档references/workflows.md2.8 KB
- 脚本scripts/inspect_tabular_surface.py2.0 KB
- 脚本scripts/smoke_tabular_decision_tree.py1.9 KB
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, andneural_network_querysvm_query,nearest_neighbor_query,decision_tree_query, andxgboost_querykmeans_clustering_query,content_recommender_query, andrecommendtune,predict,info,model,operators,accuracy,losses,target,plots,plot_names, andanalyze- 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(), oroperators()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.mdfor the tabular method map and return shapesreferences/workflows.mdfor end-to-end tabular recipesreferences/data-formats.mdfor accepted file types and column assumptionsreferences/troubleshooting.mdfor target matching, model-key, and dashboard failuresreferences/compatibility.mdfor the verified modern/legacy stack notes
Bundled scripts
scripts/inspect_tabular_surface.pyprints the tabular client surface with signatures.scripts/smoke_tabular_decision_tree.pycreates a synthetic CSV and runs a tiny CPU decision-tree smoke test.
Operating notes
- 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.
neural_network_queryauto-selects classification or regression from the target cardinality; use the specific ANN method when you already know the task family.tune()defaults tolatest_modelwhenmodel_to_tuneis omitted. Train the model you want to tune last or pass the key explicitly.content_recommender_queryandrecommend()depend on a stableindexercolumn and matching feature names.analyze()andplots()operate on stored model dictionaries; inspectc.models[key].keys()before assuming the same fields exist for every algorithm.- 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
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.
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.
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.
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.
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.
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).