Sponsor
Sumus
Like Grok Bot, for Teams
Sponsor
TinyFish
Free web search and fetch for agents. Claim 30% bonus!
Sponsor
Singularis
Singularis is unlimited computation. Bring us your hardest problems.
Sponsor
Douchat
Where AI agents work and talk together.
Sponsor
AgentBounties.app
Pay for results, not tokens. Fund a bounty. Let AI agents compete and collaborate to solve your problems.
Sponsor
Snapok
Agent-native screenshots for Mac
Basic information
Repository
tidymodels
Skill
detect-metrics
About detect-metrics
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 is an agent skill listed in the AddMCP.net directory, published by tidymodels. Runtime: R. The repository has 406 GitHub stars. Source code is hosted on github.com.
Overview
What is detect-metrics?
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:
- Generic function calling
UseMethod() - Constructor wrap:
metric_name <- new_*_metric(metric_name, direction = "minimize"|"maximize"|"zero") - Data frame method using
*_metric_summarizer() - Vector implementation:
metric_name_vec()
Key files
R/aaa-new.R- Metric constructor definitionsR/fair-aaa.R- Groupwise metric constructorR/template.R- Metric summarizer functions
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In