Message Boards Message Boards

GROUPS:

FNetGraph: an ergonomic alternative to NetGraph

Posted 5 months ago
1867 Views
|
4 Replies
|
21 Total Likes
|

Keywords: FNetGraph, NetGraph, neural networks, machine learning, Wolfram language, how to use netgraph

POSTED BY: Alec Graves
4 Replies

enter image description here -- you have earned Featured Contributor Badge enter image description here Your exceptional post has been selected for our editorial column Staff Picks http://wolfr.am/StaffPicks and Your Profile is now distinguished by a Featured Contributor Badge and is displayed on the Featured Contributor Board. Thank you!

POSTED BY: Moderation Team

This is an interesting idea, thanks for suggestion, Alec. I encourage you to submit this to the Wolfram Function Repository (WFR) where it gets reviewed by internal teams. If the design will prove to be fault free and show usability, it might be considered for adoption into the built in architecture.

POSTED BY: Vitaliy Kaurov
Posted 18 days ago

This is now in the Function Repository!

The new version is named RuleNetGraph, and there have been several improvements:

  1. You can use Subscript to name layers
  2. Pure functions and functions supported by ElementwiseLayer and ThreadingLayer are automagically converted into valid Layers! (ElementwiseLayer taking precedence)
  3. You can provide a list of rules as the input.
ResourceFunction["RuleNetGraph"][LinearLayer[64] -> LogisticSigmoid -> (#*17 + 8 &)]

The implementation is fairly similar aside from some changes to improve usability, but feel free to download the source notebook from the function repository site view the latest changes.

POSTED BY: Alec Graves

This is very nice and well put together! Thanks for sharing it with the community

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract