Skip to content

lrenc/FoolNet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

简单的全连接神经网络实现

优化器使用批量梯度下降,损失函数使用交叉熵函数,支持sigmoid与tanh两种激活函数

function fn() {
  let x1 = Math.random();
  let x2 = Math.random();
  let y = 0;
  if (x1 > 0.5 && x2 > 0.5) {
    y = 1;
  } else if (x1 < 0.5 && x2 < 0.5) {
    y = 1;
  }
  return y;
}

About

零框架实现全连接神经网络

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published