← スキル一覧に戻る
tidymodels

detect-metrics

by tidymodels

detect-metricsは、other分野における実用的なスキルです。複雑な課題への対応力を強化し、業務効率と成果の質を改善します。

⭐ 398🍴 60📅 2026年1月23日
GitHubで見るManusで実行

SKILL.md


name: detect-metrics description: Detect and list all metric functions in the yardstick package. Use when a user asks to find, list, or identify all metrics in the package.

Detect metrics

Detection commands

Find all metric definitions (recommended):

grep -E ".* <- new_.*_metric\(" R/*.R

Find available metric constructors:

grep -E "^new_.*_metric <- function" R/*.R

Check exported metrics:

grep "^export(" NAMESPACE | sed 's/export(//' | sed 's/)//'

Metric structure

Each metric has:

  1. Generic function calling UseMethod()
  2. Constructor wrap: metric_name <- new_*_metric(metric_name, direction = "minimize"|"maximize"|"zero")
  3. Data frame method using *_metric_summarizer()
  4. Vector implementation: metric_name_vec()

Key files

  • R/aaa-new.R - Metric constructor definitions
  • R/fair-aaa.R - Groupwise metric constructor
  • R/template.R - Metric summarizer functions

スコア

総合スコア

70/100

リポジトリの品質指標に基づく評価

✓SKILL.md

SKILL.mdファイルが含まれている

+20
✓LICENSE

ライセンスが設定されている

+10
○説明文

100文字以上の説明がある

0/10
✓人気

GitHub Stars 100以上

+5
○最近の活動

3ヶ月以内に更新がある

0/10
✓フォーク

10回以上フォークされている

+5
✓Issue管理

オープンIssueが50未満

+5
✓言語

プログラミング言語が設定されている

+5
○タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です