/**
  * Creates new training element with specified input and desired output vectors
  *
  * @param input input vector
  * @param desiredOutput desired output vector
  */
 public DataSetRow(ArrayList<Double> input, ArrayList<Double> desiredOutput) {
   this.input = VectorParser.toDoubleArray(input);
   this.desiredOutput = VectorParser.toDoubleArray(desiredOutput);
 }
 public DataSetRow(ArrayList<Double> input) {
   this.input = VectorParser.toDoubleArray(input);
 }
 /**
  * Creates new training element with specified input and desired output vectors specifed as
  * strings
  *
  * @param input input vector as space separated string
  * @param desiredOutput desired output vector as space separated string
  */
 public DataSetRow(String input, String desiredOutput) {
   this.input = VectorParser.parseDoubleArray(input);
   this.desiredOutput = VectorParser.parseDoubleArray(desiredOutput);
 }