# react-synaptic-viewer

> React component to render a [synaptic](http://caza.la/synaptic) neural network.

Latest version **0.0.3** (published 2018-05-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-synaptic-viewer
pnpm add react-synaptic-viewer
yarn add react-synaptic-viewer
bun add react-synaptic-viewer
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2018-05-29 |
| First published | 2018-05-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 51.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Samuel Hurel |
| Maintainers | icandivideby0 |

## Links

- npm: https://www.npmjs.com/package/react-synaptic-viewer
- npm.io page: https://npm.io/package/react-synaptic-viewer

## Recent versions

- 0.0.3 (latest) — 2018-05-29
- 0.0.2 — 2018-05-29
- 0.0.1 — 2018-05-29

## README

# React Synaptic Viewer

React component to render a [synaptic](http://caza.la/synaptic) neural network.

[demo](https://icandivideby0.github.io/react-synaptic-viewer/)

## Usage

```sh
npm install react-synaptic-viewer
# or
yarn add react-synaptic-viewer
```

```jsx
import React from 'react';
import ReactDOM from 'react-dom';
import { Architect, Trainer } from 'synaptic';
import { NetworkViewer } from 'react-synaptic-viewer';

const network = new Architect.Perceptron(2, 3, 1);
const trainer = new Trainer(network)
trainer.XOR();

ReactDOM.render(
  <NetworkViewer network={network} />,
  ...
);
```

---
_Source: https://npm.io/package/react-synaptic-viewer · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
