PosAndNegContext
Table of Contents

Overview

This tool allows merging a context K1 and its complementary (inverted) context K2 together.

Synopsis

Usage: ./pre07_posAndNegContext.pl  input.rcf  [-of:output.rcf]

Parameter:
   input.rcf            the input database in RCF format
Option:
   -of:output.rcf       write the result in a file (instead of stdout)

Example

Command:

./pre07_posAndNegContext.pl sample/laszlo.rcf

That is, you only have to provide the context K1.

Output:

[Relational Context]
Default Name
[Binary Relation]
Name_of_dataset
o1 | o2 | o3 | o4 | o5
a | b | c | d | e | ~a | ~b | ~c | ~d | ~e
1 1 0 1 1 0 0 1 0 0
1 0 1 0 0 0 1 0 1 1
1 1 1 0 1 0 0 0 1 0
0 1 1 0 1 1 0 0 1 0
1 1 1 0 1 0 0 0 1 0
[END Relational Context]
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License