1 / 8

Command Line Tetrad

Access the command line interface for basic search algorithms in Tetrad, including the upcoming extensive version. Also explore the specialized IMaGES algorithm. Get the source code for customization and cross-platform compatibility.

peasej
Download Presentation

Command Line Tetrad

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  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 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.

  2. 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.

  3. 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

  4. 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.

  5. 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.

  6. 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.

  7. 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.

  8. Java • The source code is in Java, which can be interfaced with several other platforms with a bit of work. • Matlab, 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.

More Related