Description of proposed changes
LabelModel only accepts a
float or an
prec_init. These get converted into a 1D tensor of the same value. In this pull request,
prec_init can be passed as
np.ndarray or as a Python list also. This way different labeling functions can get assigned different priors.
Need help on these? Just ask!
- [ ✅ ] I have read the CONTRIBUTING document.
- [ ✅ ] I have updated the documentation accordingly.
- [ ✅ ] I have added tests to cover my changes.
- [ ✅ ] I have run
tox -e complexand/or
tox -e sparkif appropriate.
- [ ✅ ] All new and existing tests passed.