-
Notifications
You must be signed in to change notification settings - Fork 542
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I use deepdive to perform unsupervised verification? #608
Comments
When I want to define a unsupervised model by using "p(x,y)=NULL: ....", the program report: column "label" is of type boolean but expression is of type text It seems that the error is about a bug in sql generation module. |
You may want to check out http://hazyresearch.github.io/snorkel/, which is
more directly about weak supervision.
DeepDive can do all this (and much more!). This flexibility means that not
all representation decisions are obvious.
Chris
…On Mon, Dec 19, 2016 at 8:24 PM 孙明明 ***@***.***> wrote:
When I want to define a unsupervised model by using "p(x,y)=NULL: ....",
the program report:
column "label" is of type boolean but expression is of type text
It seems that the error is about a bug in sql generation module.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#608 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHPtuEFo-aPa3pwU-pGppjuv12ulh3Pfks5rJ1iIgaJpZM4LRaM2>
.
|
@chrismre Thank you for mentioning another amazing projects. I'll look at it. However, currently I'd rather like to know how to do this by deepdive. |
DeepDive can express essentially any factor graph. You'll need to write the rules that create the required factor graph. A default factor graph for this process is described in the Snorkel/data programming paper. Hope that helps! Chris |
@rudaoshi Here is an example rule with manually assigned weights (adapted from the "census" example):
You can change the rule body (the |
@rudaoshi Regarding the NULL issue alone, you should try to use casting within ddlog. Writing = NULL::boolean instead of = NULL will take care of the label casting issue. |
Thank you very much to every one. I'll try your recommended solutions. |
@thodrek I got following error using Deepdive 0.8: 2016-12-21 11:43:00.679659 [error] app.ddlog[176.44] failure: Does this feature need newer version cloned from github? |
@rudaoshi note that there are two colons: |
Hi, I have a unlabeled data set in which each sample has an initial confidence. I want to do some verification by writing rules about commonsense to reduce the confidences of samples which violate commonsense. How can I do this?
Thank you very much!
The text was updated successfully, but these errors were encountered: