coxregnode properties
Last updated: Feb 11, 2025
The Cox regression node enables you to build a survival model for time-to-event
data in the presence of censored records. The model produces a survival function that predicts the
probability that the event of interest has occurred at a given time (t) for given values of
the input variables.
Example
node = stream.create("coxreg", "My node")
node.setPropertyValue("survival_time", "tenure")
node.setPropertyValue("method", "BackwardsStepwise")
# Expert tab
node.setPropertyValue("mode", "Expert")
node.setPropertyValue("removal_criterion", "Conditional")
node.setPropertyValue("survival", True)
Properties |
Values | Property description |
---|---|---|
|
field | Cox regression models require a single field containing the survival times. |
|
field | Cox regression models require a single target field, and one or more input fields. See Common modeling node properties for more information. |
|
|
|
|
field | |
|
|
|
|
["BP*Sex" "BP*Age"] | |
|
|
|
|
number | |
|
|
|
|
|
|
|
|
|
|
number | |
|
number | |
|
|
|
|
flag | |
|
|
|
|
flag | |
|
flag | |
|
flag | |
|
flag | |
|
flag | |
|
flag | |
|
field | |
|
number or string | If no value is specified for a field, the default option "Mean" will be used for that field. |
Was the topic helpful?
0/1000