pycox
pycox copied to clipboard
Survival analysis with PyTorch
First of all,thank you very much for your work. I would like to know that the result ev1 and ev2 of the synthesized data in "deephit_competing_risk.ipynb" is 0.3 different from...
hi, everyone: We hope to calculate the output value of the model, namely the hazard risk. Can we use "def predict_ hazard(self, input, batch_size=8224, numpy=None, eval_=True, to_cpu=False,num_workers=0)"? If possible, is...
I find the results in the examples notebook are quite different from the results shown in your JMLR2019 paper. For example, the Cox-time method on the metabric dataset: in paper:...
Apologies for the newbie question. It seems that the original METABRIC dataset has many more "factors" than the 8 covariates in your dataset. Which "factors" did you choose for the...
[W 2023-04-23 10:28:38,810] Trial 2 failed with parameters: {'epochs': 1782, 'batch_norm': False, 'dropout': 0.3729027863986679, 'batch_size': 128, 'alpha': 0.20950098112214738, 'sigma': 0.021532851493345717, 'num_layers': 2, 'learning_rate': 0.0004455921289602272, 'optimizer_type': 'AdamWR', 'num_nodes_1': 56, 'num_nodes_2': 20}...
Changing `is not` in line [https://github.com/havakv/pycox/blob/master/pycox/preprocessing/discretization.py#L155](https://github.com/havakv/pycox/blob/master/pycox/preprocessing/discretization.py#L155) to `!=` would solve the issue mentioned in issue #149
I am trying to create a model that outputs the PMF only for the first *m* time steps in the future, but can handle samples with survival > *m*. As...
Thanks for creating this wonderful package! I have a few questions regrading the functions for deephit model: https://github.com/havakv/pycox/blob/master/pycox/models/deephit.py **1. Regarding `predit_surv` in line 155** `surv = 1. - cif.sum(0)` why...
Hi, I was working on cross validation/ splitting data using different seed points and then train a PyCOX model before averaging the result. ``for seed in SEEDS: data, target =...
This error happens when using multi-processing. This error is due to this check that happens in line 55: [https://github.com/havakv/pycox/blob/master/pycox/preprocessing/discretization.py#L155](https://github.com/havakv/pycox/blob/master/pycox/preprocessing/discretization.py#L155) In my humble opinion, I don't see any reason to use...