⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 synapse.java

📁 This applet illustrates the prediction capabilities of the multi-layer perceptrons. It allows to def
💻 JAVA
字号:
import java.util.*;class Synapse{  double weight;  double data;  Neuron from;  Neuron to;  static Random random = new Random();  Synapse(Neuron f,Neuron t)  {    from   = f;    to     = t;    weight = random.nextDouble() / 5.0;    data   = 0.0;    f.outlinks.addElement(this);    t.inlinks.addElement(this);  }  public double getWeight()  {    return weight;  }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -