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

Causal-cmd documentation has outdated examples #87

Open
jdramsey opened this issue Feb 8, 2023 · 4 comments
Open

Causal-cmd documentation has outdated examples #87

jdramsey opened this issue Feb 8, 2023 · 4 comments

Comments

@jdramsey
Copy link
Contributor

jdramsey commented Feb 8, 2023

Moved to the causal-cmd issues list from the Tetrad issues list.

From a causal-cmd user.

The provided example:
java -jar causal-cmd-1.0.0-jar-with-dependencies.jar --algorithm fges --data-type continuous --dataset Retention.txt --delimiter tab --score sem-bic
Works when changed to:
java -jar causal-cmd-1.3.0-jar-with-dependencies.jar --algorithm fges --data-type continuous --dataset Retention.txt --delimiter tab --score sem-bic-score --skip-latest
Because:
Error: Unable to access jarfile causal-cmd-1.0.0-jar-with-dependencies.jar
No such score 'sem-bic'.
Running version 1.3.0 but the latest version is 1.2.0. To disable checking use the skip-latest option.

Also, I was unable to understand the file containing priors based on the information given on the help page. The included Retention.prior file does not look the same as the example that is shown on the help page.

@jdramsey
Copy link
Contributor Author

jdramsey commented Feb 8, 2023

@kvb2univpitt Do you know if this was every fixed? I'm guessing yes...

@jdramsey
Copy link
Contributor Author

jdramsey commented Feb 8, 2023

@jdramsey No. This issue has not been fixed. The code in Tetrad is changing a lot. I'll wait until the next official release of Tetrad to update the causal-cmd to use the latest tetrad-lib. Once that's done, I'll update the documentation. If I do it now, I will have to do it again later if anything else changes.

@yasu-sh
Copy link
Contributor

yasu-sh commented May 2, 2023

@jdramsey @kvb2univpitt I opened an issue on bd2kccd/bd2kccd.github.io#17 .
For me it is not difficult to rebuild on mkdocs 1.4.2.
I just has pushed on a branch.
https://github.com/yasu-sh/bd2kccd.github.io/tree/update-causal-cmd

@yasu-sh
Copy link
Contributor

yasu-sh commented May 2, 2023

Not pushed in stage directory yet.

(mkdocs)  \bd2kccd.github.io> mkdocs serve
WARNING  -  Config value 'google_analytics': The configuration option google_analytics has been deprecated and will be
            removed in a future release of MkDocs. See the options available on your theme for an alternative.
INFO     -  Building documentation...
INFO     -  Cleaning site directory
INFO     -  The following pages exist in the docs directory, but are not included in the "nav" configuration:
              - tetrad-express.md
WARNING  -  Documentation file 'index.md' contains a link to '[email protected]' which is not found in the
            documentation files.
INFO     -  Documentation built in 0.47 seconds
INFO     -  [14:42:32] Watching paths for changes: 'docs_src', 'mkdocs.yml'
INFO     -  [14:42:32] Serving on http://127.0.0.1:8000/docs/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants