public DataSetRow(ArrayList<Double> input) {
   this.input = VectorParser.toDoubleArray(input);
 }
 /**
  * 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);
 }