[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7FAHM1NK1DMYPCG72E0MCBW":3,"skill-same:01M7FAHM1NK1DMYPCG72E0MCBW":64},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":32,"repositoryHtmlUrl":33,"repositoryHomepageUrl":6,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":35,"updatedAt":36,"install":37,"resources":49},"01M7FAHM1NK1DMYPCG72E0MCBW","statistical-visualizations",null,"Build and troubleshoot ManimML statistical, probability, decision-tree, MCMC, Gaussian, and matplotlib-image visualizations with safe CPU-first recipes.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fmanim-ml\u002Fsub-skills\u002Fstatistical-visualizations\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: statistical-visualizations\ndescription: \"Build and troubleshoot ManimML statistical, probability,\n  decision-tree, MCMC, Gaussian, and matplotlib-image visualizations with safe\n  CPU-first recipes.\"\ndisable-model-invocation: true\nmetadata:\n  disco-role: operating\n  package: manim_ml\n  sub-skill-role: statistical-probability-visualization\nlicense: MIT\n---\n\n# Statistical visualizations with ManimML\n\nUse this sub-skill when a task asks for ManimML scenes or helper code involving statistical or probability visualizations:\n\n- scikit-learn decision-tree diagrams from a fitted `DecisionTreeClassifier.tree_`.\n- Iris-style two-feature scatter plots and decision-surface overlays.\n- Metropolis-Hastings sampling checks, MCMC axes, and compact chain animations.\n- 2-D Gaussian\u002Fprobability mobjects.\n- Converting matplotlib\u002Fseaborn figures into Manim `ImageMobject` objects.\n\nRoute neural-network layer diagrams, forward-pass animations, dropout, and CNN\u002Fimage-layer workflows to the `neural-network-visualization` sub-skill instead.\n\n## Required runtime assumptions\n\nThe target Python environment should import Manim Community, ManimML, NumPy, Pillow, SciPy, matplotlib, seaborn, scikit-learn, and tqdm. These workflows are CPU workflows. Full video rendering is optional and may additionally require the usual Manim system rendering stack.\n\nFor headless execution, set matplotlib to the Agg backend before creating figures:\n\n```python\nimport matplotlib\nmatplotlib.use(\"Agg\", force=True)\n```\n\n## First checks\n\nRun the bundled helper from this sub-skill directory to verify package-level construction without rendering:\n\n```bash\npython scripts\u002Fbuild_statistical_visualizations.py --help\npython scripts\u002Fbuild_statistical_visualizations.py --example sampler --iterations 12\npython scripts\u002Fbuild_statistical_visualizations.py --example decision-tree --max-depth 2\n```\n\n`--example all` runs the compact sampler, decision-tree, MCMC axes, Gaussian, and matplotlib-image construction checks. These checks synthesize their own tiny data or icons and do not require repository example assets.\n\n## Capability map\n\n| Need | Use | Details |\n| --- | --- | --- |\n| Fitted scikit-learn tree diagram | `DecisionTreeDiagram(sklearn_tree, feature_names=..., class_images_paths=...)` | Leaves require image paths in the current implementation. Use generated temporary icons or caller-provided class images. |\n| Decision areas over a 2-D feature plane | `compute_decision_areas(tree_classifier, maxrange, x=0, y=1, n_features=2)` | Compute rectangles first; only build a Manim surface after confirming finite ranges and compatible axes. |\n| Iris-style dataset scatter | `IrisDatasetPlot(iris)` | Designed for sklearn's iris object and the first two features. Treat full rendering as optional. |\n| Metropolis-Hastings sampler | `metropolis_hastings_sampler(...)` | Required smoke path. Returns samples, an empty warm-up array, and proposals. |\n| MCMC axes\u002Fanimations | `MCMCAxes(...)` | Construct axes and proposal\u002Fchain animations with tiny iteration counts before rendering. |\n| Gaussian probability overlay | `GaussianDistribution(axes, mean=..., cov=..., dist_theme=\"gaussian\")` | Use 2-D mean\u002Fcovariance matching the axes. |\n| Matplotlib figure as Manim image | `convert_matplotlib_figure_to_image_mobject(fig, dpi=...)` | Use Agg, close figures after conversion, and avoid remote datasets. |\n\n## Safe operating pattern\n\n1. Decide whether the output is only a static Manim object, an animation object, or a rendered video\u002Fstill.\n2. Keep data tiny for construction checks: two iris features, shallow trees, 10-25 MCMC iterations, and small generated icons\u002Fimages.\n3. Import `DecisionTreeSurface` and `IrisDatasetPlot` from `manim_ml.decision_tree.decision_tree_surface`; do not rely on outdated re-export assumptions.\n4. For decision-tree leaves, provide three valid image files when using the iris classifier. If no real images are available, generate simple colored square icons.\n5. For MCMC animation construction, provide `true_samples` if calling `visualize_metropolis_hastings_chain_sampling`; it builds a background density image.\n6. Render only after construction succeeds. Prefer Manim low quality (`-ql`) or still-image (`-s`) flags for first renders.\n\n## Reference files\n\n- `references\u002Fapi-reference.md` - public API signatures, return expectations, and source limitations.\n- `references\u002Fworkflows.md` - self-contained decision-tree, MCMC, Gaussian, and matplotlib recipes.\n- `references\u002Ftroubleshooting.md` - common errors and recovery steps.\n- `scripts\u002Fbuild_statistical_visualizations.py` - CPU-first smoke helper with no default render step.\n","# Statistical visualizations with ManimML\n\nUse this sub-skill when a task asks for ManimML scenes or helper code involving statistical or probability visualizations:\n\n- scikit-learn decision-tree diagrams from a fitted `DecisionTreeClassifier.tree_`.\n- Iris-style two-feature scatter plots and decision-surface overlays.\n- Metropolis-Hastings sampling checks, MCMC axes, and compact chain animations.\n- 2-D Gaussian\u002Fprobability mobjects.\n- Converting matplotlib\u002Fseaborn figures into Manim `ImageMobject` objects.\n\nRoute neural-network layer diagrams, forward-pass animations, dropout, and CNN\u002Fimage-layer workflows to the `neural-network-visualization` sub-skill instead.\n\n## Required runtime assumptions\n\nThe target Python environment should import Manim Community, ManimML, NumPy, Pillow, SciPy, matplotlib, seaborn, scikit-learn, and tqdm. These workflows are CPU workflows. Full video rendering is optional and may additionally require the usual Manim system rendering stack.\n\nFor headless execution, set matplotlib to the Agg backend before creating figures:\n\n```python\nimport matplotlib\nmatplotlib.use(\"Agg\", force=True)\n```\n\n## First checks\n\nRun the bundled helper from this sub-skill directory to verify package-level construction without rendering:\n\n```bash\npython scripts\u002Fbuild_statistical_visualizations.py --help\npython scripts\u002Fbuild_statistical_visualizations.py --example sampler --iterations 12\npython scripts\u002Fbuild_statistical_visualizations.py --example decision-tree --max-depth 2\n```\n\n`--example all` runs the compact sampler, decision-tree, MCMC axes, Gaussian, and matplotlib-image construction checks. These checks synthesize their own tiny data or icons and do not require repository example assets.\n\n## Capability map\n\n| Need | Use | Details |\n| --- | --- | --- |\n| Fitted scikit-learn tree diagram | `DecisionTreeDiagram(sklearn_tree, feature_names=..., class_images_paths=...)` | Leaves require image paths in the current implementation. Use generated temporary icons or caller-provided class images. |\n| Decision areas over a 2-D feature plane | `compute_decision_areas(tree_classifier, maxrange, x=0, y=1, n_features=2)` | Compute rectangles first; only build a Manim surface after confirming finite ranges and compatible axes. |\n| Iris-style dataset scatter | `IrisDatasetPlot(iris)` | Designed for sklearn's iris object and the first two features. Treat full rendering as optional. |\n| Metropolis-Hastings sampler | `metropolis_hastings_sampler(...)` | Required smoke path. Returns samples, an empty warm-up array, and proposals. |\n| MCMC axes\u002Fanimations | `MCMCAxes(...)` | Construct axes and proposal\u002Fchain animations with tiny iteration counts before rendering. |\n| Gaussian probability overlay | `GaussianDistribution(axes, mean=..., cov=..., dist_theme=\"gaussian\")` | Use 2-D mean\u002Fcovariance matching the axes. |\n| Matplotlib figure as Manim image | `convert_matplotlib_figure_to_image_mobject(fig, dpi=...)` | Use Agg, close figures after conversion, and avoid remote datasets. |\n\n## Safe operating pattern\n\n1. Decide whether the output is only a static Manim object, an animation object, or a rendered video\u002Fstill.\n2. Keep data tiny for construction checks: two iris features, shallow trees, 10-25 MCMC iterations, and small generated icons\u002Fimages.\n3. Import `DecisionTreeSurface` and `IrisDatasetPlot` from `manim_ml.decision_tree.decision_tree_surface`; do not rely on outdated re-export assumptions.\n4. For decision-tree leaves, provide three valid image files when using the iris classifier. If no real images are available, generate simple colored square icons.\n5. For MCMC animation construction, provide `true_samples` if calling `visualize_metropolis_hastings_chain_sampling`; it builds a background density image.\n6. Render only after construction succeeds. Prefer Manim low quality (`-ql`) or still-image (`-s`) flags for first renders.\n\n## Reference files\n\n- `references\u002Fapi-reference.md` - public API signatures, return expectations, and source limitations.\n- `references\u002Fworkflows.md` - self-contained decision-tree, MCMC, Gaussian, and matplotlib recipes.\n- `references\u002Ftroubleshooting.md` - common errors and recovery steps.\n- `scripts\u002Fbuild_statistical_visualizations.py` - CPU-first smoke helper with no default render step.\n",{"name":5,"license":15,"metadata":24,"description":7,"disable-model-invocation":28},{"package":25,"disco-role":26,"sub-skill-role":27},"manim_ml","operating","statistical-probability-visualization",true,"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","06-前端与设计\u002Fmanim-ml\u002Fsub-skills\u002Fstatistical-visualizations",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":28},[39,42,45],{"tool":40,"command":41},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill statistical-visualizations",{"tool":43,"command":44},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill statistical-visualizations",{"tool":46,"command":47},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill statistical-visualizations","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fmanim-ml\u002Fsub-skills\u002Fstatistical-visualizations\u002FSKILL.md",[50,56,60],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"references\u002Fapi-reference.md","REFERENCE","参考文档",8873,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fmanim-ml\u002Fsub-skills\u002Fstatistical-visualizations\u002Freferences\u002Fapi-reference.md",{"path":57,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Ftroubleshooting.md",6560,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fmanim-ml\u002Fsub-skills\u002Fstatistical-visualizations\u002Freferences\u002Ftroubleshooting.md",{"path":61,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002Fworkflows.md",9331,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fmanim-ml\u002Fsub-skills\u002Fstatistical-visualizations\u002Freferences\u002Fworkflows.md",[65,72,77,84,91,98],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":73,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":19},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]