Skip to content

Documentation examples incorrect #357

@eahenle

Description

@eahenle

In the documentation, code is given that does not run. The problem is that the node feature matrix is transposed vs. what it should be.

Example given:

fg = FeaturedGraph(erdos_renyi(100, 20))
fg = FeaturedGraph(fg, nf=rand(100, 5)) # DimensionMismatch

Correct code:

fg = FeaturedGraph(erdos_renyi(100, 20))
fg = FeaturedGraph(fg, nf=rand(5, 100))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions