rnnsm's People
Forkers
alecs12 bajajsweta cyeee dgeng7 houssem1995 ziyuey dglidgli jiemingxin alphacyc shashankg7 mafrasiabi zining-wang ifv hancminnah a-ghassemi yunnern harel-coffeernnsm's Issues
Two questions: data generation and feature importance
Hi Georg,
First, thanks for making your code available! It's a really interesting approach to survival analysis.
Can I ask you a couple of questions?
-
How do I generate the data? All the notebooks seem to assume that there's a directory called "data" with a bunch of .pkl files in it, but the directory is not there on your github.
-
Is there a way to estimate feature importance in this approach?
Thank you!
Question about Eqn. 21 in the paper and its implementation in rmtpp.py
Hi Georg,
I've greatly enjoyed reading your paper and appreciate you making the code available!
Could you please help me understand Eqn. (21) in your paper and its implementation in the code? Eqn. (20) gives the expression for the conditional expected return time E[T|T>t_p] where t_p = start of prediction window. But then in Eqn. (21) t_p gets replaced by t_s, and I am not sure what that is. Looking at the code in rmtpp.py, it looks like this def corresponds to Eqn. (21), correct?
def pred_next_starttime_rec(self, cur_state, t_j):
absence_time = 365*self.time_scale - t_j
s_ts = self._pt(absence_time, cur_state)
ts = np.arange(t_j, 1000*self.time_scale, self.time_scale)
delta_ts = ts - t_j
samples = self._pt(delta_ts, cur_state)
return (1/s_ts) * trapz(samples[ts>(365*self.time_scale)], ts[ts>(365*self.time_scale)]) + trapz(samples[ts<=(365*self.time_scale)], ts[ts<=(365*self.time_scale)])
So then it looks like t_s is 365 days. I am not sure what that means? Doesn't this imply that we are requiring return times to be after a year? If so, why? Why not use predPeriod[start]
for t_s?
I would greatly appreciate your help with this!
Thanks so much,
Natalia
Making the data available?
I read the great paper and was eager to try out the model. Having the data available would be helpful. Any plans on posting the datasets or references to where they can be found?
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.