Coder Social home page Coder Social logo

nvihrs14 / tcherry Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 3.0 308 KB

This R-package is for learning the structure of the type of graphical models called t-cherry trees from data. The structure is determined either directly from data or by increasing the order of a lower order t-cherry tree.

License: GNU General Public License v3.0

R 98.08% TeX 1.92%
t-cherry-tree undirected-graph chow-liu-tree markov-networks junction-tree variable-dependence graphical-models structure-learning

tcherry's People

Contributors

danielskatz avatar dhhagan avatar katrinekirkeby avatar mariaknudsen avatar mikldk avatar nvihrs14 avatar

Watchers

 avatar  avatar

tcherry's Issues

Installation dependencies

This issue is part of the JOSS review for tcherry.

I had some issues installing the package and building the vignettes due to the dependencies.

Bioconductor packages: I would note in your install instructions that the graph and RBGL packages come from Bioconductor, and that you might need to install them through BiocManager. At first, I tried to install them with install.packages and the error message was not helpful.

Dependencies in the vignette: I was unable to build the vignette due to missing packages gRain and Rgraphviz. Either add these to the dependencies, or better yet, remove them from the vignette if they are not essential.

Consistency in naming conventions

Hello! It might be nice to follow the R naming conventions for function names, though certainly not required - I think this would just require changing "thinning_edges" to "thin_edges" and "BIC_junction_tree" to something like "compute_BIC_junction_tree".

Software paper revisions

This issue is part of the JOSS review for tcherry.

Statement of need: I feel that the paper is unclear on A) what kind of problem the software solves (e.g. finding relationships between variables in some certain kind of data) and B) who the audience for this package is (e.g. biologists?). Please clarify these points.

References: not all citations have a corresponding DOI. Please add the DOI to every reference that has has one.

Proofread: once you have revised the content, please check the grammar for verb tense. I am happy to help with this if you'd like!

Missing package version

This issue is part of the JOSS review for tcherry.

One criteria is that the GitHub version matches the package version. Currently, the repository shows no release version for the software. Please tag the package release once you are done with the other revisions.

Readme code does not run

Check the readme.md file. The argument for increase_order2 is not called 'cliques' (but tch_cliq) and therefore the example code does not run.

Consistency in result's names

tcherry::tcherry_step() gives adjacency matrix via adj_matrix, whereas tcherry::tcherry_CL() gives it via adj_tcherry. The interface would be simpler to program with (e.g. learner function as argument to a function) if they (and possibly others) were called the same.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.