Return-Path: X-Original-To: apmail-flink-dev-archive@www.apache.org Delivered-To: apmail-flink-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 145E618111 for ; Tue, 7 Jul 2015 15:32:16 +0000 (UTC) Received: (qmail 56967 invoked by uid 500); 7 Jul 2015 15:32:16 -0000 Delivered-To: apmail-flink-dev-archive@flink.apache.org Received: (qmail 56909 invoked by uid 500); 7 Jul 2015 15:32:15 -0000 Mailing-List: contact dev-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list dev@flink.apache.org Received: (qmail 56897 invoked by uid 99); 7 Jul 2015 15:32:15 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jul 2015 15:32:15 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 23D96C068C for ; Tue, 7 Jul 2015 15:32:15 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.879 X-Spam-Level: ** X-Spam-Status: No, score=2.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=googlemail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id d3LssDHi5bdC for ; Tue, 7 Jul 2015 15:32:13 +0000 (UTC) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 5676024962 for ; Tue, 7 Jul 2015 15:32:13 +0000 (UTC) Received: by widjy10 with SMTP id jy10so192355572wid.1 for ; Tue, 07 Jul 2015 08:32:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=C72/2XbAKLRsLTmPJQZdhcdric4GcJ+esurKM/HQ+A0=; b=ZYMtp518i8oAWw9IEAuHoGYxoGkWWPjczQGvPWdndhouysNnBLYrKHKna66nddVdzU bFvtDXF6Eeyso66xjL7x4ZdNtgcTqHAUPxNM+q8PlCEI7fi4xoz8EqVrGF/xNKT4nXby 3qzvPio9TsHsWdMCDcKAHg2PAfTxoW2KQwyPMC0XZdLhVTY/wlHbp/TxvePHLCBLuAqc Ph4q3cP2FmcnCKYV58AjFiPmpCC6WFQSypYc6IdxEFx7rS90au0U7RwF5uoE5QBb4IjH 4RvU1viRvpbj5gOrCBhDuyss03Gi7LQDjiKdVYcp4W3LbcZkI5K3W+1PpmO6nPzU4Kzj GGQw== MIME-Version: 1.0 X-Received: by 10.194.58.7 with SMTP id m7mr9339980wjq.109.1436283132048; Tue, 07 Jul 2015 08:32:12 -0700 (PDT) Received: by 10.28.96.137 with HTTP; Tue, 7 Jul 2015 08:32:12 -0700 (PDT) Date: Tue, 7 Jul 2015 17:32:12 +0200 Message-ID: Subject: Building several models in parallel From: Felix Neutatz To: dev@flink.apache.org Content-Type: multipart/alternative; boundary=047d7b86cf3ee1f9ba051a4ab99d --047d7b86cf3ee1f9ba051a4ab99d Content-Type: text/plain; charset=UTF-8 Hi, at the moment I have a dataset which looks like this: DataSet[model_ID, DataVector] data So what I want to do is group by the model_ID and build for each model_ID one regression model in pseudo code: data.groupBy(model_ID) --> MultipleLinearRegression().fit(data_grouped) Is there anyway besides an iteration how to do this at the moment? Thanks for your help, Felix Neutatz --047d7b86cf3ee1f9ba051a4ab99d--