Closed jameschapman19 closed 2 years ago
Hang on I need to update docs!
actually it's ok I did docstrings as I went I thought it would entail more than that
Thanks very much James for this PR. See my comments.
Also, would be converting / committing the script you showed us into a short tutorial? You can make a demo folder to add such scripts.. You know about Jupyter Notebooks right?
Responded to your comment, added the demo with cca, split out the functions in a different way. One of those where it could be refactored in so many ways but this way means we can calculate pairwise t-statistics and p-values for partial correlations and then the prediction/target partial correlation is then just a wrapper around them.
Thanks James. I will get to it as soon as possible while attending OHBM :)
Hi James, I noticed you added two more commits. I won't review them until you tell me you're done with making changes and it is ready for review. Please mention me here to ensure I won't miss that request.
ps: also I'd try change the commit message for each commit to reflect the actual changes. something short and simple
Ok changes done @raamana
hi @jameschapman19, if you dont feel another test is necessary (as I noted above), let me know, so we can discuss and I can merge it asap. Cheers :)
Just confirming I have seen this and will look in next couple of days
thanks James! take your time.
How goes James?
Just looking at this now/today
Think I have addressed your comments
Thanks James! happy holidays.
if you have other ideas or suggestions, please feel free to reach out anytime.
added in partial correlation and t test as in Dinga R, Schmaal L, Penninx BW, Veltman DJ, Marquand AF. Controlling for effects of confounding variables on machine learning predictions. BioRxiv. 2020 Jan 1.
There will definitely be mistakes in my process here. tests has a problem with test_estimator_API() but is nothing to do with anything I have done so not sure what the normal thing to do is as a contributor.