Skip to content

SortPooling questions #7

@tinca

Description

@tinca

Hi,
After succefully running SortPooling, I am experimenting with my own data set while keepenig the architecture
and have a couple of questions:

  • TrajectoryData gets the size but internally produces double amount. If I comment out the surplus data, the example still works fine. Why is this needed, is it just a leftover?
  • Understanding the graphLabel part is hard for me. Why the DenseMatrix's size is 2? And why the value set at different positions is always 1? I guess this is what is learned and then predicted, but if it's always the same what can an NN learn from it?
  • What if I want additional features? Should I use the existing feature matrix by adding egy new column, or create a new tensor that is to be added to the list passed to train method?

Above question certainly shows my basic understanding is incomplete, so no wonder that I am getting exceptions on running the architecture with my data, like:
java.lang.IllegalArgumentException: Mismatched matrix sizes between SparseMatrix (13,13) 12/169 entries and DenseMatrix (features 1, hidden 8)

And finally a little request: it would be so useful if the source artifact was also published to jitpack. This way IDE can show the javaDocs/sources as soon as they are needed.
Thank you, in advance.

Metadata

Metadata

Assignees

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