From dev-return-673-archive-asf-public=cust-asf.ponee.io@teaclave.apache.org Thu Feb 13 05:03:23 2020 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 828FA180657 for ; Thu, 13 Feb 2020 06:03:23 +0100 (CET) Received: (qmail 46563 invoked by uid 500); 13 Feb 2020 05:03:22 -0000 Mailing-List: contact dev-help@teaclave.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@teaclave.apache.org Delivered-To: mailing list dev@teaclave.apache.org Delivered-To: moderator for dev@teaclave.apache.org Received: (qmail 38225 invoked by uid 99); 13 Feb 2020 05:01:27 -0000 X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.651 X-Spam-Level: X-Spam-Status: No, score=-0.651 tagged_above=-999 required=6.31 tests=[DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, HTML_MESSAGE=0.2, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=github.com Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.128.54; helo=mail-wm1-f54.google.com; envelope-from=teaclave.archiver+caf_=dev=teaclave.apache.org@gmail.com; receiver= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:delivered-to:date:dkim-signature:from:reply-to :to:cc:message-id:subject:mime-version:content-transfer-encoding :precedence:list-id:list-archive:list-post:list-unsubscribe; bh=2Ou26RBHIeS3gQ9gvnWnh8FVLvFoZbHoNv6fOnym+8c=; b=sF3edpZ7oMjoazavNL2OC3ASLAtXcgnTnjKcbq+cJ9YMdWP/i5KRf/JZp48P1x9vsX nL5h2EM6YGDfThorOtiLrPcT9Ce6iIacNXMykrroEz8D+iGVn+mCIDieIP9Jm+eQ2xEo rDqsz7+v6GDaYUNTEs3GB3Ntpidq0nocf3v3QQgvY+irorDWadCZr+ePNVULGD61YHag Ldd8ba4190ACozoTmvoTP9mf3oWlvshjyTyhIFFJ9R27faxVQq+6gOU2RX3v+6rZjbG1 6aEdpBPpPMoappIYHoBQhnRihbMw7FX7xsHaG4wKNgi5I1l036Pf/2LgF45kju5M8Lr5 1cEg== X-Gm-Message-State: APjAAAVC9uubSdouFZtIRNd+2LSkJpadDZidsWmUO1umo1wPTcRH1IkM t6Wr9d0BOhZDvjXm0y9D+gV6r/UhsA4Hl6eWlO3zUZt9vCMu6F8= X-Received: by 2002:a7b:c8d7:: with SMTP id f23mr3157237wml.173.1581570083797; Wed, 12 Feb 2020 21:01:23 -0800 (PST) X-Forwarded-To: dev@teaclave.apache.org X-Forwarded-For: teaclave.archiver@gmail.com dev@teaclave.apache.org Delivered-To: teaclave.archiver@gmail.com X-Google-Smtp-Source: APXvYqyJuO7Sy8PUE1MFHnY0+Fe9GjC2ycol/zp+KCKnd1jbVxoim/yuQGiV8bCtILWiGormhEC7 X-Received: by 2002:aa7:9f47:: with SMTP id h7mr11469247pfr.13.1581570082243; Wed, 12 Feb 2020 21:01:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581570082; cv=none; d=google.com; s=arc-20160816; b=cvTbqCWSbx/Ova9qO5l4Bn+OwUWZqKTZyBjSZzAPQxZbsPgMci6VoE4/qhLXPhSqs/ K3mmt2zTZDvNpwuqrSk1Btw1q8gG32troup112FHnbDAvg8OgZ+AcoiSz8qTII2jlban BeEstWV17CCpdY03BqvT6Am6IkQ2p+RRRndGxU9kauz+SgnpBPTWFwO0iXFinu9OK7WC ceC8Vjf3a1XVjeg33fZOKNBLbaUMJOBRX8jypTKoKcK+9LyLF9XDgh4gn6gnJAx+yasI yhKCu5q2ysU0f/lLUFhxZkFd7pw8lQzhLxXtX3878yRN+efhFww6kNj0Ox9aZUDE1JLH uklw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-post:list-archive:list-id:precedence :content-transfer-encoding:mime-version:subject:message-id:cc:to :reply-to:from:dkim-signature:date; bh=2Ou26RBHIeS3gQ9gvnWnh8FVLvFoZbHoNv6fOnym+8c=; b=Y+6H2c2d2XA6TSf7B8x4cqbKErWmaT0OZyVf5P/S375uP/gpP3bPiCMeYYcgVjBn3R W4poO9n8UB0nhuqYCqzybPpHSuGZ90Xs+nlJz7UN2+hZVUtYbvr0bARml0AbJ83FtGvv NRl9nslCf4GsAudTS4MDA6vMLsLRr3Qf6OiHCGeuY7LbM5ToMb71xXku+Xrl0+g9D2RH 3rBeYSFFDmF0IxtiKQIqbGg8EFfzhK3cz/gg16nih/lSUuZYJbgksQdeEVVoCkKxYlOq 1LhJljrqL5YoFG/iduiehrgOF7la19E//DSlD3AkTa9Lh06b/IMkJuPiSp5GNalzhaj8 pKWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@github.com header.s=pf2014 header.b=R+LqGt1X; spf=pass (google.com: domain of noreply@github.com designates 192.30.254.192 as permitted sender) smtp.mailfrom=noreply@github.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=github.com Received-SPF: pass (google.com: domain of noreply@github.com designates 192.30.254.192 as permitted sender) client-ip=192.30.254.192; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@github.com header.s=pf2014 header.b=R+LqGt1X; spf=pass (google.com: domain of noreply@github.com designates 192.30.254.192 as permitted sender) smtp.mailfrom=noreply@github.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=github.com Date: Wed, 12 Feb 2020 21:01:21 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1581570081; bh=2Ou26RBHIeS3gQ9gvnWnh8FVLvFoZbHoNv6fOnym+8c=; h=Date:From:Reply-To:To:Cc:Subject:List-ID:List-Archive:List-Post: List-Unsubscribe:From; b=R+LqGt1X+br9IIuwSd91dgDxkKYCahofwh1T3nwBRrHcx8UTF7q+iSWAxKhF1rwo8 xtFh+Es97OrgsByKnahofGQE0IG6OWYS5/EfdHTbtfjPYf8m19NK3G1O+8J3Tjfi3W lBNwFTAcjtjQZ2BtxJTR4xyKN+7hfcRh8tGsv9+M= From: Zhaofeng Chen Reply-To: apache/incubator-teaclave To: apache/incubator-teaclave Cc: Subscribed Message-ID: Subject: [apache/incubator-teaclave] [worker] Add gbdt_prediction function. (#224) Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_5e44d8215ffcd_595a3fbf35acd968113093"; charset=UTF-8 Content-Transfer-Encoding: 7bit X-GitHub-Sender: m4sterchain X-GitHub-Recipient: teaclave-archiver X-GitHub-Reason: subscribed List-Archive: https://github.com/apache/incubator-teaclave X-Auto-Response-Suppress: All X-GitHub-Recipient-Address: teaclave.archiver@gmail.com ----==_mimepart_5e44d8215ffcd_595a3fbf35acd968113093 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit ## Description Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. Fixes # (issue) ## Type of change (select applied and DELETE the others) - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] API change with a documentation update - [ ] Additional test coverage - [ ] Code cleanup or just sync with upstream third-party crates ## How Has This Been Tested? ## Checklist (check ALL before submitting PR, even not applicable) - [ ] Fork the repo and create your branch from `master`. - [ ] If you've added code that should be tested, add tests. - [ ] If you've changed APIs, update the documentation. - [ ] Ensure the tests pass (see CI results). - [ ] Make sure your code lints/format. You can view, comment on, or merge this pull request online at: https://github.com/apache/incubator-teaclave/pull/224 -- Commit Summary -- * [worker] Add gbdt_prediction function. -- File Changes -- A tests/test_cases/gbdt_prediction/expected_result.txt (30) A tests/test_cases/gbdt_prediction/model.txt (1) A tests/test_cases/gbdt_prediction/test_data.txt (30) M types/src/worker.rs (2) A worker/src/function/gbdt_prediction.rs (146) M worker/src/function/mod.rs (3) -- Patch Links -- https://github.com/apache/incubator-teaclave/pull/224.patch https://github.com/apache/incubator-teaclave/pull/224.diff -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/pull/224 ----==_mimepart_5e44d8215ffcd_595a3fbf35acd968113093--