Search found 20 matches

by tloy1966
Thu Feb 02, 2012 12:12 pm
Forum: GeNIe
Topic: Probability of 0.5
Replies: 5
Views: 12928

Re: Probability of 0.5

The probability could be exactly 0.5 in the data or the distribution could be fixed.

Have you tried randomizing? That could break the 0.5 probability.

Thanks you for reply!!! :)

I didn't tried randomizing, in my data all variables are observed ,due to i use complete data when learing the ...
by tloy1966
Thu Jan 26, 2012 7:43 am
Forum: GeNIe
Topic: Probability of 0.5
Replies: 5
Views: 12928

Re: Probability of 0.5

Thank you for reply.

And the others reason are :?:
by tloy1966
Wed Jan 18, 2012 8:06 am
Forum: GeNIe
Topic: Probability of 0.5
Replies: 5
Views: 12928

Probability of 0.5

Dear All

In Genie ,i use following procedure to built bayesian network(BN)

1. built model
2. match model and data with EM algorithm to learn Conditional Probability Table(CPT)

then i get model with CPT,

but some probability value in CPT is 0.5

Is this because of no related data , so EM ...
by tloy1966
Thu Jan 05, 2012 4:44 am
Forum: SMILE
Topic: About Error (-42): UpdateBeliefs fails
Replies: 1
Views: 5273

About Error (-42): UpdateBeliefs fails

I have been use SMILE for a while

Some error occur due to Update-Beliefs fails

Can you giving me some advice to avoid this kind of error?

1.reduce the number of child_nodes

2. set some interesting target

3. modify model

Cheers,

Wei
by tloy1966
Thu Dec 15, 2011 11:24 am
Forum: SMILE
Topic: Using Smile.dll
Replies: 3
Views: 7088

Re: Using Smile.dll

I got it!!

Thanks for reply :)
by tloy1966
Mon Dec 12, 2011 9:18 am
Forum: SMILE
Topic: Using Smile.dll
Replies: 3
Views: 7088

Re: Using Smile.dll

I have knew what's wrong in asp.net webpage

and show some stupid experience here

the readfile method in asp.net with C# would be like the following

:arrow:

Code: Select all

net.ReadFile(@"C:\inetpub\wwwroot\XXXXXX.xdsl")
by tloy1966
Mon Dec 12, 2011 4:46 am
Forum: SMILE
Topic: Using Smile.dll on webpage
Replies: 6
Views: 10538

Re: Using Smile.dll on webpage

OK i see!!!

thanks u !! :wink:
by tloy1966
Sun Dec 11, 2011 2:52 pm
Forum: SMILE
Topic: Using Smile.dll
Replies: 3
Views: 7088

Using Smile.dll

Hi

I got a small problem here :roll:

Using smilenet.dll and wrapper to web page with VS2010 and windows 7 64bit

and the question is :

where is the xdsl file location that smilenet.dll will read?

i mean When i use net.readfile("xxx.xdsl");

the program do read file action from which folder ...
by tloy1966
Tue Nov 29, 2011 7:04 am
Forum: SMILE
Topic: Using Smile.dll on webpage
Replies: 6
Views: 10538

Re: Using Smile.dll on webpage

Hi

i would like to share my way to run SMILE on web

i use Visual Studio 2010 with c# and SQL server 2008

the main code is like the following...


Step1
Network Mnet = new Network();
Mnet.ReadFile("CMBnetSix.xdsl");
Mnet.UpdateBeliefs();

foreach (string Msigns in inputSignSplit) // i want to ...
by tloy1966
Tue Nov 29, 2011 4:45 am
Forum: SMILE
Topic: Using Smile.dll on webpage
Replies: 6
Views: 10538

Re: Using Smile.dll on webpage

First of all make sure that your application works in a desktop enviroment (that is in a form of Desktop/Console .NET application). If that works fine, then try making a web-application. Did you check if your model loads correctly? Are you sure that you've configured IIS properly (i.e. the service ...
by tloy1966
Mon Nov 28, 2011 2:47 pm
Forum: SMILE
Topic: Using Smile.dll on webpage
Replies: 6
Views: 10538

Re: Using Smile.dll on webpage

I was using following test to simpfly my question

I use SetEvidence to set evidence


protected void Button1_Click(object sender, EventArgs e)
{
Network net = new Network();
net.ReadFile("Network1.xdsl");
net.UpdateBeliefs();
net.SetEvidence("Node1", "State11");
}

then IIS message is ...
by tloy1966
Mon Nov 28, 2011 2:22 pm
Forum: SMILE
Topic: Using Smile.dll on webpage
Replies: 6
Views: 10538

Using Smile.dll on webpage

Hi

Thanks for your guild before, i start using SMILE in web-page

but i got some problems...so plz help me :shock:

My web-page is works fine in Visual Studio 2010, but when i want to build web-page with IIS(Internet Information Services), problem just happened...

It shows the following message ...
by tloy1966
Wed Aug 03, 2011 3:27 am
Forum: GeNIe
Topic: A "BIG" problem...= =
Replies: 5
Views: 14022

Re: A "BIG" problem...= =

wow ... sorry for i didn't learn related course, and so many background knowledge i have to study :?

In my studing university, there is no related course about Bayesian Network, hope these question wouldn't be a trouble :)

and i have few more questions

Q1. I want match data and Bayesian network ...
by tloy1966
Tue Aug 02, 2011 12:17 am
Forum: GeNIe
Topic: A "BIG" problem...= =
Replies: 5
Views: 14022

Re: A "BIG" problem...= =

...about 3000 Arcs

The 3000 arcs is not a problem, but you can easily blow out your CPT(s) with too many arcs coming into single node.

when i try to inference with Genie it always tell this message "This application has requested the Runtime to terminate it in an unusual way."

That's probably ...
by tloy1966
Mon Aug 01, 2011 4:05 pm
Forum: GeNIe
Topic: A "BIG" problem...= =
Replies: 5
Views: 14022

A "BIG" problem...= =

Hi again

i got a problem about node numbers...

(i). i create a Bayesian network with 6 hundred of node by SMILE then
sometimes SMILE will get error Message about node problem like "std::bad_alloc" and
In mlock.c
/*
void __cdecl _unlock (
int locknum
)
{
/*
* leave the critical section ...