command line tetrad we don’t have an extensive command line interface programmed, but what we do...

8
Command Line Tetrad We don’t have an extensive command line interface programmed, but what we do have has proven useful to many people. We have a command line interface for a number of the basic search algorithms in Tetrad. We also have a command line interface for the IMaGES algorithm. Some upcoming version of Tetrad will include a more extensive command line interface.

Upload: jerome-hubbard

Post on 16-Dec-2015

218 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Command Line Tetrad  We don’t have an extensive command line interface programmed, but what we do have has proven useful to many people.  We have a command

Command Line Tetrad

We don’t have an extensive command line interface programmed, but what we do have has proven useful to many people.

We have a command line interface for a number of the basic search algorithms in Tetrad.

We also have a command line interface for the IMaGES algorithm. Some upcoming version of Tetrad will include a more extensive

command line interface.

Page 2: Command Line Tetrad  We don’t have an extensive command line interface programmed, but what we do have has proven useful to many people.  We have a command

How to get it

Go to the Tetrad downloads directory, http://www.phil.cmu.edu/projects/tetrad_download/download/ Look for files beginning with the prefix “tetradcmd-”. Pick the one with the latest version.

Page 3: Command Line Tetrad  We don’t have an extensive command line interface programmed, but what we do have has proven useful to many people.  We have a command

How to run a search at the command line...

Example: java -jar tetradcmd-4.3.3-1.jar -data munin1.txt -datatype discrete –

algorithm fci -depth 3 -significance 0.0

Page 4: Command Line Tetrad  We don’t have an extensive command line interface programmed, but what we do have has proven useful to many people.  We have a command

Command line options

-data: Gives the data file-datatype: continuous or discrete (mixed

not supported)-algorithm: pc, cpc, fci, cfci, ccd, ges-depth: Default is -1 (unlimited)-significance: Default is 0.05... Some others.

Page 5: Command Line Tetrad  We don’t have an extensive command line interface programmed, but what we do have has proven useful to many people.  We have a command

IMaGES command line

IMaGES (which I’ll talk about) is a more specialized algorithm and uses its own command line interface.

Email me if you’d like to use it.

Page 6: Command Line Tetrad  We don’t have an extensive command line interface programmed, but what we do have has proven useful to many people.  We have a command

Tetrad Source

We regularly get requests for the Tetrad source code.

The secret is, it’s online, freely available, you just have to know where to look!

Again, look in the Tetrad downloads directory

Look for the latest “dist” (distribution) file, unzip it.

Page 7: Command Line Tetrad  We don’t have an extensive command line interface programmed, but what we do have has proven useful to many people.  We have a command

Source

All of the code will be in the distribution, except for private project code.

This can be useful if you want to modify or extend algorithms, or if you want to set up specific kinds of testing, or if the command line tools provided are insufficient for your needs.

Page 8: Command Line Tetrad  We don’t have an extensive command line interface programmed, but what we do have has proven useful to many people.  We have a command

Java

The source code is in Java, which can be interfaced with several other platforms with a bit of work.oMatlab, R, Mathematica, also can be called

from the command line programmatically from various languages.

Also, since it’s in Java, it’s cross-platform compatible, so it will probably run on your machine.