matiasvlevi / Dann
Licence: mit
Deep Neural Network Sandbox for JavaScript.
Stars: ✭ 75
Programming Languages
javascript
184084 projects - #8 most used programming language
js
455 projects
Projects that are alternatives of or similar to Dann
Caffe2
Caffe2 is a lightweight, modular, and scalable deep learning framework.
Stars: ✭ 8,409 (+11112%)
Mutual labels: ai, deep-neural-networks
Riceteacatpanda
repo with challenge material for riceteacatpanda (2020)
Stars: ✭ 18 (-76%)
Mutual labels: ai, neural-networks
Vitech
tuyển chọn các tài liệu về công nghệ bằng tiếng Việt
Stars: ✭ 63 (-16%)
Mutual labels: ai, deep-neural-networks
Openhabai
Train Neuronal networks to automate your home
Stars: ✭ 19 (-74.67%)
Mutual labels: ai, neural-networks
Dbn Cuda
GPU accelerated Deep Belief Network
Stars: ✭ 38 (-49.33%)
Mutual labels: deep-neural-networks, neural-networks
Quickdraw
Implementation of Quickdraw - an online game developed by Google
Stars: ✭ 805 (+973.33%)
Mutual labels: deep-neural-networks, neural-networks
Bidaf Keras
Bidirectional Attention Flow for Machine Comprehension implemented in Keras 2
Stars: ✭ 60 (-20%)
Mutual labels: deep-neural-networks, neural-networks
Deep Kernel Gp
Deep Kernel Learning. Gaussian Process Regression where the input is a neural network mapping of x that maximizes the marginal likelihood
Stars: ✭ 58 (-22.67%)
Mutual labels: deep-neural-networks, neural-networks
Awesome Ai Ml Dl
Awesome Artificial Intelligence, Machine Learning and Deep Learning as we learn it. Study notes and a curated list of awesome resources of such topics.
Stars: ✭ 831 (+1008%)
Mutual labels: ai, neural-networks
Deeplearning4j
All DeepLearning4j projects go here.
Stars: ✭ 68 (-9.33%)
Mutual labels: deep-neural-networks, neural-networks
Basic reinforcement learning
An introductory series to Reinforcement Learning (RL) with comprehensive step-by-step tutorials.
Stars: ✭ 826 (+1001.33%)
Mutual labels: ai, neural-networks
Easy Deep Learning With Allennlp
🔮Deep Learning for text made easy with AllenNLP
Stars: ✭ 32 (-57.33%)
Mutual labels: deep-neural-networks, neural-networks
Kur
Descriptive Deep Learning
Stars: ✭ 811 (+981.33%)
Mutual labels: deep-neural-networks, neural-networks
Teacher Student Training
This repository stores the files used for my summer internship's work on "teacher-student learning", an experimental method for training deep neural networks using a trained teacher model.
Stars: ✭ 34 (-54.67%)
Mutual labels: ai, neural-networks
Deepfacelab
DeepFaceLab is the leading software for creating deepfakes.
Stars: ✭ 30,308 (+40310.67%)
Mutual labels: deep-neural-networks, neural-networks
Gans In Action
Companion repository to GANs in Action: Deep learning with Generative Adversarial Networks
Stars: ✭ 748 (+897.33%)
Mutual labels: ai, deep-neural-networks
Dm Haiku
JAX-based neural network library
Stars: ✭ 1,010 (+1246.67%)
Mutual labels: deep-neural-networks, neural-networks
Train Ai With Django Swagger Jwt
Train AI (Keras + Tensorflow) to defend apps with Django REST Framework + Celery + Swagger + JWT - deploys to Kubernetes and OpenShift Container Platform
Stars: ✭ 66 (-12%)
Mutual labels: ai, deep-neural-networks
Deep Neural Network Sandbox for Javascript
Train a neural network with your data & save it's trained state!
Demo • Installation • Getting started • Docs • Contribute • Discord • License
Installation
CDN :
<script src="https://cdn.jsdelivr.net/gh/matiasvlevi/[email protected]/build/dann.min.js"></script>
Node :
npm i dannjs
Getting started
Node Imports
Object types from the library can be imported like this
const dn = require('dannjs');
const Dann = dn.dann;
const Layer = dn.layer;
const Matrix = dn.matrix;
The objects containing functions can be imported this way
const dn = require('dannjs');
const lossfuncs = dn.lossfuncs;
const activations = dn.activations;
const poolfuncs = dn.poolfuncs;
Basic model construction
Setting up a small (4,6,6,2) neural network.
const nn = new Dann(4,2);
nn.addHiddenLayer(6,'leakyReLU');
nn.addHiddenLayer(6,'leakyReLU');
nn.outputActivation('tanH');
nn.makeWeights();
nn.lr = 0.0001;
nn.log({details:true});
Train by backpropagation
Training with a dataset.
//XOR 2 inputs, 1 output
const dataset = [
{
input: [0,0],
output: [0]
},
{
input: [1,0],
output: [1]
},
{
input: [0,1],
output: [1]
},
{
input: [1,1],
output: [0]
}
];
//train 1 epoch
for (data of dataset) {
nn.backpropagate(data.input,data.output);
console.log(nn.loss);
}
Train by mutation
For neuroevolution simulations. Works best with small models & large population size.
const population = 1000;
let newGeneration = [];
for (let i = 0; i < population; i++) {
// parentNN would be the best nn from past generation.
const childNN = parentNN;
childNN.mutateRandom(0.01,0.65);
newGeneration.push(childNN);
}
Demo:
AI predicts San-francisco Housing prices.
more examples & demos here
Contribute
Report Bugs
Socials

Contact
License
MIT
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].