Source:
public List<String> buildCommands() { List<String> commands = new ArrayList<String>(); String actFuncStr = actFuncs.toString(); actFuncStr = actFuncs.toString().substring(1, actFuncStr.length() - 1); String hiddenLayerNodesStr = hiddenLayerNodes.toString(); hiddenLayerNodesStr = hiddenLayerNodesStr.substring(1, hiddenLayerNodesStr.length() - 1); String seletectedColumnNumsStr = seletectedColumnNums.toString(); seletectedColumnNumsStr = seletectedColumnNumsStr.substring(1, seletectedColumnNumsStr.length() - 1); String delimiterStr = String.valueOf(delimiter); if((delimiter ^ '|') * (delimiter ^ '&') * (delimiter ^ '>') * (delimiter ^ '<') == 0) { delimiterStr = "\\" + delimiter; } commands.add("python"); commands.add("train.py"); commands.add("-learningRate"); commands.add(String.valueOf(learningRate)); commands.add("-epochnums"); commands.add(String.valueOf(epoch)); commands.add("-actfuncs"); commands.add(actFuncStr); commands.add("-target"); commands.add(String.valueOf(targetColumnNum)); commands.add("-hiddenlayernodes"); commands.add(hiddenLayerNodesStr); commands.add("-hiddenlayers"); commands.add(String.valueOf(hiddenLayers)); commands.add("-inputdaatapath"); commands.add(inputDataPath); commands.add("-seletectedcolumnnums"); commands.add(seletectedColumnNumsStr); commands.add("-alg"); commands.add(alg); commands.add("-delimiter"); commands.add(delimiterStr); commands.add("-lossfunc"); commands.add(lossFunc); commands.add("-optimizer"); commands.add(optimizer); return commands; }

Target:
public List<String> buildCommands() { List<String> commands = new ArrayList<String>(); String actFuncStr = actFuncs.toString(); actFuncStr = actFuncs.toString().substring(1, actFuncStr.length() - 1); actFuncStr = actFuncStr.replaceAll(",", ""); String hiddenLayerNodesStr = hiddenLayerNodes.toString(); hiddenLayerNodesStr = hiddenLayerNodesStr.substring(1, hiddenLayerNodesStr.length() - 1); hiddenLayerNodesStr = hiddenLayerNodesStr.replaceAll(",", ""); String seletectedColumnNumsStr = seletectedColumnNums.toString(); seletectedColumnNumsStr = seletectedColumnNumsStr.substring(1, seletectedColumnNumsStr.length() - 1); seletectedColumnNumsStr = seletectedColumnNumsStr.replaceAll(",", ""); String delimiterStr = String.valueOf(delimiter); if((delimiter ^ '|') * (delimiter ^ '&') * (delimiter ^ '>') * (delimiter ^ '<') == 0) { delimiterStr = "\\" + delimiter; } commands.add("python"); commands.add("train.py"); commands.add("-learningRate"); commands.add(String.valueOf(learningRate)); commands.add("-epochnums"); commands.add(String.valueOf(epoch)); commands.add("-actfuncs"); commands.add(actFuncStr); commands.add("-target"); commands.add(String.valueOf(targetColumnNum)); commands.add("-hiddenlayernodes"); commands.add(hiddenLayerNodesStr); commands.add("-hiddenlayers"); commands.add(String.valueOf(hiddenLayers)); commands.add("-inputdaatapath"); commands.add(inputDataPath); commands.add("-seletectedcolumnnums"); commands.add(seletectedColumnNumsStr); commands.add("-alg"); commands.add(alg); commands.add("-delimiter"); commands.add(delimiterStr); commands.add("-lossfunc"); commands.add(lossFunc); commands.add("-optimizer"); commands.add(optimizer); return commands; }