Nomogram / 列线图 Nomogram
nomogramNomogram / 列线图 Nomogram | USE WHEN: turn a logistic or Cox model into a nomogram figure for clinical use | ALIASES: 列线图, Nomogram, 评分图, nomogram, 风险评分图 | RETURNS: 列线图 SVG
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": {
"csv_data": "<csv_data>"
},
"name": "nomogram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv_data | Yes | 带表头的 CSV 文本,**整段放在一个字符串里**(不是数组、不 base64)。首行是列名,其后每行一个样本。硬性要求:① 至少 1 个特征列 + 1 个结局列;② 数据行 ≥2(含表头 ≥3 行)。结局列按此顺序识别:列名命中 outcome/target/y/label/endpoint/result/结局/因变量/目标变量/结局变量 → 否则取**最后一列**(须为二分类)→ 否则从右往左找第一个二分类列;都找不到会报「未识别到结局列」。结局值只认 0/1、yes/no、true/false、阳性/阴性、是/否、存活/死亡/alive/event 等;其它值该行被跳过。列名命中 id |