【问题标题】:cannot test the convergence of neural network无法测试神经网络的收敛性
【发布时间】:2013-11-29 13:32:42
【问题描述】:

我正在使用 Weka 多层感知器分类器进行分类。我想知道神经网络收敛了多少个时期(权重不再更新)。

我正在使用它的 Java API,但我无法找到获取权重变量并测试它们是否仍在循环中变化的方法。

【问题讨论】:

  • 我的回答对你不起作用吗?

标签: java neural-network weka convergence


【解决方案1】:

来自NeuralNode

  /**
   * call this function to get the change in weights array.
   * This will also allow the change in weights to be updated.
   * @return The change in weights array.
   */
  public double[] getChangeInWeights() {
    return m_changeInWeights;
  }

如果您转到 Weka 文件夹所在的位置,您可以从 weka-src.jar 中提取 Weka 的源代码。这是在:/src/main/java/weka/classifiers/functions/neural/NeuralNode.java

【讨论】:

    猜你喜欢
    • 2016-07-10
    • 2012-03-03
    • 1970-01-01
    • 2016-05-13
    • 2019-02-20
    • 2016-05-13
    • 2018-11-04
    • 1970-01-01
    相关资源
    最近更新 更多