AppleHIG机器学习

AyushRajSinghParihar2026-10-28查看 828复制 1853

在设计或审查预测功能、个性化、校准、推荐置信度、反馈、更正、归因和模型限制时使用。

Download (.md)

📘如何使用这个技能

  1. 1
    复制技能内容·点击上方「Copy SKILL.md」复制全部内容,或 Download 下载到本地
  2. 2
    打开你的 AI 客户端·支持 Claude Code、Trae、Cursor、ChatGPT、DeepSeek、Kimi 等任意 AI 助手
  3. 3
    粘贴为系统提示/知识文件·Claude Code:放入 .claude/skills/ 目录;普通对话:作为首条消息发送并说「请严格按这份技能文档执行」
  4. 4
    直接提出你的需求·AI 会按技能定义的工作流、格式和约束来处理,无需再解释背景

💡 提示:技能生效后,每次对话只需一句需求,AI 会按 SKILL.md 的流程执行。

SKILL.md2999 chars
---
name: apple-hig-machine-learning
description: Use when designing or reviewing predictive features, personalization, calibration, recommendation confidence, feedback, corrections, attribution, and model limitations.
---

# Match automation and recovery to the consequences of error

Read [Machine learning](../../references/machine-learning.md). Inspect the model's task, data, validated quality metrics, update cadence, visible behavior, and requested design/review/adaptation. Preserve the existing stack. Do not infer actual accuracy, calibrated confidence, or privacy from a model name.

Classify the feature along the guide's consequential dimensions: critical/complementary, private/public, proactive/reactive, visible/invisible, and dynamic/static. A core sensitive function needs stronger reliability/recovery than an optional song suggestion; unsolicited recommendations need a higher relevance bar. Design fallbacks and disclosures accordingly rather than one generic error state.

Calibrate only when initial information is necessary. Explain the benefit, keep steps brief with progress/help/success, allow cancellation, and permit later update/deletion of supplied information. Separate voluntary explicit feedback from behavior that serves the person's own purpose. Explain feedback consequences concretely, apply/persist corrections promptly, and allow correction again. Do not force endless fixing to compensate for an unsuitable model.

Use multiple behavioral signals; viewing/sharing is not proof of approval. Protect sensitive recommendations on shared devices, preserve discovery beyond reinforced interests, and account for UI changes that alter counts. Before exposing confidence or ranking by it, validate its relation to quality. Prefer useful rationale/categories/alternatives over ungrounded percentages. Explain limitations before serious reliance and reevaluate tradeoffs when model changes shift errors among classes.

**Worked transformation:** Before, a music app treats opening a sad song as a lasting preference, shows “98% perfect,” and offers only a heart. Decision: behavior is ambiguous and confidence must be validated. After, diverse recommendations include a plain reason and specific voluntary actions such as “Less of this artist,” changes persist at an appropriate cadence, and unsupported numerical certainty is removed.

Deliver the role/error/feedback/calibration contract and an evaluation plan tied to actual consequences. Fail if corrections do not persist, unnecessary calibration blocks use or calibration blocks unrelated useful work, sensitive suggestions leak into shared contexts, or confidence is presented without validation. Static design does not establish model quality or representative evaluation outcomes; name actual evidence and pending tests.

Use [Generative AI](../apple-hig-generative-ai/SKILL.md) when creating content and [Privacy](../../../apple-hig-foundations/.topics/apple-hig-privacy/SKILL.md) for behavioral data flow.
来源:skillsdirectory

评论0

登录后参与评论

还没有评论,来抢沙发吧