Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update code to 7.6.4 #1766

Merged
merged 580 commits into from
May 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
580 commits
Select commit Hold shift + click to select a range
8085291
Refactor initialization methods in Bayes' methods
jdramsey Mar 31, 2024
3abb9c9
Refactor initialization methods in Bayes' methods
jdramsey Mar 31, 2024
854381d
Merge branch 'development' into joe_bayes_im
jdramsey Mar 31, 2024
6ebe356
Merge pull request #1750 from cmu-phil/joe_bayes_im
jdramsey Mar 31, 2024
2dcfed2
Refactor model name and enhance prior count in Bayes estimator
jdramsey Apr 1, 2024
c6eefe1
Update Bayes estimator and related classes for improved accuracy
jdramsey Apr 1, 2024
fcd1df1
Refactor class instantiation and streamline list operations
jdramsey Apr 1, 2024
e07f12b
Update Bayes estimation to accept adjustable priors
jdramsey Apr 1, 2024
7e51d01
Add new constructors to estimator wrappers
jdramsey Apr 1, 2024
44cb9af
Change default prior count and comment out log data
jdramsey Apr 1, 2024
65440f8
Update naming for Bayes models in config files
jdramsey Apr 1, 2024
e94dc22
Refactor editor name in SessionEditorNode class
jdramsey Apr 1, 2024
b9dd539
Merge pull request #1752 from cmu-phil/joe_bayes_im
jdramsey Apr 1, 2024
f4c92d2
Refactor editor name in SessionEditorNode class
jdramsey Apr 1, 2024
89466aa
Add short names to simulation classes and refactor GUI functionalities
jdramsey Apr 1, 2024
fe32ef5
Update GUI and implement `getShortName` in simulation classes
jdramsey Apr 2, 2024
f9e5512
Refactor AlgcomparisonEditor and related classes
jdramsey Apr 2, 2024
601224c
Refactor AlgcomparisonEditor and related classes
jdramsey Apr 3, 2024
e6217fc
Update AlgcomparisonEditor GUI and refactor related classes
jdramsey Apr 3, 2024
f89aaa5
Mark fields as transient in AlgcomparisonModel class
jdramsey Apr 3, 2024
c3c25d8
Update acronym and algorithm comparison behavior in Tetrad GUI
jdramsey Apr 3, 2024
120d176
Implement number list for parameters in algorithm comparison editor
jdramsey Apr 3, 2024
5949371
Implement the logic of checking node's local Pvalus using FisherZ and…
vbcwonderland Apr 3, 2024
10193dd
Refactor algorithm comparison editor to handle number list parameters
jdramsey Apr 3, 2024
ea91e2a
Refactor AlgcomparisonEditor for number list parameters
jdramsey Apr 3, 2024
0347379
Implement major code refactoring for AlgcomparisonEditor
jdramsey Apr 3, 2024
d717188
Update comments and structure of AlgcomparisonModel
jdramsey Apr 3, 2024
843349c
Add author tag in AlgcomparisonModel class
jdramsey Apr 3, 2024
6c8abaf
Revise tab names and deactivate some functions in AlgcomparisonEditor
jdramsey Apr 3, 2024
068fbc5
nit
vbcwonderland Apr 4, 2024
5347f40
Update AlgcomparisonEditor and AlgcomparisonModel classes
jdramsey Apr 4, 2024
eaf82a3
Refactor AlgcomparisonModel and improve null handling
jdramsey Apr 4, 2024
9b022f0
Refactor AlgcomparisonEditor and remove unnecessary code in Algcompar…
jdramsey Apr 4, 2024
5eca12e
Refactor several text field classes and AlgcomparisonEditor code
jdramsey Apr 4, 2024
7632dd2
Add both options to boolean parameters in AlgcomparisonEditor
jdramsey Apr 4, 2024
da6d701
Replace "Statistics" with "Table Columns" in AlgcomparisonEditor
jdramsey Apr 4, 2024
768b90b
Update references from "statistics" to "table columns" in Algcomparis…
jdramsey Apr 4, 2024
1d8ac49
Refactor table column handling in AlgcomparisonEditor
jdramsey Apr 4, 2024
7aa38ed
Refactor AlgcomparisonEditor to improve table handling
jdramsey Apr 4, 2024
ae9d73a
Refactor code in AlgcomparisonEditor and AlgcomparisonModel
jdramsey Apr 5, 2024
5c86867
Refactor column sorting algorithm in AlgcomparisonModel
jdramsey Apr 5, 2024
d946fe7
Update AlgcomparisonEditor and refactor AlgcomparisonModel
jdramsey Apr 5, 2024
91d8e4f
Refactor AlgcomparisonModel and enhance AlgcomparisonEditor UI
jdramsey Apr 5, 2024
ca1dff6
Refactor AlgcomparisonModel and enhance AlgcomparisonEditor UI
jdramsey Apr 5, 2024
7075fac
Refactor and enhance code comments
jdramsey Apr 5, 2024
11b98c8
Refactor and enhance code comments
jdramsey Apr 5, 2024
787282f
Refactor and enhance code comments
jdramsey Apr 5, 2024
7978794
Refactor and enhance code comments
jdramsey Apr 5, 2024
9a754d3
Added Kevin as an author to the algcomparison ui code, since half the…
jdramsey Apr 5, 2024
08bc690
Optimize AlgcomparisonEditor with sets and prevent duplicate entries
jdramsey Apr 5, 2024
f22d7e6
Refactor and improve clarity of simulation comparison code
jdramsey Apr 5, 2024
37d4592
Add comments for SimulationWrapper class in Comparison.java
jdramsey Apr 5, 2024
1c99d6b
Implement focus listener in AlgcomparisonEditor.java
jdramsey Apr 5, 2024
591a4ef
create mseptest instance on the true graph
vbcwonderland Apr 5, 2024
a4befd5
Refactor directory path generation in AlgcomparisonModel.java
jdramsey Apr 5, 2024
35b8db3
add public getPValue method for IndTestChiSquare
vbcwonderland Apr 5, 2024
68b489b
Merge pull request #1755 from cmu-phil/vbc-2024-04-05
jdramsey Apr 5, 2024
80b936d
Disable saving CPDAGs and Pags in AlgcomparisonModel
jdramsey Apr 5, 2024
06551cc
Merge pull request #1753 from cmu-phil/vbc-2024-03-29
jdramsey Apr 5, 2024
1499570
add IndTestChiSquare case
vbcwonderland Apr 5, 2024
ea26832
Simplify information message in AlgcomparisonEditor
jdramsey Apr 5, 2024
7237329
Refactor "statistics" concept to "table columns" in AlgcomparisonEditor
jdramsey Apr 5, 2024
bebc3e5
Merge pull request #1756 from cmu-phil/vbc-2024-03-29
jdramsey Apr 6, 2024
a6308aa
Add JScrollPane for variable comparison in AlgcomparisonEditor
jdramsey Apr 6, 2024
0102d6f
Add visibility options to comparison settings in AlgcomparisonModel
jdramsey Apr 6, 2024
273c5cd
Set Dialogs as non-resizable in AlgcomparisonModel
jdramsey Apr 6, 2024
ae1a117
Make dialogs resizable in AlgcomparisonEditor
jdramsey Apr 6, 2024
05e6904
Refactor AlgcomparisonEditor for readability and UI improvements
jdramsey Apr 6, 2024
7b71866
Allow dialog boxes to be resizable in AlgcomparisonEditor
jdramsey Apr 6, 2024
5cbe9fd
Fix incorrect array indexing in AlgcomparisonEditor
jdramsey Apr 6, 2024
7d5a1bc
Simplify column comparison logic in AlgcomparisonModel
jdramsey Apr 6, 2024
59b0ddf
Remove redundant column comparison in AlgcomparisonModel
jdramsey Apr 6, 2024
7e23c44
Add Markov check statistics for graph distribution evaluation
jdramsey Apr 6, 2024
450808b
Add new IdaCheck statistic classes for data model evaluation
jdramsey Apr 6, 2024
8afcada
Refactor AlgcomparisonEditor to improve table indexing
jdramsey Apr 6, 2024
45f6699
Simplify string and table index conversion in AlgcomparisonEditor
jdramsey Apr 6, 2024
aaaa9c7
Expand functionality description in AlgcomparisonEditor
jdramsey Apr 6, 2024
1c43f25
Adjust AlgcomparisonEditor's parameterBox dimensions
jdramsey Apr 6, 2024
f18d6c9
Refactor parameter handling in AlgcomparisonEditor
jdramsey Apr 7, 2024
7043541
Add references and clean up in Algcomparison code
jdramsey Apr 7, 2024
1d35484
Remove author tag and unused variable in AlgcomparisonModel
jdramsey Apr 7, 2024
15041f8
Add author tag to AlgcomparisonModel
jdramsey Apr 7, 2024
53002e2
Improve AlgcomparisonEditor parameter handling and description
jdramsey Apr 7, 2024
f479201
Refactor parameter conversion in AlgcomparisonEditor
jdramsey Apr 7, 2024
a038880
Refactor parameter conversion in AlgcomparisonEditor
jdramsey Apr 7, 2024
d3f8b30
Remove unnecessary line in AlgcomparisonEditor
jdramsey Apr 7, 2024
5636ddd
Add verbose output tab in AlgcomparisonEditor
jdramsey Apr 7, 2024
816ea45
Refactor algorithm comparison process and UI presentation
jdramsey Apr 7, 2024
a431455
Remove logging and serializing issues from algorithm comparison
jdramsey Apr 7, 2024
1ca0dea
Update parameter handling in AlgcomparisonEditor
jdramsey Apr 7, 2024
f3ba0df
Add thread interrupt handling and GUI enhancements
jdramsey Apr 7, 2024
2dbac13
Reposition thread interrupt handling in `Comparison.java`
jdramsey Apr 7, 2024
310387b
Handle exceptions in ForkJoinPool tasks in `Comparison.java`
jdramsey Apr 7, 2024
f4d1f51
Add setParallelism method to Comparison class
jdramsey Apr 7, 2024
498e20c
Improve directory handling and add parallelism configuration
jdramsey Apr 7, 2024
e95e230
Replace setNumThreads method with setParallelism
jdramsey Apr 7, 2024
d574d75
Correct typo in BOOTSTRAPPING_NUM_THREADS variable
jdramsey Apr 7, 2024
ecd3ad3
Update method descriptions and parameter settings in various classes
jdramsey Apr 8, 2024
f4314a6
Refactor BayesIm usage and documentation in Tetrad application
jdramsey Apr 8, 2024
2a8cd63
Add COMPARE_GRAPH_ALGCOMP parameter to various simulations
jdramsey Apr 8, 2024
21b516d
Remove COMPARE_GRAPH_ALGCOMP parameter addition from multiple simulat…
jdramsey Apr 8, 2024
a23ebf4
Add parameters to AlgcomparisonEditor model
jdramsey Apr 8, 2024
704b4e4
Add reference citation to AlgcomparisonEditor
jdramsey Apr 8, 2024
f812e1b
Refactored UI to handle cases with no parameters and simplified code
jdramsey Apr 8, 2024
76e3f3d
Corrected HTML character entity reference in comments
jdramsey Apr 8, 2024
1d18da2
Add Markov, IDA check and Algcomparison guides to docs
jdramsey Apr 8, 2024
55923fc
Update documentation with tool guides
jdramsey Apr 8, 2024
189ece1
Correct typo in documentation header
jdramsey Apr 8, 2024
05e6473
Merge pull request #1754 from cmu-phil/joe_algcomparison3
jdramsey Apr 8, 2024
c926572
Typo.
jdramsey Apr 9, 2024
5c8f53c
Typo.
jdramsey Apr 9, 2024
019cc26
Refactor and enhance Algcomparison editor's functionalities
jdramsey Apr 9, 2024
995f06a
Add functionality to load Bayes IM as BIF format
jdramsey Apr 10, 2024
2713be5
Add BIF save action and Bayes Bif Renderer
jdramsey Apr 10, 2024
f0b5004
Refactor menu structure in BayesImEditor
jdramsey Apr 10, 2024
9234026
Fix typo in BayesImParamsEditor class
jdramsey Apr 10, 2024
9632c09
Add functionality for loading graphs in "amat.cpdag" format
jdramsey Apr 11, 2024
f96473f
Update graph loading and saving functionality with amat.pag format
jdramsey Apr 11, 2024
59be512
Update validation conditions in graphToAmatCpag function
jdramsey Apr 11, 2024
85b526b
xx`
jdramsey Apr 13, 2024
89a5b0b
Refactor graph path methods and adjust code accordingly
jdramsey Apr 13, 2024
d90c69d
Refactor graph separation logic and simplify EdgeNode
jdramsey Apr 14, 2024
70ab987
Merge pull request #1758 from cmu-phil/joe_bif_format
jdramsey Apr 14, 2024
b47ec2d
Merge branch 'development' of https://github.com/cmu-phil/tetrad into…
jdramsey Apr 14, 2024
216a8bd
Update methods to include additional parameter
jdramsey Apr 14, 2024
f350195
Add selection bias option to getParents method
jdramsey Apr 14, 2024
32cb83e
Add checks for graph types in GUI
jdramsey Apr 14, 2024
1c3b626
Add support for user-supplied graphs in Algcomparison
jdramsey Apr 15, 2024
6015e26
Implement Meek Rules in Paths class
jdramsey Apr 15, 2024
1146fb3
Update UI and graph logic
jdramsey Apr 15, 2024
3d0289a
Replace 'cpdagForDag' method with 'dagToCpdag'
jdramsey Apr 16, 2024
009f7e3
Refactor graph methods and improve documentation
jdramsey Apr 16, 2024
48e18e2
Refactor graph methods and improve documentation
jdramsey Apr 16, 2024
c1786a7
Refactor adjustment sets to "visible edge adjustments"
jdramsey Apr 17, 2024
2075a3d
Refactor PAG and MAG validation functionality
jdramsey Apr 17, 2024
22d823b
Null checks in EdgeListGraph
vbcwonderland Apr 18, 2024
636af2f
Merge pull request #1760 from cmu-phil/vbc-04-17
jdramsey Apr 18, 2024
2539487
MB extraction
vbcwonderland Apr 18, 2024
6776966
Merge branch 'development' of https://github.com/cmu-phil/tetrad into…
jdramsey Apr 18, 2024
23231f4
Add "Meek Rules" submenu and handle exception in TestGraphUtils
jdramsey Apr 18, 2024
b0c2103
TODOs for Precesion and Recall
vbcwonderland Apr 19, 2024
40b9f1b
cleanup comments
vbcwonderland Apr 19, 2024
1a6d91a
Add new functions for graph manipulation
jdramsey Apr 19, 2024
e86b11e
Add 'SelectEdgesInCycles' class in tetrad-gui module
jdramsey Apr 19, 2024
cf9a273
Add dependency-reduced-pom.xml to tetrad-gui
jdramsey Apr 19, 2024
10aceb7
Some adjustments.
jdramsey Apr 20, 2024
88cb1db
Refactor graph operations and initialize sets
jdramsey Apr 20, 2024
3b39bc0
Remove log message and add new test for m-connection
jdramsey Apr 20, 2024
08e5c2d
Update JavaDoc for various methods across several classes
jdramsey Apr 20, 2024
2db8adf
Move addGraphManipItems method to GraphUtils class
jdramsey Apr 20, 2024
4fef112
Disable graph type checks in GraphSaveLoadUtils
jdramsey Apr 20, 2024
054339f
Merge pull request #1761 from cmu-phil/vbc-04-18
jdramsey Apr 20, 2024
b165bd2
Merge branch 'development' of https://github.com/cmu-phil/tetrad into…
jdramsey Apr 20, 2024
4d7f1c3
Disable graph type checks in GraphSaveLoadUtils
jdramsey Apr 20, 2024
84dd184
Refine graph handling methods
jdramsey Apr 20, 2024
72c9dc4
Implement redo function in graph editor
jdramsey Apr 20, 2024
a09e939
Implement redo function in graph editor
jdramsey Apr 20, 2024
ec29905
Add 'cut' functionality to graph editors
jdramsey Apr 20, 2024
cccaf14
Refactor PAG coloring and adjust paste naming in GUI
jdramsey Apr 20, 2024
e5a58a0
Update graph check dialogs to use containing JScrollPane
jdramsey Apr 21, 2024
7e65e2e
Updated graph manipulation methods and corresponding GUI elements
jdramsey Apr 21, 2024
7c23ae5
Optimize graph legality check methods
jdramsey Apr 21, 2024
ac44ce6
Update action label in PickZhangMagInPagAction
jdramsey Apr 21, 2024
92c06d5
Refactor edge selection and improve terminology clarity
jdramsey Apr 21, 2024
77c2d03
Add "ExistsAlmostCyclicPathEst" statistic class
jdramsey Apr 21, 2024
26a30b8
Remove redundant graph path conditions and statistics
jdramsey Apr 21, 2024
1060fa8
Add SelectPartiallyOrientedAction and SelectNondirectedAction classes
jdramsey Apr 21, 2024
02b9d91
Add 'SelectEdgesInCyclicPaths' class and update 'GraphUtils'
jdramsey Apr 21, 2024
f9cb33e
Add 'SelectEdgesInCyclicPaths' class and update 'GraphUtils'
jdramsey Apr 21, 2024
0b46de6
Update graph edge explanation and help window size
jdramsey Apr 22, 2024
e8b76be
Add undo, redo and reset actions to Graph Editor
jdramsey Apr 22, 2024
e580559
Update graph edge types documentation and resize help window
jdramsey Apr 22, 2024
d85f721
Set current view to "Index" in PagEdgeTypeInstructions
jdramsey Apr 22, 2024
40c9375
Add 'SelectCliquesAction' and update documentation
jdramsey Apr 22, 2024
ec1a7c3
Update clique selection action in GraphWorkbench
jdramsey Apr 22, 2024
5d0d43b
Update clique selection action in GraphWorkbench
jdramsey Apr 22, 2024
d9219d8
Adj and AH Precision and Recall for accepted MB nodes
vbcwonderland Apr 23, 2024
c0d789a
Adj and AH Precision and Recall for rejected MB nodes
vbcwonderland Apr 23, 2024
ca9bb5d
Merge pull request #1762 from cmu-phil/vbc-04-22
jdramsey Apr 23, 2024
df4ebb9
Merge branch 'development' into joe_adjustment
jdramsey Apr 23, 2024
0f021c3
Correct typos and comment out block of illegalMpdag check
jdramsey Apr 23, 2024
78cdfd7
Refactor clique selection logic in SelectCliquesAction
jdramsey Apr 23, 2024
97c413d
Update graph edge types documentation and URL in LaunchFlowchartAction
jdramsey Apr 23, 2024
52f131c
Add UndoLastAction import in TetradMenuBar
jdramsey Apr 23, 2024
4abde0d
Remove UndoLastAction import and adjust paragraph indentation
jdramsey Apr 23, 2024
b4f1463
Update graph edge label and modify input prompt
jdramsey Apr 23, 2024
2969363
Update graph edge label and modify input prompt
jdramsey Apr 23, 2024
7aa873c
Refactor random graph type and limit settings
jdramsey Apr 23, 2024
317855e
Check target node's Parents nodes through FisherZ then use the PValue…
vbcwonderland Apr 23, 2024
69635b7
Merge pull request #1763 from cmu-phil/vbc-04-22-2
jdramsey Apr 23, 2024
250276a
Merge branch 'development' of https://github.com/cmu-phil/tetrad into…
jdramsey Apr 23, 2024
06cb581
Merge remote-tracking branch 'origin/joe_adjustment' into joe_adjustment
jdramsey Apr 23, 2024
deb6e4d
Add PAG coloring support in AbstractWorkbench
jdramsey Apr 23, 2024
06a7f33
Add PAG coloring support in AbstractWorkbench
jdramsey Apr 23, 2024
a0d1896
Local statistics when initial true graph is CPDAG
vbcwonderland Apr 23, 2024
576a3f8
Statistics for true graph's CPDAG compared with estimated CPDAG's loc…
vbcwonderland Apr 25, 2024
7264f34
nit
vbcwonderland Apr 25, 2024
0d7e3f4
Add MagToPag conversion feature and update RevertToPag
jdramsey Apr 26, 2024
482d97b
Add MagToPag conversion feature and update RevertToPag
jdramsey Apr 26, 2024
d895035
Merge pull request #1764 from cmu-phil/vbc-04-23
jdramsey Apr 27, 2024
d75a78f
Refactor PAG coloring to PAG edge specialization markups
jdramsey Apr 27, 2024
291f597
Refactor PAG coloring to PAG edge specialization markups
jdramsey Apr 27, 2024
3fa61ff
Refactor code and improve condition checks in graph methods
jdramsey Apr 28, 2024
ffcf833
Remove cap on 'b' value in ChoiceGenerator
jdramsey Apr 28, 2024
8bc4a99
Add SepsetsMaxP class and update references
jdramsey Apr 28, 2024
de36601
Add GraspLvLite class and update GraphUtils
jdramsey Apr 28, 2024
6e22e06
Add GraspLvLite class and update GraphUtils
jdramsey Apr 28, 2024
7e7d4f5
Add GraspLvLite class and update GraphUtils
jdramsey Apr 29, 2024
a2580ac
Remove NumCompatibleVisibleAncestors and refactor related code
jdramsey Apr 30, 2024
9389d78
Refactor LvLite.java to remove unused code
jdramsey Apr 30, 2024
fa999c5
Refactor variable names in LvLite.java
jdramsey Apr 30, 2024
f77c640
Refactor variable names in LvLite.java
jdramsey Apr 30, 2024
6dabab4
Refactor LvLite.java to simplify code
jdramsey Apr 30, 2024
5c10863
Remove unused parameters in LvLite.java
jdramsey Apr 30, 2024
ba38a57
Remove unused parameters in LvLite.java
jdramsey May 1, 2024
a0ce0c2
Update visibility check method and update search configuration options
jdramsey May 1, 2024
96003cb
Refactor code for visibility check and search configurations
jdramsey May 1, 2024
586f783
Add functionality for latent confounder detection in bidirectional edges
jdramsey May 2, 2024
a482005
Add verbosity checks to logger in FciOrient and LvLite
jdramsey May 2, 2024
d8db609
Removed P1, P2, PagIdea, and PagIdea2 files
jdramsey May 2, 2024
d6d5098
[Message]
jdramsey May 3, 2024
6c51807
Update LvLite class documentation
jdramsey May 3, 2024
3bb5a71
Update LvLite class documentation
jdramsey May 3, 2024
c5819e1
Refactor LvLite search algorithm and update comments
jdramsey May 3, 2024
6eb72c9
Add feature to resolve almost cyclic paths in graph search
jdramsey May 3, 2024
d38e023
Update table background color in graph_edge_types.html
jdramsey May 3, 2024
6e22c3c
Add functionality to resolve almost cyclic paths
jdramsey May 3, 2024
ceaf8e5
Refactor code for various algorithms and classes
jdramsey May 4, 2024
24ea09d
Update adjacency check and remove seed setting in LvLite
jdramsey May 4, 2024
3ea9750
Refactor edge manipulation logic and rule set application
jdramsey May 4, 2024
89425de
Refactor multiple classes and update LvLite algorithm
jdramsey May 5, 2024
44f804d
Refactor LvLite class and update method descriptions
jdramsey May 6, 2024
bd46da0
Remove unused imports in LvLite.java
jdramsey May 6, 2024
591cdc2
Remove unused variable and commented code in LvLite
jdramsey May 6, 2024
d48bae1
Update FciOrient constructor documentation
jdramsey May 6, 2024
180ca8e
Remove unused code and methods in FciOrient
jdramsey May 6, 2024
94121a5
Remove depth setting in LvLite algorithm
jdramsey May 6, 2024
946f6d7
Update LvLite class constructors and method documentation
jdramsey May 6, 2024
86fb028
Add verbose logging in LvLite search algorithm
jdramsey May 6, 2024
24de5bc
Add documentation for score-based rule in LvLite.java
jdramsey May 6, 2024
b18fc3e
Simplify code and remove redundant comments
jdramsey May 6, 2024
fb7a079
Improve reachability algorithm performance in CPDAGs and PAGs
jdramsey May 6, 2024
e80885d
Merge branch 'development' into joe_adjustment
jdramsey May 6, 2024
0300d96
Merge pull request #1759 from cmu-phil/joe_adjustment
jdramsey May 6, 2024
e51f9b5
Update methods in test files for better accuracy
jdramsey May 6, 2024
8350c6e
Refactor LvLite algorithm and update error handling in DagSepsets
jdramsey May 7, 2024
b12b0ac
Merge pull request #1765 from cmu-phil/alternative_disc_path
jdramsey May 7, 2024
54445e8
Update condition in LvLite.java
jdramsey May 7, 2024
32e5d36
Refactor LvLite's tucking scheme
jdramsey May 7, 2024
5d501ec
Update Tetrad version from snapshot to 7.6.4
jdramsey May 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
15 changes: 10 additions & 5 deletions INSTALL_APPLICATION.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
# Tetrad Application

This is a user interface tool that divides the analysis of causal problems into modular pieces which can be connected together to reflect how causal problems should ideally be analyzed. This can helpful as an educational tool or for data analysis for those who prefer a point and click interface.
This is a user interface tool that divides the analysis of causal problems into modular pieces which can be connected
together to reflect how causal problems should ideally be analyzed. This can helpful as an educational tool or for data
analysis for those who prefer a point and click interface.

Please use a recent Java JDK. See [Setting up Java for Tetrad](https://github.com/cmu-phil/tetrad/wiki/Setting-up-Java-for-Tetrad).
Please use a recent Java JDK.
See [Setting up Java for Tetrad](https://github.com/cmu-phil/tetrad/wiki/Setting-up-Java-for-Tetrad).

To download the Tetrad jar, please click the following link (which will always be updated to the latest version):

https://s01.oss.sonatype.org/content/repositories/releases/io/github/cmu-phil/tetrad-gui/7.6.2/tetrad-gui-7.6.2-launch.jar
https://s01.oss.sonatype.org/content/repositories/releases/io/github/cmu-phil/tetrad-gui/7.6.3/tetrad-gui-7.6.3-launch.jar

You may be able to launch this jar by double-clicking the jar file name. However, on a Mac, this presents some security challenges. On all platforms, the jar may be launched at the command line (with a specification of the amount of RAM you will allow it to use) using this command:
You may be able to launch this jar by double-clicking the jar file name. However, on a Mac, this presents some security
challenges. On all platforms, the jar may be launched at the command line (with a specification of the amount of RAM you
will allow it to use) using this command:

java -Xmx[g]G -jar *-launch.jar

Here, [g] is the maximum number of Gigabytes you wish to allocate to the process.
Here, [g] is the maximum number of Gigabytes you wish to allocate to the process.

See our Documentation for more details about the Tetrad application.
24 changes: 17 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,31 @@
# Tetrad

Please visit our [[Tetrad web page](https://www.cmu.edu/dietrich/philosophy/tetrad/)) for current links, a list of contributors, some history, documentation, descriptions, links for our various projects, Javadocs, and more.
Please visit our [[Tetrad web page](https://www.cmu.edu/dietrich/philosophy/tetrad/)) for current links, a list of
contributors, some history, documentation, descriptions, links for our various projects, Javadocs, and more.

## Tetrad Application

See out insructions for [Installing the Tetrad Application](https://github.com/cmu-phil/tetrad/blob/development/INSTALL_APPLICATION.md).
See our instructions
for [Installing the Tetrad Application](https://github.com/cmu-phil/tetrad/blob/development/INSTALL_APPLICATION.md).

## Tetrad in Python

We have a project, [py-tetrad](https://github.com/cmu-phil/py-tetrad), that allows you to incorporate arbitrary Tetrad code into a Python workflow. It's new, and the installation is still nonstandard, but it had a good response. This requires Python 3.5+. and Java JDK 9+.
We have a project, [py-tetrad](https://github.com/cmu-phil/py-tetrad), that allows you to incorporate arbitrary Tetrad
code into a Python workflow. It's new, and the installation is still nonstandard, but it had a good response. This
requires Python 3.5+. and Java JDK 17+.

## Tetrad in R

We also have a project, [rpy-tetrad](https://github.com/cmu-phil/py-tetrad/tree/main/pytetrad/R), that allows you to incorporate _some_ Tetrad functionality in R. It's also new, and the installation for it is also still nonstandard, but has gotten good feedback. This requires Python 3.5+ and Java JDK 9+.
We also have a project, [rpy-tetrad](https://github.com/cmu-phil/py-tetrad/tree/main/pytetrad/R), that allows you to
incorporate _some_ Tetrad functionality in R. It's also new, and the installation for it is also still nonstandard, but
has gotten good feedback. This requires Python 3.5+ and Java JDK 17+.

Please see our [description](https://sites.google.com/view/tetradcausal/tetrad-in-r?authuser=0).

## Tetrad at the Command Line

In addition, we have a fully-developed tool, [Causal Command](https://github.com/bd2kccd/causal-cmd), that lets you run arbitrary Tetrad searches at the command likne.
In addition, we have a fully developed tool, [Causal Command](https://github.com/bd2kccd/causal-cmd), that lets you run
arbitrary Tetrad searches at the command line.

## Installallation for Programmers

Expand Down Expand Up @@ -48,9 +55,12 @@ To generate an executable jar:
mvn clean package
```

