MCPcopy
hub / github.com/tensorflow/playground

github.com/tensorflow/playground @main sqlite

repository ↗ · DeepWiki ↗
106 symbols 208 edges 8 files 11 documented · 10%
README

Deep playground

Deep playground is an interactive visualization of neural networks, written in TypeScript using d3.js. We use GitHub issues for tracking new requests and bugs. Your feedback is highly appreciated!

If you'd like to contribute, be sure to review the contribution guidelines.

Development

To run the visualization locally, run: - npm i to install dependencies - npm run build to compile the app and place it in the dist/ directory - npm run serve to serve from the dist/ directory and open a page on your browser.

For a fast edit-refresh cycle when developing run npm run serve-watch. This will start an http server and automatically re-compile the TypeScript, HTML and CSS files whenever they change.

For owners

To push to production: git subtree push --prefix dist origin gh-pages.

This is not an official Google product.

Extension points exported contracts — how you extend this code

ErrorFunction (Interface)
(no doc)
src/nn.ts
HeatMapSettings (Interface)
(no doc)
src/heatmap.ts
InputFeature (Interface)
(no doc)
src/playground.ts
Math (Interface)
(no doc)
src/seedrandom.d.ts
Property (Interface)
(no doc)
src/state.ts
ActivationFunction (Interface)
(no doc)
src/nn.ts
RegularizationFunction (Interface)
(no doc)
src/nn.ts

Core symbols most depended-on inside this repo

randUniform
called by 22
src/dataset.ts
reset
called by 16
src/playground.ts
userHasInteracted
called by 9
src/playground.ts
generateData
called by 7
src/playground.ts
getKeyFromValue
called by 6
src/state.ts
serialize
called by 6
src/state.ts
nodeIndexScale
called by 5
src/playground.ts
updateUI
called by 5
src/playground.ts

Shape

Function 54
Method 24
Class 18
Interface 7
Enum 3

Languages

TypeScript100%

Modules by API surface

src/playground.ts38 symbols
src/nn.ts22 symbols
src/dataset.ts15 symbols
src/state.ts14 symbols
src/heatmap.ts9 symbols
src/linechart.ts7 symbols
src/seedrandom.d.ts1 symbols

Dependencies from manifests, versioned

@types/d33.5.34 · 1×
concat1.0.3 · 1×
concurrently3.1.0 · 1×
copyfiles1.0.0 · 1×
d33.5.16 · 1×
material-design-lite1.3.0 · 1×
rimraf2.5.4 · 1×
seedrandom2.4.3 · 1×
serve11.3.0 · 1×
tsify4.0.0 · 1×
typescript2.9 · 1×
uglify-js2.8.29 · 1×

For agents

$ claude mcp add playground \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact