[GenABEL-dev] mmscore_regression() in ProbABEL: code review
L.C. Karssen
lennart at karssen.org
Sun May 11 14:12:00 CEST 2014
Thanks Maarten!
I just committed my changes. Let me know if this changes the benchmark
(for better or worse).
Best,
Lennart.
On 11-05-14 11:49, Maarten Kooyman wrote:
> Hi Lennart,
>
> This seems alright to me. The most time consuming step is multiplication
> of the variance-covariance matrix, which I optimised. Since this is the
> same, I do not expect any big change in performance. With every commit
> done for ProbABEL my personal Jenkins instance benchmark 3 scenario's:
>
> Palinear with DatABEL files
> ((Npeople=3485,Npredictor=1,Nsnp=33815,correct for sex and age)
> Palinear with mldose files (Npeople=3485,Npredictor=1,Nsnp=33815,correct
> for sex and age)
> Palinear with DatABEL files and mmscore(
> Npeople=500,Npredictor=1,Nsnp=1000).
>
> When there is a slow down (or speed up!) I will inform you.
>
> Kind regards,
>
> Maarten
>
>
> On 09-05-14 17:03, L.C. Karssen wrote:
>> Dear list (and Maarten in particular),
>>
>> I've written some Doxygen documentation for the mmscore_regression()
>> function that Maarten recently created. While doing so I changed some of
>> the variable names to be a bit more understandable and documented what
>> the function does according to Diego's suggestion on this list some time
>> ago. I also slightly changed the variables that are created in the
>> function to get rid of one transpose() action.
>>
>> My question is: could you have a look at the code (lines 57--62) in the
>> attached file and see if this still preservers the vectorisation
>> potential as mentioned in Maarten's comment in the code?
>>
>> The function can be found in reg1.cpp.
>>
>>
>> Thanks a lot,
>>
>> Lennart.
>>
>>
>> _______________________________________________
>> genabel-devel mailing list
>> genabel-devel at lists.r-forge.r-project.org
>> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/genabel-devel
>
>
>
> _______________________________________________
> genabel-devel mailing list
> genabel-devel at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/genabel-devel
>
--
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
L.C. Karssen
Utrecht
The Netherlands
lennart at karssen.org
http://blog.karssen.org
GPG key ID: A88F554A
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: OpenPGP digital signature
URL: <http://lists.r-forge.r-project.org/pipermail/genabel-devel/attachments/20140511/9352807d/attachment.sig>
More information about the genabel-devel
mailing list