About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
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