You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm interested in using Bayesian networks for synthetic data generation experiments. I can fit my data, and look at the structure, and even simulate new data. However, it seems with this package there is no way of simulating data conditioned on known variables? e.i. say I wanted to make more women for the Titanic dataset to have balanced classes, or something similar - is there a way of providing a dataframe and have the BN fill out the missing values and columns?
EDIT:
To clarify, I was looking for something like samples = bn.sampling(model, n_samples, {Sex: 1, 'Pclass': 0})
or just adding in a dataframe instead of the n_samples,
I'm interested in using Bayesian networks for synthetic data generation experiments. I can fit my data, and look at the structure, and even simulate new data. However, it seems with this package there is no way of simulating data conditioned on known variables? e.i. say I wanted to make more women for the Titanic dataset to have balanced classes, or something similar - is there a way of providing a dataframe and have the BN fill out the missing values and columns?
EDIT:
To clarify, I was looking for something like
samples = bn.sampling(model, n_samples, {Sex: 1, 'Pclass': 0})
or just adding in a dataframe instead of the n_samples,
but did not find anything in the documentation
The text was updated successfully, but these errors were encountered: