cox_regression.server module

Server module for cox regression

class cox_regression.server.Server(config)[source]

Bases: Server

The Server class. Responsible for aggregating results of the clients. Based on logistic regression server.

__init__(config)[source]

Initializes the server

Parameters:

config (Config) – The configuration for the experiment

initial_model()[source]

Returns an initial model with zeros. Number of coefficients is based on number of covariates and number of time bins

Return type:

ndarray[Any, dtype[float64]]

Returns:

An initialized model for cox regression

async preprocessing()[source]

Receive local maximum event times and distribute global maximum event time.

Return type:

None