Code Monkey home page Code Monkey logo

r-ghypernet's People

Contributors

gi0na avatar nanumyan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

r-ghypernet's Issues

Fix in block omega formatting

Some commits in the master branch are not yet in a package version. They introduce a very helpful bug fix in the formatting of block-omega matrices. Will this fix appear in the next release?

Resolving block IDs in bccm

When printing bccm fits, the entries of the block-Omega matrix are printed in a list. There, pairs of blocks are enumerated as a cryptic number that is difficult to interpret in terms of the block assignment vector that the user has passed when fitting the bccm. The function internally represents each block by a prime number and creates the enumeration of the block-pairs as the product of the two primes of the involved blocks. However, the user usually doesn't know which prime number is assigned to which block.

For example:

library(ghypernet)

data("adj_karate")
data("vertexlabels")

bccm(adj = adj_karate, labels = vertexlabels, directed = FALSE, selfloops = FALSE)

which prints

...
Coefficients:
    Estimate    Std.Err t value    Pr(>t)    
1 1.00000000 0.00000000     Inf < 2.2e-16 ***
2 0.09044494 0.00021692  416.95 < 2.2e-16 ***
4 0.91049902 0.00040434 2251.79 < 2.2e-16 ***
...

Can the output state the block labels instead of the prime products (1, 2, 4) to identify the pairs? For example, something like

1:1
1:2
2:2

where 1 and 2 are the block-labels from vertexlabels.

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.