← Về thư mục
skills/scikit-survival/scripts/competing_risk_cif.py
- synthetic_competing_risks · function · L26-L54 — def synthetic_competing_risks( *, rows: int = 300, seed: int = DEFAULT_SEED ) -> tuple[Any, Any]
- normalize_competing_event · function · L57-L87 — def normalize_competing_event(values: Any)
- normalize_times · function · L90-L95 — def normalize_times(values: Any)
- horizon_values · function · L98-L127 — def horizon_values( unique_times: Any, cumulative_incidence: Any, horizons: list[float], ) -> list[dict[str, Any]]
- estimate_cif · function · L130-L219 — def estimate_cif( event: Any, time: Any, *, horizons: list[float] | None = None, confidence: bool = False, confidence_level: float = 0.95, variance_type: str = "Aalen", time_min: float | None = None, ) -> tuple[dict[str, Any], dict[str, Any]]
- build_parser · function · L222-L244 — def build_parser() -> argparse.ArgumentParser
- main · function · L247-L282 — def main(argv: list[str] | None = None) -> int