From issues-return-9108-archive-asf-public=cust-asf.ponee.io@systemml.apache.org Sat Apr 13 07:51:01 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 99A2A180668 for ; Sat, 13 Apr 2019 09:51:01 +0200 (CEST) Received: (qmail 63734 invoked by uid 500); 13 Apr 2019 07:51:01 -0000 Mailing-List: contact issues-help@systemml.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@systemml.apache.org Delivered-To: mailing list issues@systemml.apache.org Received: (qmail 63725 invoked by uid 99); 13 Apr 2019 07:51:00 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Apr 2019 07:51:00 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 62176E28A0 for ; Sat, 13 Apr 2019 07:51:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 143FB24595 for ; Sat, 13 Apr 2019 07:51:00 +0000 (UTC) Date: Sat, 13 Apr 2019 07:51:00 +0000 (UTC) From: "Janardhan (JIRA)" To: issues@systemml.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (SYSTEMML-983) Add mllearn and scala wrappers for GLM MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SYSTEMML-983?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Janardhan updated SYSTEMML-983: ------------------------------- Labels: beginner newbie starter (was: ) > Add mllearn and scala wrappers for GLM > -------------------------------------- > > Key: SYSTEMML-983 > URL: https://issues.apache.org/jira/browse/SYSTEMML-983 > Project: SystemML > Issue Type: Task > Components: APIs > Reporter: Niketan Pansare > Priority: Major > Labels: beginner, newbie, starter > > See https://apache.github.io/incubator-systemml/algorithms-regression.html#generalized-linear-models for usage > Since this is a starter task, I describe the steps to complete this task: > 1. Implement a scala class (which inherits from BaseSystemMLRegressor) similar to https://github.com/apache/incubator-systemml/blob/master/src/main/scala/org/apache/sysml/api/ml/LinearRegression.scala > 2. Modify getTrainingScript and getPredictionScript to specify the parameters used. See the algorithm documentation for these parameters. > 3. Ensure that you implement appropriate traits to accept hyperparameters (eg: HasLaplace, HasIcpt, HasRegParam, HasTol, etc). These traits are available at https://github.com/apache/incubator-systemml/blob/master/src/main/scala/org/apache/sysml/api/ml/BaseSystemMLClassifier.scala#L36 > 4. Implement a python class (that extends BaseSystemMLRegressor) with constructor similar to https://github.com/apache/incubator-systemml/blob/master/src/main/python/systemml/mllearn/estimators.py#L218 which essentially accepts the hyperparameters and invokes the scala side methods (example: self.estimator.setLaplace(laplace)) > 5. Update the algorithm documentation by specifying the usage as well as examples. -- This message was sent by Atlassian JIRA (v7.6.3#76005)