Hi Theano users,

I am noew to Theano and been trying to work on a code from git hub repo  
https://github.com/CancerDataScience/SurvivalNet.

I have been trying to reproduce the work, but not sure where I am missing. 
I can get the optimized model but I get stuck at the model ananlysis part.

https://github.com/CancerDataScience/SurvivalNet/blob/master/survivalnet/analysis/RiskCohort.py#L76.
 
The corresponding code is here:

partial_derivative = th.function(on_unused_input='ignore', 
inputs=[X, AtRisk, Observed, Is_train, masks], 
outputs=T.grad(Model.risk_layer.output[0], 
Model.x), 
givens={Model.x: X, Model.o: AtRisk, 
Model.at_risk: Observed, 
Model.is_train: Is_train, 
Model.masks[0]: masks}, 
name='partial_derivative')

Runing the 

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/theano-users/c411460f-7284-432a-a009-3de362deb5ca%40googlegroups.com.

Reply via email to