The (launch) jar for the Tetrad Application will appear in the tetrad-gui/target directory. For links to our Python and R projects or our command line tool, please see our [Tetrad web page](https://sites.google.com/view/tetradcausal).
The (launch) jar for the Tetrad Application will appear in the tetrad-gui/target directory. For links to our Python and
R projects or our command line tool, please see our [Tetrad web page](https://sites.google.com/view/tetradcausal).

Here are some [instructions on how to set this project up in IntelliJ IDEA](https://github.com/cmu-phil/tetrad/wiki/Setting-up-Tetrad-in-IntelliJ-IDEA). You can run the Tetrad lifecycle package target and launch the "-launch" jar built in the target directory.
Here are
some [instructions on how to set this project up in IntelliJ IDEA](https://github.com/cmu-phil/tetrad/wiki/Setting-up-Tetrad-in-IntelliJ-IDEA).
You can run the Tetrad lifecycle package target and launch the "-launch" jar built in the target directory.

The project contains well-developed code in these packages:

Expand Down
2 changes: 1 addition & 1 deletion data-reader/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.github.cmu-phil</groupId>
<artifactId>tetrad</artifactId>
<version>7.6.3</version>
<version>7.6.4</version>
</parent>
<!-- <groupId>io.github.cmu-phil</groupId>-->
<artifactId>data-reader</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
* Dec 10, 2018 3:14:46 AM
*
* @author Kevin V. Bui ([email protected])
* @version $Id: $Id
*/
public interface ContinuousData extends Data {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
* Nov 20, 2018 4:28:27 PM
*
* @author Kevin V. Bui ([email protected])
* @version $Id: $Id
*/
public interface Data {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
* Dec 8, 2018 4:14:30 PM
*
* @author Kevin V. Bui ([email protected])
* @version $Id: $Id
*/
public interface DataColumn {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
* Jan 2, 2019 10:46:41 AM
*
* @author Kevin V. Bui ([email protected])
* @version $Id: $Id
*/
public final class DataColumns {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
* Dec 12, 2018 11:16:14 AM
*
* @author Kevin V. Bui ([email protected])
* @version $Id: $Id
*/
public abstract class DataFileReader implements DataReader {

Expand Down Expand Up @@ -88,7 +89,7 @@ public DataFileReader(Path dataFile, Delimiter delimiter) {
* Counts number of column from the first non-blank line.
*
* @return the number of column from the first non-blank line
* @throws IOException if an I/O error occurs
* @throws java.io.IOException if an I/O error occurs
*/
protected int countNumberOfColumns() throws IOException {
int count = 0;
Expand Down Expand Up @@ -184,7 +185,7 @@ protected int countNumberOfColumns() throws IOException {
* Counts number of non-blank lines.
*
* @return the number of non-blank and non-commented lines
* @throws IOException if an I/O error occurs
* @throws java.io.IOException if an I/O error occurs
*/
protected int countNumberOfLines() throws IOException {
int count = 0;
Expand Down Expand Up @@ -253,7 +254,7 @@ protected int countNumberOfLines() throws IOException {
/**
* Sets the quote character.
*
* @param quoteCharacter the quote character
* @param quoteCharacter the quote character to be set
*/
@Override
public void setQuoteCharacter(char quoteCharacter) {
Expand All @@ -265,7 +266,7 @@ public void setQuoteCharacter(char quoteCharacter) {
/**
* Sets the comment marker.
*
* @param commentMarker the comment marker
* @param commentMarker the comment marker to be set
*/
@Override
public void setCommentMarker(String commentMarker) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
* Dec 12, 2018 11:16:53 AM
*
* @author Kevin V. Bui ([email protected])
* @version $Id: $Id
*/
public interface DataReader {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
* Nov 6, 2018 2:26:59 PM
*
* @author Kevin V. Bui ([email protected])
* @version $Id: $Id
*/
public class DataReaderException extends RuntimeException {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
* Dec 7, 2018 3:43:12 PM
*
* @author Kevin V. Bui ([email protected])
* @version $Id: $Id
*/
public abstract class DatasetFileReader extends DataFileReader implements DatasetReader {

Expand All @@ -45,9 +46,9 @@ public DatasetFileReader(Path dataFile, Delimiter delimiter) {
}

/**
* Get the missing data marker.
* Sets the missing data marker.
*
* @param missingDataMarker the missing data marker
* @param missingDataMarker the missing data marker to be set
*/
@Override
public void setMissingDataMarker(String missingDataMarker) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
* Dec 3, 2018 2:24:32 PM
*
* @author Kevin V. Bui ([email protected])
* @version $Id: $Id
*/
public interface DatasetReader extends DataReader {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
* Nov 5, 2018 2:27:47 PM
*
* @author Kevin V. Bui ([email protected])
* @version $Id: $Id
*/
public enum Delimiter {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
* Dec 10, 2018 3:50:45 AM
*
* @author Kevin V. Bui ([email protected])
* @version $Id: $Id
*/
public interface DiscreteData extends Data {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
* Dec 10, 2018 3:24:22 AM
*
* @author Kevin V. Bui ([email protected])
* @version $Id: $Id
*/
public interface DiscreteDataColumn {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
* Dec 10, 2018 3:57:59 AM
*
* @author Kevin V. Bui ([email protected])
* @version $Id: $Id
*/
public interface MixedData extends Data {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,27 @@
* Nov 19, 2018 2:20:52 PM
*
* @author Kevin V. Bui ([email protected])
* @version $Id: $Id
*/
public interface CovarianceData extends Data {

/**
* <p>getNumberOfCases.</p>
*
* @return the number of cases in the data.
*/
int getNumberOfCases();

/**
* <p>getVariables.</p>
*
* @return the number of variables in the data.
*/
List<String> getVariables();

/**
* <p>getData.</p>
*
* @return the data in a 2D array.
*/
double[][] getData();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,15 @@
* Feb 22, 2017 2:31:13 PM
*
* @author Kevin V. Bui ([email protected])
* @version $Id: $Id
*/
public interface CovarianceDataReader extends DataReader {

/**
* Reads in the covariance data.
*
* @return the covariance data.
* @throws IOException if an I/O error occurs.
* @throws java.io.IOException if an I/O error occurs.
*/
CovarianceData readInData() throws IOException;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
* Nov 19, 2018 11:04:51 AM
*
* @author Kevin V. Bui ([email protected])
* @version $Id: $Id
*/
public class LowerCovarianceDataFileReader extends DataFileReader implements CovarianceDataReader {

Expand All @@ -48,10 +49,9 @@ public LowerCovarianceDataFileReader(Path dataFile, Delimiter delimiter) {
}

/**
* {@inheritDoc}
* <p>
* Reads in the covariance data.
*
* @return the covariance data.
* @throws IOException if an I/O error occurs.
*/
@Override
public CovarianceData readInData() throws IOException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
* Dec 18, 2018 11:21:23 AM
*
* @author Kevin V. Bui ([email protected])
* @version $Id: $Id
*/
public class ColumnMetadata {

Expand Down Expand Up @@ -75,9 +76,9 @@ public ColumnMetadata(String name, int columnNumber, boolean discrete) {
}

/**
* {@inheritDoc}
* <p>
* Return a string representation of the column metadata.
*
* @return a string representation of the column metadata.
*/
@Override
public String toString() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
* Dec 20, 2018 11:42:01 AM
*
* @author Kevin V. Bui ([email protected])
* @version $Id: $Id
*/
public class InterventionalColumn {

Expand Down Expand Up @@ -51,9 +52,9 @@ public InterventionalColumn(ColumnMetadata valueColumn, ColumnMetadata statusCol
}

/**
* {@inheritDoc}
* <p>
* Returns a string representation of this object.
*
* @return a string representation of this object.
*/
@Override
public String toString() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
* Dec 18, 2018 11:21:23 AM
*
* @author Kevin V. Bui ([email protected])
* @version $Id: $Id
*/
public class Metadata {

Expand Down Expand Up @@ -58,9 +59,9 @@ public Metadata(List<ColumnMetadata> domainColumnns, List<InterventionalColumn>
}

/**
* {@inheritDoc}
* <p>
* Returns a string representation of this object.
*
* @return a string representation of this object.
*/
@Override
public String toString() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
* Dec 18, 2018 2:05:46 PM
*
* @author Kevin V. Bui ([email protected])
* @version $Id: $Id
*/
public class MetadataFileReader implements MetadataReader {

Expand All @@ -47,10 +48,9 @@ public MetadataFileReader(Path metadataFile) {
}

/**
* {@inheritDoc}
* <p>
* Reads in the metadata.
*
* @return the metadata.
* @throws IOException if an I/O error occurs.
*/
@Override
public Metadata read() throws IOException {
Expand Down
Loading