lewismc commented on a change in pull request #31: SDAP-118 create a new 
ranking module
URL: 
https://github.com/apache/incubator-sdap-mudrod/pull/31#discussion_r199283266
 
 

 ##########
 File path: 
ranking/src/main/java/org/apache/sdap/mudrod/ranking/traindata/ExpertRankTrainData.java
 ##########
 @@ -143,7 +151,7 @@ public static void calculateVec(String[][] arr) {
     {
       for (int i = 1; i < arr.length - row; i++) {
         List<String> colList = new ArrayList<String>(); // create vector to 
store all values inside of a column, which is stored inside 2D vector
-        for (int col = 0; col < arr[0].length - 1; col++) // Columns go until 
the next to last column
+        for (int col = 1; col < arr[0].length - 2; col++) // Columns go until 
the next to last column
 
 Review comment:
   wow, ok thank you for fixing. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to