学习曲线(样本量够不够)
act_learning_curve学习曲线(样本量够不够) 想知道「再加多少样本模型才会变好」,或判断模型是过拟合还是欠拟合 不同训练集规模下的表现曲线
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_learning_curve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| proba | Yes | 预测概率,与 labels 等长。内部以 ≥0.5 判为正类算准确率。返回 20%/40%/60%/80%/100% 五个训练比例下的准确率及跳过的档位(样本太少时该档位不可算)。 | |
| labels | Yes | 真实标签,0/1。本接口按数组**顺序**取前 k 例当训练集,所以请先把样本随机打乱再传 —— 否则曲线反映的是数据排列,不是数据量。 |