Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in learning Network Structure using learn_struct_pdag_pc() method #24

Open
GoogleCodeExporter opened this issue Jun 8, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. I want to learn the pdag from alarm network data with 200,000 records using 
learn_struct_pdag_pc() method. 

2.the call is like this : 
[pdag, G] = learn_struct_pdag_pc('cond_indep_fisher_z',n , n-1 
,CovMatrix,nSamples,alpha)

where 
[CovMatrix, nSamples, varfields] = CovMat(data_BNT_path,n)


I got this error :
??? Error using ==> erfc
Input must be real and full.

Error in ==> cond_indep_fisher_z>normcdf at 73
    p(k) = 0.5 * erfc( - (x(k) - mu(k)) ./ (sigma(k) * sqrt(2)));


1- I got this error for some other networks.




Original issue reported on code.google.com by [email protected] on 12 Jan 2012 at 10:53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant