Search found 21 matches

by Marijn Peppelman
Sat May 09, 2020 3:39 pm
Forum: GeNIe
Topic: Bug(?): DBN ignoring virtual evidence
Replies: 1
Views: 977

Bug(?): DBN ignoring virtual evidence

Hello. It's not so much a problem for me, as i don't need the functionality (right now) but it appears GeNIe currently ignores virtual evidence when provided to a DBN. See the attached screenshots. If evidence of True is provided, inference works as expected. If evidence of 0.9999 True, 0.0001 False...
by Marijn Peppelman
Fri Jan 10, 2020 4:34 pm
Forum: SMILE
Topic: Continuous value evidence discretisation for DBNs
Replies: 2
Views: 2114

Re: Continuous value evidence discretisation for DBNs

Thanks for the reply.

Given my deadlines, i will go with the "pre-discretize data" workaround then.
by Marijn Peppelman
Wed Jan 08, 2020 3:31 pm
Forum: SMILE
Topic: Continuous value evidence discretisation for DBNs
Replies: 2
Views: 2114

Continuous value evidence discretisation for DBNs

Hello. First of all, happy new year. Second, the following: I'm aware that DBNs don't support continuous/equation nodes, and as far as i know this is not planned for the near future. I was wondering if it is possible to use the same discretization functionality that equation nodes have to translate ...
by Marijn Peppelman
Tue Dec 10, 2019 2:59 pm
Forum: SMILE
Topic: SMILE 1.5 Released (includes rSMILE for use with R)
Replies: 2
Views: 2193

Re: SMILE 1.5 Released (includes rSMILE for use with R)

Cheers!

Is there a change log available?
From an earlier topic i assume data set matching for DBNs is included in this version, and i wanted to verify/check other changes/additions
by Marijn Peppelman
Fri Nov 29, 2019 7:37 pm
Forum: SMILE
Topic: Parameter learner not optimising a DBN's temporal CPT's in PySMILE
Replies: 8
Views: 2957

Re: Parameter learner not optimising a DBN's temporal CPT's in PySMILE

I've manually set the ds.set_variable_names to ["working", "failed"] for all the nodes in ds, and the above issue still persists. In the origional data set, it looks as if the self t-1 CPT's for node 3 are indeed flipped, which would suggest that the behavior you mentioned (aplhabetised "working"/"f...
by Marijn Peppelman
Fri Nov 29, 2019 5:01 pm
Forum: SMILE
Topic: Parameter learner not optimising a DBN's temporal CPT's in PySMILE
Replies: 8
Views: 2957

Re: Parameter learner not optimising a DBN's temporal CPT's in PySMILE

I've created a manual matching by taking the regular matching and adding more DataMatch objects with modified slice and column values. For example, where normaly i would have: DataMatch.node = 1, DataMatch.column = 100, DataMatch.slice = 0 For a 100 time slice DBN, I added more DataMatch objects wit...
by Marijn Peppelman
Fri Nov 29, 2019 3:21 pm
Forum: SMILE
Topic: Parameter learner not optimising a DBN's temporal CPT's in PySMILE
Replies: 8
Views: 2957

Re: Parameter learner not optimising a DBN's temporal CPT's in PySMILE

Thank you for the reply.

I have a intermediate deadline before that, so I'll create a manual matching in the mean time for that.
It is still good news i won't have to do that in future.
by Marijn Peppelman
Thu Nov 28, 2019 11:32 pm
Forum: SMILE
Topic: Parameter learner not optimising a DBN's temporal CPT's in PySMILE
Replies: 8
Views: 2957

Re: Parameter learner not optimising a DBN's temporal CPT's in PySMILE

PPS: and the script and data files (2 of 5) The scripts is mostly helper functions, and the last section is printing for debugging, the important part is networkFile = "dev_PerfNetwork1_3BE_1574983185.5145876.xdsl" networkOutFile = networkFile[:-5]+ "B.xdsl" dataFile = "PerfNetwork1_3BE_Data.csv" ne...
by Marijn Peppelman
Thu Nov 28, 2019 11:30 pm
Forum: SMILE
Topic: Parameter learner not optimising a DBN's temporal CPT's in PySMILE
Replies: 8
Views: 2957

Re: Parameter learner not optimising a DBN's temporal CPT's in PySMILE

PS: here are the files i'm working with (3 of 5):
by Marijn Peppelman
Thu Nov 28, 2019 10:36 pm
Forum: SMILE
Topic: Parameter learner not optimising a DBN's temporal CPT's in PySMILE
Replies: 8
Views: 2957

Parameter learner not optimising a DBN's temporal CPT's in PySMILE

I'm running into some trouble optimizing the parameters of a DBN with the PySMILE. In GENIE, the process is painless. Open the data file open the DBN, click learn parameters, confirm the time series, confirm the node matching and start the EM algorithm. However, when working with the wrapper, it see...
by Marijn Peppelman
Wed Nov 27, 2019 4:37 pm
Forum: SMILE
Topic: Reading temporal arcs and small bug in SMILE wrapper documentation
Replies: 4
Views: 1998

Re: Reading temporal arcs and small bug in SMILE wrapper documentation

After digging a bit though the available methods, for future reference, for the PySMILE wrapper there is a function net.get_max_temporal_order() which returns the maximum temporal order of arcs that exists in the network, and a function net.get_max_node_temporal_order(node) (i believe node can be ei...
by Marijn Peppelman
Mon Nov 25, 2019 2:37 pm
Forum: SMILE
Topic: Reading temporal arcs and small bug in SMILE wrapper documentation
Replies: 4
Views: 1998

Re: Reading temporal arcs and small bug in SMILE wrapper documentation

This has indeed been very helpful, thank you very much. One last question, is there a way to get all temporal arcs instantly, without iterating over every temporal order value, or a method that tells me which temporal order values contain arcs? It's not a huge issue if there isn't, but mainly from a...
by Marijn Peppelman
Mon Nov 25, 2019 2:07 am
Forum: SMILE
Topic: Reading temporal arcs and small bug in SMILE wrapper documentation
Replies: 4
Views: 1998

Reading temporal arcs and small bug in SMILE wrapper documentation

Hello. I'm trying to read, from an existing model, which arcs exist. Reading normal arcs is no problem, indeed the tutorial has included hot to access that, but I'm having some trouble figuring out how to determine which temporal arcs exist. However, I'm running into some trouble when trying to dete...
by Marijn Peppelman
Thu Oct 24, 2019 2:29 pm
Forum: SMILE
Topic: Structure Learning scoring heuristic (Python wrapper)
Replies: 5
Views: 3103

Re: Structure Learning scoring heuristic (Python wrapper)

Thank you.

Do I understand correctly that this means that acquiring the log likelihood score for an already defined DBN is thus impossible, since that would require the structure learning which can not accurately work with a DBN?
by Marijn Peppelman
Mon Oct 21, 2019 1:42 pm
Forum: SMILE
Topic: Structure Learning scoring heuristic (Python wrapper)
Replies: 5
Views: 3103

Re: Structure Learning scoring heuristic (Python wrapper)

Thanks for the answer. I'm still a little bit confused about one thing though. The GeNIe documentation indicated that the learning of the structure is not possible for Dynamic Bayesian Networks: While GeNIe structure learning algorithms do not allow for learning the structure of dynamic models, it i...