Yes Alan, this is the fix I did to make
sure that the random generators are starting from the same seed
each time ....
Shireen On 02/18/2016 12:50 PM, Alan Morris wrote: There are some random number generators in there as well.
When the particles split, they go in a random direction to
separate themselves. If you truly need identical results from
the same runs, you will need to add a couple of lines of code
to seed them with a fixed value. I've done this before to
debug various issues.
AlanOn Thu, Feb 18, 2016 at 12:36 PM,
Shireen Elhabian <shireen@sci.utah.edu> wrote:
Openmp needs to be disabled to get identical results ... minor comments on the parameters: (1) you might want to increase the iterations per split to 1000 to give it more chance to spread over the shape. (2) starting regularization seem to be little bit large, you might want to try 10 or 100 (it sort of depend on the data set) (3) you might also want to crank up the optimization iterations to couple of thousands to make sure that you are converging to a stable shape model (i.e. not exiting too early from the optimization process) ... On 02/18/2016 12:21 PM, Murat Maga wrote:
Hi Shireen,
There are few things going on I think.
First off using the provided SW studio windows binary we get repeatable results. But that’s not going to cut it for us, because I have 500 samples. I don’t have windows box that has the necessary amount of memory to run all the samples. At about 200 samples, it is maxing out on my 32GB RAM.
Therefore downloaded the latest linux commandline tool (from the website links) and compiled it. We did not get repeatable results with or without openMP enabled. When I execute the script on the same samples with using the same parameter set back to back, I get different results. I am not so concerned that the exact correspondence is not achieved. What I am concerned is if you rank them by their relative position to their respective mean (from closest to farthest) based on procrustes distance, ranking is not identical in those runs. That is quite concerning, at least to me.
So there is something we are missing in Linux causing the inconsistency, but I can’t quite figure it out. I even exported the groom and optimize xml files I used on windows and try on Linux and that didn’t make any difference.
M
From:
shapeworks-users-request@sci.utah.edu
[mailto:shapeworks-users-request@sci.utah.edu]
On Behalf Of Shireen Elhabian
Hi,
I want to follow up on this. We want to use the PC scores from the shapeworks analysis as input for our quantitative trait mapping to find genomic intervals associated with molar morphology and size. We successfully used this approach using traditional landmarks, but I definitely see value using SW. However, there are couple concerns:
1. We are not getting repeatable results (as Ryan described below) with identical datasets and parameter xmls. Parameter space is too big to randomly experiment on our own. We can use suggestions on what to focus and what might be driving this randomness. 2. Although I can visualize the modes of variation using SW Studio, I can’t get to the individual eigenvectors or the PC scores. To overcome this, I am feeding the wpts files into a Procrustes analysis and doing alignment and PCA, which is kind of silly, since SW does it already. It would be good to expose the PC scores an eigenvectors.
Best wishes, Murat
A. Murat Maga, PhD Assistant Professor UW Dept. of Pediatrics Division of Craniofacial Medicine & Member Seattle Children’s Research Institute Center for Developmental Biology and Regenerative Medicine
From:
shapeworks-users-request@sci.utah.edu
[mailto:shapeworks-users-request@sci.utah.edu]
On Behalf Of Young, Ryan
Hello, CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information protected by law. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
|
Archive powered by MHonArc 2.6.18.