Comments (4)
What do you mean by reasonable? I think you need to distribute (1-alpha)
over the other terms in Line 2.
from porpoise.
Hi @Richarizardd , thanks a lot for your kind reply!
loss
= (1 - alpha) * neg_l + alpha * uncensored_loss
= (1 - alpha) * (censored_loss + uncensored_loss) + alpha * uncensored_loss
= (1 - alpha) * censored_loss + (1 - alpha) * uncensored_loss + alpha * uncensored_loss
= (1 - alpha) * censored_loss + (1 - alpha + alpha) * uncensored_loss
= (1 - alpha) * censored_loss + uncensored_loss
So, it seems the alpha is not applied to the uncensored_loss
. I'm not sure if this is reasonable, as in the paper, the alpha
should be applied to uncensored_loss
.
from porpoise.
Hi @hachikong - Our implementation follows that of Zadeh and Schmid, which we believe is reasonable. You can see the negative log-likelihood term described in Equation 6, with the 2nd loss term (Equation 14) described at the contribution of uncensored instances in the negative likelihood.
from porpoise.
Hi @Richarizardd , thanks a lot for your kind clarification! Yeah, it seems your implementation is different from theirs'. In your implementation, the network output is the hazard function, while their network output is the survival function. Both losses are the negative log-likelihood. I will read the paper more carefully. Thank you!
from porpoise.
Related Issues (14)
- pretrained model weights
- TypeError: __call__() got an unexpected keyword argument 'hazards'
- tcga_blca_all_clean.csv.zip
- EarlyStopping issue?
- The compressed files in 'datasets_csv_mutsig' cannot be uncompressed. HOT 2
- Molecular pretreatment
- Partition of the continuous time scale HOT 1
- Regarding Heatmap or Inference script HOT 1
- ImportError: cannot import name 'eval_model' from 'utils.core_utils' HOT 3
- What is the Fusion method used in article? HOT 1
- Data preprocessing HOT 2
- Missing yaml file HOT 1
- AttributeError: 'Namespace' object has no attribute 'omic_sizes' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from porpoise.