tiga1231 / fcViewer1D

A toy viz of fully connected neural networks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A toy viz of fully connected neural networks

screen shot of this visualization

Features

  • Neurons are sorted by their similarity

Limitations

  • It works for networks that intend to solve a scalar input, scalar output (i.e. $f: \Re \rightarrow \Re$) regression/classification problem.
  • It works for small networks, i.e. ~4 layers, up to ~50 neurons per layer, due to svg render limitations.

Usage

Open index.html for a demo.

Detail

dump.py

is a demo script that train a network, record and dump intermediate data (e.g. intermediate training weights/biases, layer activations, loss values, optimized layouts) into a js file (with var data = [...list of intermediate states...]).

index.html

then loads data.js and contains scripts for visualizing all activation levels at each training stage.

About

A toy viz of fully connected neural networks


Languages

Language:JavaScript 99.4%Language:HTML 0.4%Language:Python 0.1%Language:CSS 0.0%