Skip to content

Commit

Permalink
Applied Arne citeseer fix
Browse files Browse the repository at this point in the history
  • Loading branch information
twinters authored Apr 24, 2023
1 parent 8e86c8c commit bde6d05
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions examples/citeseer/base/citeseer.pl
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
doc_neural(X,Y) --> [], {nn(classifier, X, Y), domain(Y, [0,1,2,3,4,5])}.
doc_neural(X,Y) --> [], {nn(classifier, [X], Y), domain(Y, [0,1,2,3,4,5])}.
citep(X,Y) --> [], {cite(X,Y), findall(T, cite(X,T), L), length(L,M), P is 1 / M, p(P)}.
doc(X,Y,_) --> doc_neural(X,Y), {p(0.5)}.
doc(X,Y,N) --> {N>0, N1 is N - 1, p(0.5)}, citep(X, X1), doc(X1,Y,N1).
s(X) --> doc(X,Y,2), [Y].






s(X) --> doc(X,Y,1), [Y].



Expand Down

0 comments on commit bde6d05

Please sign in to comment.