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 3107D200C6A for ; Wed, 19 Apr 2017 23:07:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2F781160B9C; Wed, 19 Apr 2017 21:07:22 +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 7786A160B94 for ; Wed, 19 Apr 2017 23:07:21 +0200 (CEST) Received: (qmail 52220 invoked by uid 500); 19 Apr 2017 21:07:19 -0000 Mailing-List: contact dev-help@systemml.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@systemml.incubator.apache.org Delivered-To: mailing list dev@systemml.incubator.apache.org Received: (qmail 52208 invoked by uid 99); 19 Apr 2017 21:07:19 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Apr 2017 21:07:19 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 3B84BCD796 for ; Wed, 19 Apr 2017 21:07:19 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.385 X-Spam-Level: X-Spam-Status: No, score=-0.385 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_FONT_LOW_CONTRAST=0.001, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.796, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id zUQQNgw3M2GF for ; Wed, 19 Apr 2017 21:07:16 +0000 (UTC) Received: from mail-yb0-f176.google.com (mail-yb0-f176.google.com [209.85.213.176]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 5CBBB5F2FD for ; Wed, 19 Apr 2017 21:07:16 +0000 (UTC) Received: by mail-yb0-f176.google.com with SMTP id 11so13429636ybw.1 for ; Wed, 19 Apr 2017 14:07:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=mE42eD1Zv+0MoVz39j94ksLUOYP9PhzYU1RoIo49uaM=; b=UPW9T/dX5DQ9Y1CK02mY2CTaxcWd8SWhkfwOckTyW/2uJ33FtYA2TnKOXQf3q4VscT 29iOeC+V0rcNAoOP6StUIs1CiUJLokoWFhaFBSAkdcArifrZ5vwjaKVLrcrIoaEOM+1+ UoLatU7be34lc2MGp/0jyueXPiJIRqghcbIqmD1h19FV2zAPvqCpfRitRbYadhq4xrnT Q/iYfcgFQndUUIc0xmTiYfL7tNXWVCecw4oJ0JHdsNXrV9oXXRXyFUPTSUwa2zq37e+z 2++Z4vHY94Ed5lRckvA7e5B2orG/iq38GbWLizvJiCkT7kmZB6GuMinyx4qW4e8oF034 lbUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=mE42eD1Zv+0MoVz39j94ksLUOYP9PhzYU1RoIo49uaM=; b=QPdfvOG/GydlmmLnPS7tRq0XZ+dq84A1T8aslpfsvKe9TXtKJLZCZMXaMks2ESQx2k Y96cnPQGSOpiBL/s37tK0BdC9dBIiTCPu9NWxNlG7NlS3NNF3O75VnNyz79IViJKrJv4 S7tX3NvH1zT/yjdeqbhWhZYgBlIBKkLSfmfA+MTJZ7jotcbtcNgcbqUMw6urzjK2DDmJ 8kSxoGUOBTlK9s6/8hHFYWXBZBc/Oui9AFwCvCvpuOFTEI7gnkDqbONMnluVLB2hUjGH XEIWQsT1hPU98PaiMRUGDHg4KPrF/s4kICJtjtpfZQwLPF53UKU6MMIpjREvlOrrSXO4 pHGQ== X-Gm-Message-State: AN3rC/79Kg/n7F+mJ1B2ioYKx9ooGWIOKCTUlTk+EUgS9K8eTJheZ54k Szr8Gvi50tvhhAEmqDT1Ap23Qkj0EzW7 X-Received: by 10.98.36.154 with SMTP id k26mr2160645pfk.174.1492636035787; Wed, 19 Apr 2017 14:07:15 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.170.140 with HTTP; Wed, 19 Apr 2017 14:07:15 -0700 (PDT) From: Ethan Xu Date: Wed, 19 Apr 2017 17:07:15 -0400 Message-ID: Subject: Documents of SystemML Algorithms Reference To: dev@systemml.incubator.apache.org Content-Type: multipart/alternative; boundary=001a1140df48b13198054d8b68b9 archived-at: Wed, 19 Apr 2017 21:07:22 -0000 --001a1140df48b13198054d8b68b9 Content-Type: text/plain; charset=UTF-8 Hello, I'm reading the documents on Multinomial Logistic Regression ( https://apache.github.io/incubator-systemml/algorithms-classification.html#usage) with Scala API. It says val model = lr.fit(X_train_df) val prediction = model.transform(X_test_df) The "Arguments" section below it says: X: Location (on HDFS) to read the input matrix of feature vectors; each row constitutes one feature vector. Y: Location to read the input one-column matrix of category labels that correspond to feature vectors in X. Note the following:... The explanation of the arguments seem to correspond to the Hadoop and Spark API. Could someone please advise what are the specifications of `X_train_df` and `X_test_df`? Are they the same as specified in the Python API? i.e.: # X_train, y_train and X_test can be NumPy matrices or Pandas DataFrame or SciPy Sparse Matrixy_test = logistic.fit(X_train, y_train).predict(X_test)# df_train is DataFrame that contains two columns: "features" (of type Vector) and "label". df_test is a DataFrame that contains the column "features" The explanation of arguments for Python/Scala seem to be missing for other algorithms, too. Thanks a lot, Ethan --001a1140df48b13198054d8b68b9--