You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sdap.apache.org by GitBox <gi...@apache.org> on 2018/06/29 21:20:33 UTC

[GitHub] quintinali commented on a change in pull request #31: SDAP-118 create a new ranking module

quintinali 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_r199283037
 
 

 ##########
 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:
   Before Yongyao deleted the first column of the experts provided data manually and then invoked the function to process data. 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services