Skip to content

Error with approximate counting (FACT algorithm) #37

@CheongWoong

Description

@CheongWoong

I tried to experiment with approximate counting (FACT algorithm) using the commands below.

java -cp boostsrl_v1.1.1.jar edu.wisc.cs.will.Boosting.MLN.RunBoostedMLN -l -train train/ -target (target) -model model/ -trees 10 -mln -approxCount
java -cp boostsrl_v1.1.1.jar edu.wisc.cs.will.Boosting.MLN.RunBoostedMLN -i -test test/ -target (target) -model model/ -trees 10 -mln -approxCount -aucJarPath .

I experimented on four datasets: UW-CSE, WebKB, NELL-Sports, CiteSeer, using the exactly same data from this repository. (The same mode, fact and target)

For CiteSeer, I encountered the following error while learning.
image

For the other datasets, learning and inference are done without errors. However, the result seems wrong (every prediction has the same probability as shown below), which is different from the result reported in this paper (Fast Relational Probabilistic Inference and Learning: Approximate Counting via Hypergraphs).
image

I used boostsrl v1.1.1 with java 14.0.1 on Linux. MLN_Boost (without -approxCount flag) works fine without any errors.

(1) How can I resolve the error that I encountered on CiteSeer?
(2) How can I reproduce the experimental results reported in Fast Relational Probabilistic Inference and Learning: Approximate Counting via Hypergraphs?
image

Thank you in advance,
-Cheongwoong Kang

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions