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

📄 imaincontroller.java

📁 利用Java实现的神经网络工具箱
💻 JAVA
字号:
/* * $RCSfile: IMainController.java,v $ * $Revision: 1.6 $ * $Date: 2005/04/26 02:02:24 $ * * 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.gui.controller;import java.io.File;import java.io.IOException;import java.util.Vector;import neuralnetworktoolkit.NetworkControllerException;import neuralnetworktoolkit.StatisticalResults;import neuralnetworktoolkit.architectures.ArchitectureParameters;import neuralnetworktoolkit.datamanager.textfilemanager.LoadFromFileException;import neuralnetworktoolkit.methods.TrainingParameters;import neuralnetworktoolkit.modelstorage.ModelSerializerException;import neuralnetworktoolkit.normalization.NormalizationParameters;/** *  */public interface IMainController {	/**	 * 	 * @param file	 * @param separator	 * @throws LoadFromFileException	 */	public void loadDataFromFile(File file, String separator)		throws LoadFromFileException;		/**	 * 	 * @param file	 * @param separator	 * @throws LoadFromFileException	 */	public void loadInferenceDataFromFile(File file, String separator)			throws LoadFromFileException;	/**	 * 	 * @param arffFile	 */	public void loadDataFromArff(File arffFile);	/**	 * 	 *	 */	public void loadDataFromDatabase();		/**	 * 	 * @return	 */	public Vector getDisplayData();	/**	 * 	 * @return	 */	public Vector getDataHeader();		/**	 * 	 * @return	 */	public Vector getInferenceData();		/**	 * 	 * @return	 */	public Vector getInferenceDataHeader();	/**	 * 	 * @return	 */	public Vector getInferedDataHeader();		/**	 * 	 * @param outputIndex	 * @param parameters	 * @param trainingParameters	 * @param normalizationParameters	 * @throws NetworkControllerException	 */	public void createNetwork(int[] outputIndex,			ArchitectureParameters parameters,			TrainingParameters trainingParameters,			NormalizationParameters normalizationParameters)			throws NetworkControllerException;	/**	 * 	 * @param fileName	 * @throws ModelSerializerException	 */	public void saveNetwork(String fileName) throws ModelSerializerException;	/**	 * 	 */	public void infereWithNetwork() throws NetworkControllerException;		/**	 * 	 * @param inferenceData	 * @throws NetworkControllerException	 */	public void infereWithNetwork(Vector inferenceData)			throws NetworkControllerException;	/**	 * @return	 */	public Vector getInferedData();		/**	 * 	 * @param file	 */	public void saveInferedData(File file) throws IOException;	/**	 * @return	 */	public StatisticalResults getStatiscalResults();	/**	 * @param selectedFile	 */	public void loadNetwork(File selectedFile) throws ModelSerializerException,			NetworkControllerException;	/**	 * @return	 */	public int getInputSize();} //IMainController

⌨️ 快捷键说明

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