bd2kccd / causal-cmd

16 stars 8 forks source link

Causal-cmd documentation has outdated examples #87

Open jdramsey opened 1 year ago

jdramsey commented 1 year ago

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 commented 1 year ago

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

jdramsey commented 1 year ago

@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 commented 1 year ago

@jdramsey @kvb2univpitt I opened an issue on https://github.com/bd2kccd/bd2kccd.github.io/issues/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 commented 1 year ago

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 'ccd.user.helpdesk@gmail.com' 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/