Skip to content
Alexander L. Hayes edited this page Dec 28, 2016 · 29 revisions

BoostSRL Basics Part 2: "File Structure"

by: Tushar Khot, Alexander L. Hayes

Previous Page - Wiki - Next Page


Table of Contents:

  1. Basic File Structure
  2. Advanced File Structure

Basic

Files that BoostSRL operates on are stored in a folder with three things:

  1. background.txt : Modes
  2. train/ folder :
  • train_bk.txt : Pointer to the background file.
  • train_facts.txt : Facts
  • train_pos.txt : Positive examples
  • train_neg.txt : Negative examples
  1. test/ folder :
  • test_bk.txt : Pointer to the background file.
  • test_facts.txt : Facts
  • test_pos.txt : Positive examples
  • test_neg.txt : Negative examples

Example:

basic file structure for the Cora dataset

File structure for the Cora dataset, notice that the background is called "cora_bk.txt" in this example.

This is okay if train_bk.txt and test_bk.txt both point correctly with: import: "../cora_bk.txt".

Table of Contents | Wiki


Advanced

Table of Contents | Wiki


Previous Page: "Getting Started" - Wiki - Next Page: "Basic Usage Parameters"

Clone this wiki locally