pysmile - select columns

The engine.
Post Reply
dvrebos
Posts: 6
Joined: Thu Jun 08, 2017 10:24 am

pysmile - select columns

Post by dvrebos » Tue Mar 20, 2018 10:34 am

Hi,

I'm trying to build a range of BBNs using the bayesian search algoritm in pysmile.

I have all my data in one dataset and would like to build different BBNs out of it using different combinations of variables. Everything seems to work, but I can't find a way to select different colums as in GeNIe. Is there a function in SMILE/pysmile to select/deselect the variables/columns that will be used in calculating the BBN?

shooltz[BayesFusion]
Site Admin
Posts: 1269
Joined: Mon Nov 26, 2007 5:51 pm

Re: pysmile - select columns

Post by shooltz[BayesFusion] » Tue Mar 20, 2018 2:49 pm

Structure learning algorithms in SMILE always use all columns in the dataset. SMILE has an option to remove the columns, however the wrappers (jSMILE, PySMILE, SMILE.NET) do not expose this functionality. If you're not using C++ you'll need to vertically filter your original dataset.

Post Reply