Jacob Schreiber
Jacob Schreiber
Did that code work for you?
If you want to process two sequences of different lengths, you'll need to run `predict` twice, each on a tensor with a batch size of 1 and differing sequence lengths....
This will be fixed in v1.1.0.
Hi. Sorry that you're having trouble. I've included tutorials on how to write Bayesian networks here: https://pomegranate.readthedocs.io/en/latest/tutorials/B_Model_Tutorial_6_Bayesian_Networks.html This documentation is linked in two formats -- as a page on the...
A design choice that I made with the latest version is to only accept integer labels in the modeling step, similar to scikit-learn and other ML repositories. You can keep...
Hi @kronenpj Sorry you're encountering issues. I think there are a few issues with your code. (1) `JointCategorical` doesn't accept dictionaries, it accepts a tensor with _d_ dimensions. If you...
Have you read the tutorial on Bayesian networks in pomegranate >= 1.0.0? https://github.com/jmschrei/pomegranate/blob/master/docs/tutorials/B_Model_Tutorial_6_Bayesian_Networks.ipynb Let me know if that's still not helpful
Thanks @itolosa for your help! Where is cs50ai being taught? Yes, you should be able to use `torch.masked.MaskedTensor` to indicate missingness. Let me know if you run into any issues....
I think a challenge with `model.probability` is that there are two ways that one could interpret that given incomplete data. The first is that one should marginalize out the unseen...
I agree with you that having the model not accept masked tensors is a problem that I need to fix. I would love to see your solution. As you've probably...