  var matched = lineRegExp.exec(line);
      if(!matched) continue;
       var point = [parseFloat(matched[1]), parseFloat(matched[2])];
       var output = Math.round(parseFloat(matched[3]));
       result.push({point: point, output: output});
    }
    return result;
  }

  window.run_lr = function(in_sample_text, val_sample_text, out_sample_text, k) {
    var dataSet = window.getDataSetFromLineArray(window.lineArray(in_sample_text));
    var transformedDataSet = window.transformDataSet(dataSet, transform