Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

latest version

Latest
Compare
Choose a tag to compare
Loading
@ZhensongQianZhensongQian released this 18 Nov 02:24
· 1068 commits to master since this release

FactorBase

Build Status
The source code repository for the Factor Base system. The flat learner of the code are classes for CMU's Tetrad system. We may also add datasets if we get around to it.
For more information about this project, visit ourproject website

How to Use

First you should import data into your database. We provide two sets of example datasets intestsql folder. Then you can either run.jar or compile the source yourself. If you want to visualize the BayesNet learned, you can runBIF_Generator

Run .jar to get the BN and MLN

  • Modifyjar/config.cfg with your own configuration according to format explainedhere
  • Injar folder, runjava -jar FactorBase.jar
  • Converting the learned BN into MLN by runningjava -jar MLNExporter.jar
  • For big databases, you need to specify larger java heap size. For example:java -jar -Xmx8G FactorBase.jar

Compile & Run

  • Go intosrc folder
  • modifyconfig.cfg with your own configuration according to format explained [here]
  • javac -cp ".:./lib/*" Config.java BZScriptRunner.java MakeSetup.java
  • javac -cp ".:./lib/*" RunBB.java
  • mkdir src
  • mv scripts src/
  • java -cp ".:./lib/*" MakeSetup
  • java -cp ".:./lib/*" RunBB
  • Optionally set up the target database and run FunctorWrapper
    • javac -cp ".:./lib/*" MakeTargetSetup.java
    • javac -cp ".:./lib/*" FunctorWrapper.java
    • java -cp ".:./lib/*" MakeTargetSetup
    • java -cp ".:./lib/*" FunctorWrapper

Project Specification

Please visit ourproject website

Assets2
Loading

[8]ページ先頭

©2009-2025 Movatter.jp