📄 trainingparameters.java
字号:
/* * $RCSfile: TrainingParameters.java,v $ * $Revision: 1.4 $ * $Date: 2005/03/04 01:55:01 $ * * NeuralNetworkToolkit * Copyright (C) 2004 Universidade de Brasília * * This file is part of NeuralNetworkToolkit. * * NeuralNetworkToolkit is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * NeuralNetworkToolkit is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with NeuralNetworkToolkit; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA - 02111-1307 - USA. */package neuralnetworktoolkit.methods;/** * * * @author <a href="mailto:hugoiver@yahoo.com.br">Hugo Iver V. Gonçalves</a> * @author <a href="mailto:rodbra@pop.com.br">Rodrigo C. M. Coimbra</a> */public class TrainingParameters { private double error; private double[][] inputs; private double[][] outputs; private String method; /** * * */ public void configureDefault() { error = 1e-15; } //configureDefault() /** * @return Returns the error. */ public double getError() { return error; } //getError() /** * @param error The error to set. */ public void setError(double error) { this.error = error; } //setError() /** * @return Returns the inputs. */ public double[][] getInputs() { return inputs; } //getInputs() /** * @param inputs The inputs to set. */ public void setInputs(double[][] inputs) { this.inputs = inputs; } //setInputs() /** * @return Returns the outputs. */ public double[][] getOutputs() { return outputs; } //getOutputs() /** * @param outputs The outputs to set. */ public void setOutputs(double[][] outputs) { this.outputs = outputs; } //setOutputs() /** * @return Returns the method. */ public String getMethod() { return method; } //getMethod() /** * @param method The method to set. */ public void setMethod(String method) { this.method = method; } //setMethod() } // TrainingParameters
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -