, f, k);

    var valDataSet = window.getDataSetFromLineArray(window.lineArray(val_sample_text));
    var transformedValDataSet = window.transformDataSet(valDataSet, transform, f, k);

    var outSampleDataSet = window.getDataSetFromLineArray(window.lineArray(out_sample_text));
    var transformedOutSampleDataSet = window.transformDataSet(outSampleDataSet, transform, f, k);

    var lr = new window.Linear_Regression();

    var completeCallback = function(weights) {
      window.drawDataSet(dataSet);

     