[pymvpa] Searchlight debug issue

Geethmala geethmala at gmail.com
Mon Jan 25 15:14:16 UTC 2010


Hi,
My program seems to be stuck at Searchlight method.
I have enabled the Searchlight debug but I do not see the progress.
Is there any way to get the call-stack/logs/debugs to view the current
status of the program?

##########################
#code snippet:

cv = CrossValidatedTransferError(
                        TransferError(LinearCSVMC()),
                        CustomSplitter([([3,4,5,6,7,8],[1,2])],
attr='chunks')
                        )

print 'After setting up CV'

sl = Searchlight(cv, radius=3)

print 'After setting up searchlight'

# run searchlight on example dataset and retrieve error map
sl_map = sl(dataset)

print 'Best performing sphere error:', max(sl_map)

############################

I have enabled the Searchlight debug as follows

if __debug__:
    debug.active += ["SLC"]


############################

Thanks,
Geethmala
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/attachments/20100125/4120a1f4/attachment.htm>


More information about the Pkg-ExpPsy-PyMVPA mailing list