import java.util.*;
import machine.learning.ARL;

public class Programme {

    public static void main(String[] args){

        ArrayList array = new ArrayList<Double>();

        Random r = new Random();

        for(int i=0; i < 15; i++){
            array.add(r.nextDouble());
        }
        ARL arl = new ARL(array, 4);
        arl.trainingLoop(1);

        System.out.println(arl.toString());
    }
}

@@ -1,12 +1,131 @@
+import java.io.File;%0Aimport java.io.FileInputStream;%0Aimport java.io.FileNotFoundException;%0Aimport java.nio.file.Files;%0A
 import java.
@@ -230,16 +230,46 @@
 %5B%5D args)
+ throws FileNotFoundException 
 %7B%0A%0A     
@@ -314,25 +314,24 @@
 ble%3E();%0A
-%0A
         
 Random r
@@ -326,104 +326,276 @@
     
-Random r = new Random();%0A%0A        for(int i=0; i %3C 15; i++)%7B%0A            array.add(r.nextDouble(
+Scanner lineReader = new Scanner(new File(%22data/EURUSD.dat%22));%0A%0A        while(lineReader.hasNext())%7B%0A            String line = lineReader.nextLine();%0A            String%5B%5D tmp = line.split(%22/%22)%5B0%5D.split(%22 %22);%0A            array.add(Double.parseDouble(tmp%5Btmp.length - 1%5D
 ));%0A
@@ -604,16 +604,17 @@
       %7D%0A
+%0A
         
@@ -635,45 +635,131 @@
 ARL(
-array, 4);%0A        arl.trainingLoop(1
+13);%0A        arl.loop(array.subList(200000,260000), false, 1000);%0A        arl.loop(array.subList(260000,270000), true, 1000
 );%0A%0A

Add the reading from file in the test programme java