技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
scienceclaw-benchmark-for42【数据与研究】Use when a task gives hourly ICU records (vitals, labs, demographics, one stay per patient) with sepsis labels and asks for causal hour-by-hour sepsis alarms on new stays, scored by normalized clinical utility (PhysioNet/CinC 2019 early sepsis prediction; corresponds to FoR42 of the companion ScienceClaw-Eval benchmark).
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Task. Input: a long table, one row per patient-hour (patient_id, hour, the 40 challenge variables: vitals, labs, Age, Gender, Unit1/Unit2, HospAdmTime, ICULOS); the labelled table also has SepsisLabel. Deliverable: one 0/1 integer array per stay to score, as long as the stay, in order of first appearance.
Quality. Normalized clinical utility, higher is better: (U_obs - U_inaction) / (U_best - U_inaction) summed over stays; 1 is optimal, 0 equals never alarming, negative is worse than silence. Per hour: a true alarm earns up to +1 from 12 h before to 3 h after t_sepsis (first positive label + 6 h), a miss costs up to -2, a false alarm -0.05.
Tools (from scilib import sepsis, no pretrained weights).
fit_predict(train, [table_a, table_b]) returns (preds, info) with the chosen threshold and out-of-fold utility (oof_utility); operator sepsis_early_warning_alarms.SepsisModel(targets, smooth, hold, prevalence, linear_weight): shallow LightGBM plus logistic regression on the causal features of build_features; tune on grouped out-of-fold utility.normalized_utility(labels, preds) (operator sepsis_normalized_utility), stay_folds, causal_smooth, hold_alarms.Routes. Baseline: class-balanced logistic regression on last-observation-carried-forward vitals plus static variables, threshold chosen for utility. Stronger: the boosted ensemble, compared by patient-grouped out-of-fold utility, not row-level AUC.
Rules.