Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id CE7E4200B29 for ; Wed, 15 Jun 2016 22:21:11 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id CD246160A5D; Wed, 15 Jun 2016 20:21:11 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 1F264160A57 for ; Wed, 15 Jun 2016 22:21:10 +0200 (CEST) Received: (qmail 21106 invoked by uid 500); 15 Jun 2016 20:21:10 -0000 Mailing-List: contact issues-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@spark.apache.org Received: (qmail 20909 invoked by uid 99); 15 Jun 2016 20:21:10 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jun 2016 20:21:10 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A3DEF2C1F71 for ; Wed, 15 Jun 2016 20:21:09 +0000 (UTC) Date: Wed, 15 Jun 2016 20:21:09 +0000 (UTC) From: "Xusen Yin (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SPARK-15574) Python meta-algorithms in Scala MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 15 Jun 2016 20:21:12 -0000 [ https://issues.apache.org/jira/browse/SPARK-15574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15332475#comment-15332475 ] Xusen Yin commented on SPARK-15574: ----------------------------------- I just finished the prototype of PythonTransformer in Scala as the transformer wrapper of pure Python transformers. It works well if I run it alone from Scala side. But if I chained the PythonTransformer with other transformers/estimators in Pipeline, it fails for lacking of transformSchema in Python side. AFAIK, we need to add transformSchema in Python ML for pure Python PipelineStages. [~josephkb] [~mengxr] > Python meta-algorithms in Scala > ------------------------------- > > Key: SPARK-15574 > URL: https://issues.apache.org/jira/browse/SPARK-15574 > Project: Spark > Issue Type: Improvement > Components: ML, PySpark > Reporter: Joseph K. Bradley > > This is an experimental idea for implementing Python ML meta-algorithms (CrossValidator, TrainValidationSplit, Pipeline, OneVsRest, etc.) in Scala. This would require a Scala wrapper for algorithms implemented in Python, somewhat analogous to Python UDFs. > The benefit of this change would be that we could avoid currently awkward conversions between Scala/Python meta-algorithms required for persistence. It would let us have full support for Python persistence and would generally simplify the implementation within MLlib. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org For additional commands, e-mail: issues-help@spark.apache.org