[ 
https://issues.apache.org/jira/browse/SDAP-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16528233#comment-16528233
 ] 

ASF GitHub Bot commented on SDAP-118:
-------------------------------------

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_r199276565
 
 

 ##########
 File path: 
ranking/src/main/java/org/apache/sdap/mudrod/ranking/common/Learner.java
 ##########
 @@ -0,0 +1,57 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License"); you 
+ * may not use this file except in compliance with the License. 
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.sdap.mudrod.ranking.common;
+
+import org.apache.sdap.mudrod.discoveryengine.MudrodAbstract;
+import org.apache.sdap.mudrod.driver.ESDriver;
+import org.apache.sdap.mudrod.driver.SparkDriver;
+import org.apache.sdap.mudrod.ranking.traindata.ExpertRankTrainData;
+import org.apache.spark.SparkContext;
+import org.apache.spark.mllib.classification.SVMModel;
+import org.apache.spark.mllib.regression.LabeledPoint;
+
+import java.io.File;
+import java.io.IOException;
+import java.io.Serializable;
+import java.util.Properties;
+
+/**
+ * Supports the ability to importing classifier into memory
+ */
+public abstract class Learner extends MudrodAbstract {
+
+       public Learner(Properties props, ESDriver es, SparkDriver spark) {
+               super(props, es, spark);
+               // TODO Auto-generated constructor stub
 
 Review comment:
   Remove TODO

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


> create a ranking module
> -----------------------
>
>                 Key: SDAP-118
>                 URL: https://issues.apache.org/jira/browse/SDAP-118
>             Project: Apache Science Data Analytics Platform
>          Issue Type: Sub-task
>          Components: mudrod
>    Affects Versions: 1.0
>            Reporter: Yun Li
>            Assignee: Yun Li
>            Priority: Major
>             Fix For: 1.0
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to