Comments (3)
Quick answer here until someone else has time to followup:
- later in this tutorial notebook you can find patient staging and subtyping, which is how you "score" your patients (using the same input features as in the pickled/pre-trained model)
- then you could perform an association analysis of outcomes as a function of subtype and/or stage
from pysustain.
Thank you very much for your help and quick response!
I have read the pkl file and I am getting the following content:
The problem is that I do not fully understand them and wouldn´t know how to set them for inference of MS on a new MRI volume.
Could you guide me on that please?
{'ml_sequence': array([[[ 7.],
[11.],
[ 6.],
[10.],
[ 9.],
[ 3.],
[20.],
[ 8.],
[22.],
[19.],
[21.],
[23.],
[24.],
[33.],
[ 4.],
[35.],
[12.],
[34.],
[32.],
[ 2.],
[36.],
[16.],
[17.],
[37.],
[ 1.],
[15.],
[14.],
[ 0.],
[13.],
[25.],
[38.],
[28.],
[30.],
[26.],
[27.],
[29.],
[ 5.],
[18.],
[31.]],
[[ 3.],
[ 4.],
[ 0.],
[12.],
[25.],
[38.],
[13.],
[ 5.],
[ 1.],
[ 2.],
[17.],
[15.],
[16.],
[14.],
[11.],
[18.],
[ 7.],
[20.],
[10.],
[24.],
[ 6.],
[ 9.],
[ 8.],
[22.],
[21.],
[23.],
[19.],
[26.],
[28.],
[30.],
[27.],
[31.],
[29.],
[33.],
[35.],
[34.],
[36.],
[37.],
[32.]],
[[ 3.],
[ 4.],
[ 1.],
[ 2.],
[ 0.],
[ 5.],
[12.],
[11.],
[17.],
[ 7.],
[16.],
[10.],
[20.],
[ 9.],
[ 6.],
[15.],
[ 8.],
[22.],
[19.],
[21.],
[23.],
[24.],
[14.],
[25.],
[38.],
[13.],
[33.],
[35.],
[34.],
[32.],
[36.],
[37.],
[30.],
[28.],
[18.],
[31.],
[26.],
[29.],
[27.]]]), 'ml_f': array([[0.34185156],
[0.25388692],
[0.40426152]]), 'ml_likelihood': array([-137458.80978643]), 'samples_sequence': array([[[ 7., 7., 7., ..., 7., 7., 7.],
[11., 11., 11., ..., 11., 11., 11.],
[ 6., 6., 6., ..., 6., 6., 6.],
...,
[ 5., 5., 5., ..., 18., 18., 18.],
[18., 18., 18., ..., 31., 31., 31.],
[31., 31., 31., ..., 30., 30., 30.]],
[[ 3., 3., 3., ..., 3., 3., 3.],
[ 4., 4., 4., ..., 4., 4., 4.],
[ 0., 0., 0., ..., 0., 0., 0.],
...,
[36., 36., 36., ..., 36., 36., 36.],
[37., 37., 37., ..., 37., 37., 37.],
[32., 32., 32., ..., 32., 32., 32.]],
[[ 3., 3., 3., ..., 3., 3., 3.],
[ 4., 4., 4., ..., 4., 4., 4.],
[ 1., 1., 1., ..., 1., 1., 1.],
...,
[26., 26., 26., ..., 31., 31., 31.],
[29., 29., 29., ..., 29., 29., 29.],
[27., 27., 27., ..., 27., 27., 27.]]]), 'samples_f': array([[0.34028093, 0.3422053 , 0.3422053 , ..., 0.34814804, 0.34880428,
0.35054254],
[0.25384016, 0.25389745, 0.25389745, ..., 0.2540744 , 0.25409394,
0.2541457 ],
[0.40587892, 0.40389725, 0.40389725, ..., 0.39777756, 0.39710178,
0.39531176]]), 'samples_likelihood': array([[-137460.9034704 ],
[-137460.95568907],
[-137460.95568907],
...,
[-137468.27126633],
[-137468.40862701],
[-137468.82692007]])}
from pysustain.
Did you look at the tutorial notebook?
from pysustain.
Related Issues (20)
- Fixing controls in GMM HOT 2
- `use_parallel_startpoints` fails on numpy 1.21 HOT 6
- Fix for "rare" divide by zero problem HOT 6
- Idea: SusStaIn constraint with longitudinal measures HOT 6
- Adding a colourbar to PVD plots HOT 6
- IndexError while running the SuStaIn Workshop file HOT 2
- Data Preparation Pipeline/Code HOT 5
- How to interpret the Positional Variance Diagram HOT 1
- Question on Using pySuStaIn on ADNI HOT 3
- Parallel CV doesn't work (aka "Why do all my CV jobs run for fold 0 only???") HOT 1
- Ordinal Sustain Notebook HOT 3
- Mislabelled subtype numbers in PVDs HOT 9
- Parallelization fails -- TypeError: cannot pickle '_abc._abc_data' object HOT 4
- Allow for complete model reloading HOT 2
- minor installation issue with sklearn HOT 1
- [Question] Can we discover subtypes in a training test, and use the discovered subtypes to subtype subjects of a test set? HOT 1
- Example code for mixture_KDE HOT 3
- ValueError in AbstractSuStaIn HOT 10
- Enabling PVD Plot Legends 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 pysustain.