예제 #1
0
 /* Method: ReadTrainFromFile
  * Reads a file that stores training data.
  *
  * The file must be formatted like:
  * >TrainDataLength InputCount OutputCount
  * >inputdata seperated by space
  * >outputdata seperated by space
  * >
  * >.
  * >.
  * >.
  * >
  * >inputdata seperated by space
  * >outputdata seperated by space
  *
  * See also:
  *      <NeuralNet::TrainOnData>, <SaveTrain>, <fann_read_train_from_file at http://libfann.github.io/fann/docs/files/fann_train-h.html#fann_read_train_from_file>
  *
  *  This function appears in FANN >= 1.0.0
  */
 public bool ReadTrainFromFile(string filename)
 {
     return(InternalData.read_train_from_file(filename));
 }