Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as 三域医研 · 科研算法引擎 (SanYu Research Engine). If you published it, claim ownership there.

交叉验证评分(AUC/准确率等)

act_cv_scores
Read-only

交叉验证评分(AUC/准确率等) 要评估一个预测模型的泛化能力,而不是看训练集表现 各折评分与均值±标准差

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "labels": "<labels>",
      "proba": "<proba>"
    },
    "name": "act_cv_scores"
  }
}

Input Schema

NameRequiredDescriptionDefault
probaYes模型预测概率,与 labels 等长。按概率排序后**切折**计算,不是逐折重新训练模型 —— 所以它衡量的是阈值/排序的稳定性,不是建模流程的稳定性(要后者请用 act_ml_run)。
labelsYes真实标签,0/1 二分类,两个类别各至少 2 例。长度 = proba 长度;n_folds 必须 ≥2(传 1 会被 400 拒绝)。
n_foldsNo折数,默认 5,**必须 ≥2**。传 1 会 400:单折没有留出集,算出的 0.5 是二分类随机阈值的产物、不是验证结果。

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / labels / description
      Previous value: -"真实标签,0/1 二分类,两个类别各至少 2 例。"New value: +"真实标签,0/1 二分类,两个类别各至少 2 例。长度 = proba 长度;n_folds 必须 ≥2(传 1 会被 400 拒绝)。"
  2. Changed3 schema fields changed
    • changedInput schema / properties / labels / description
      Previous value: -"真实标签,0/1 二分类"New value: +"真实标签,0/1 二分类,两个类别各至少 2 例。"
    • changedInput schema / properties / n_folds / description
      Previous value: -"折数,默认 5"New value: +"折数,默认 5,**必须 ≥2**。传 1 会 400:单折没有留出集,算出的 0.5 是二分类随机阈值的产物、不是验证结果。"
    • changedInput schema / properties / proba / description
      Previous value: -"模型预测概率,与 labels 等长"New value: +"模型预测概率,与 labels 等长。按概率排序后**切折**计算,不是逐折重新训练模型 —— 所以它衡量的是阈值/排序的稳定性,不是建模流程的稳定性(要后者请用 act_ml_run)。"
  3. Added

TDQS

B3.1/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description contributes the return shape (per-fold scores plus mean±SD), which matters because there is no output schema. However, it omits the most easily misunderstood behavioral fact — that folds are cut on sorted probabilities rather than retrained — leaving that disclosure to the schema alone.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short, but it is a string of verbless fragments rather than sentences, and the first clause duplicates the title verbatim without earning its place. Front-loading is weak: the payoff (per-fold scores and mean±SD) trails the generic rationale.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 3-parameter, annotation-covered, output-schema-less tool, the description covers the return values and the generalization-vs-training rationale, which is what an agent most needs before calling. The remaining gap — that this is a scoring-of-predictions tool rather than a model-fitting tool — is partly filled by the schema, so the definition is serviceable but not self-sufficient.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and the schema already explains proba's ranking-based fold cutting, labels' 0/1 constraint and minimum class counts, and n_folds' ≥2 requirement with the 400 rejection. The description adds no parameter meaning beyond that, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description largely restates the title ("交叉验证评分(AUC/准确率等)") and then names the outputs ("各折评分与均值±标准差"), but never states the operative verb on the inputs — that it scores already-computed probabilities against labels. It gives no differentiation from siblings such as roc_auc, act_learning_curve, or act_ml_run, so an agent must open the schema to learn what the tool actually consumes.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It supplies one genuine when-to-use cue: "要评估一个预测模型的泛化能力,而不是看训练集表现". That is a real selection signal, but there is no when-not guidance and no named alternative — the critical redirect to act_ml_run for modeling-pipeline stability appears only inside the proba schema text, not in the description.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources