🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

@webwriter/neural-network

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@webwriter/neural-network

Deep learning visualization for feed-forward networks with custom datasets, training and prediction.

latest
npmnpm
Version
1.1.6
Version published
Weekly downloads
16
-52.94%
Maintainers
1
Weekly downloads
 
Created
Source

Neural Network (@webwriter/neural-network@1.1.5)

License: MIT | Version: 1.1.5

Deep learning visualization for feed-forward networks with custom datasets, training and prediction.

Snippets

Snippets are examples and templates using the package's widgets.

NameImport Path
Pima Indians Diabetes@webwriter/neural-network/snippets/Pima-Indians-Diabetes.html
Boston House Pricing@webwriter/neural-network/snippets/Boston-House-Pricing.html

NeuralNetwork (<webwriter-neural-network>)

Usage

Use with a CDN (e.g. jsdelivr):

<link href="https://cdn.jsdelivr.net/npm/@webwriter/neural-network/widgets/webwriter-neural-network.css" rel="stylesheet">
<script type="module" src="https://cdn.jsdelivr.net/npm/@webwriter/neural-network/widgets/webwriter-neural-network.js"></script>
<webwriter-neural-network></webwriter-neural-network>

Or use with a bundler (e.g. Vite):

npm install @webwriter/neural-network
<link href="@webwriter/neural-network/widgets/webwriter-neural-network.css" rel="stylesheet">
<script type="module" src="@webwriter/neural-network/widgets/webwriter-neural-network.js"></script>
<webwriter-neural-network></webwriter-neural-network>

Fields

Name (Attribute Name)TypeDescriptionDefaultReflects
setupStatusSetupStatusSetup state of the widget.-âś—
editable (editable)booleanWhether editing is enabled.-âś“
settings (settings)SettingsApplication settings.-âś“
qAndA (qAndA)QAndAEntry[]Help/Q&A content.-âś“
canvasCCanvasCanvas instance created by the canvas-area.-âś—
networkCNetworkNetwork instance.-âś—
layerConfs (layerConfs)CLayerConf[]Layer configuration list.-âś“
layerConnectionConfs (layerConnectionConfs)CLayerConnectionConf[]Layer connection configuration list between layers.-âś“
dataSet (dataSet)DataSetActive dataset.-âś“
availableDataSets (availableDataSets)DataSet[]Available datasets.-âś“
trainOptions (trainOptions)TrainOptionsTraining options.-âś“
modelConfModelConfCurrent model configuration.-âś—
selectedSelectedCurrent multi-selection state.-âś—
selectedEleSelectedEleCurrent single selected element.-âś—
panelbooleanWhether the right panel is open.-âś—
themeThemeActive theme object with style string.-âś—

Fields including properties and attributes define the current state of the widget and offer customization options.

Events

NameDescription
focus-

Events are dispatched by the widget after certain triggers.

Custom CSS properties

NameDescription
--sl-color-neutral-0Host background color (forwarded from Shoelace).
--sl-color-neutral-50Divider color (forwarded from Shoelace).

Custom CSS properties offer defined customization of the widget's style.

Editing config

NameValue

The editing config defines how explorable authoring tools such as WebWriter treat the widget.

No public methods, slots, or CSS parts.

Generated with @webwriter/build@1.9.1

Keywords

webwriter-widget

FAQs

Package last updated on 06 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts