Skip to content

Considering changing std::vector<FeatureTransform*> to graph container #17

@poweic

Description

@poweic

In class NNet, I use std::vector<FeatureTransform*> to store all the feature transformations.
For Recurrent Neural Network (RNN) or other user-defined NN structures, std::vector is not enough.
A graph container and file format for graphs are needed.

Here are some graph libraries I found on Stackoverflow:

  • Graphviz
  • Boost Graph Library
  • Lemon
  • igraph
  • OGDF

Also, I'm considering to split the big single model file into small ones and save them in a directory. Something like this:

my.model.init/
├── nnet.topo.xml   # a small topology file (need not to be XML), easier to modify
├── C1.dat          # model parameters in text/binary format
├── C2.dat          # model parameters in text/binary format
├── T1.dat          # model parameters in text/binary format
└── T2.dat          # model parameters in text/binary format

We can also provide a simple Web App to edit/draw nnet.topo.xml.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions