Search found 14 matches

by nordic
Tue Dec 03, 2013 2:38 pm
Forum: SMILE
Topic: equal operator for intArray
Replies: 6
Views: 5383

Re: equal operator for intArray

ok, then i just iterate over the arrays by myself... I'm using it in my unit-tests, so principal they could come from anywhere =)..
by nordic
Fri Nov 29, 2013 9:48 pm
Forum: SMILE
Topic: equal operator for intArray
Replies: 6
Views: 5383

Re: equal operator for intArray

Am i right, with the assumption that the equaloperator is fully functional for every other array class, like for example DSL_doubleArray?
by nordic
Fri Nov 29, 2013 6:32 pm
Forum: SMILE
Topic: equal operator for intArray
Replies: 6
Views: 5383

Re: equal operator for intArray

Ahh, ok...
Thanks for the quick request, just like allways
by nordic
Fri Nov 29, 2013 5:39 pm
Forum: SMILE
Topic: equal operator for intArray
Replies: 6
Views: 5383

equal operator for intArray

hi, i want to compare two int array's with the == operator, which i got returned from DSL_node::Parents(), I know that they got euqal parents, but the comparison doesn't say so. When i iterate over the intArray from 0, to DSL_intArray::NumItems() it behaves like expected, so now my question could it...
by nordic
Thu Nov 14, 2013 8:39 am
Forum: SMILE
Topic: solving undirected arcs
Replies: 3
Views: 3763

Re: solving undirected arcs

oh, i guess i just forgot it...
by nordic
Wed Nov 13, 2013 4:46 pm
Forum: SMILE
Topic: solving undirected arcs
Replies: 3
Views: 3763

solving undirected arcs

hi, it's me...again... I've learned a extreme simple Network with two nodes with smileearn with the following code if ( structLearn.Learn( trainData, pattern) != DSL_OKAY) { cout << ErrorH.GetLastErrorMessage() << endl; return false; } // PrintDataset(trainData); // convert pattern to DAG if (!patte...
by nordic
Wed Nov 13, 2013 7:24 am
Forum: SMILE
Topic: nodeValue isn't valid
Replies: 3
Views: 3993

Re: nodeValue isn't valid

thanks, for the quick answer. I just saw that isValueValid() returns an int and thought comparing to zero would be logicall... by the way the intertial problem was a different, the calculated beliefs were wrong but tis turned out to be an mistake while specifying cptArea... I had to switch the dimen...
by nordic
Tue Nov 12, 2013 4:07 pm
Forum: SMILE
Topic: nodeValue isn't valid
Replies: 3
Views: 3993

nodeValue isn't valid

hi, I've build a simple network up the scretch and want to perform inference with it. If i save it to disc and load with GeNIe everything is fine, but when I use the following code the line DSLNetwork.GetNode(_queryNodesIdx2[i])->Value()->IsValueValid() != DSL_OKAY seems to be allways false... Can a...
by nordic
Thu Oct 31, 2013 3:26 pm
Forum: SMILE
Topic: dataset textfile parser
Replies: 7
Views: 5628

Re: dataset textfile parser

But zero fractional parts don't count so

Var1
22.00
21.00
56.00

Is a discrete variable?
by nordic
Thu Oct 31, 2013 12:31 pm
Forum: SMILE
Topic: dataset textfile parser
Replies: 7
Views: 5628

Re: dataset textfile parser

No that's not correct. Consider a column without state names containing a range of integer values like [0..N-1]. This can be easily mapped to N-ary discrete node. On the other hand, you may encounter another integre column without state names, which represents a salary rounded to nearest monetary u...
by nordic
Wed Oct 30, 2013 10:53 pm
Forum: SMILE
Topic: dataset textfile parser
Replies: 7
Views: 5628

Re: dataset textfile parser

Thanks for the quick reply... so what exactly is the criterion to distinguish between discrete and continous variables? Is it correct to say an column consiting of only integers is always a discrete variable with no states?
by nordic
Wed Oct 30, 2013 7:02 pm
Forum: SMILE
Topic: dataset textfile parser
Replies: 7
Views: 5628

dataset textfile parser

hi, im using the ReadFile(fileName) command to read a dataset from the file. I allready noticed, that if a variable has only integer values it's assumed to be "discrete". Cause this don't fits my needs i decided to manually set those variables as continous, so that i can discretize them in...
by nordic
Thu Oct 17, 2013 2:35 pm
Forum: SMILE
Topic: smile capabilities
Replies: 3
Views: 3747

Re: smile capabilities

thanks, for the quick requests. I'm just starting to use the smile framework to build an classifier for objects in images. In the Literatur there are some papers which show that learning an bayesian network discriminatively for classification tasks could improve it's correctness. So i wondered if th...
by nordic
Wed Oct 09, 2013 7:29 am
Forum: SMILE
Topic: smile capabilities
Replies: 3
Views: 3747

smile capabilities

Hello,

Is there any build in Funktion to build an bayesian multinet with smile or Genie (just like Naive Bayes, TAN, Augmented naive Bayes etc...)? Or do discriminative parameter learning?

Best regards,
nordic