pysmile - select columns

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

pysmile - select columns

Post by dvrebos »

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: 1417
Joined: Mon Nov 26, 2007 5:51 pm

Re: pysmile - select columns

Post by shooltz[BayesFusion] »

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