From user-return-826-archive-asf-public=cust-asf.ponee.io@arrow.apache.org Mon Nov 30 03:32:35 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mxout1-he-de.apache.org (mxout1-he-de.apache.org [95.216.194.37]) by mx-eu-01.ponee.io (Postfix) with ESMTPS id D487418062B for ; Mon, 30 Nov 2020 04:32:35 +0100 (CET) Received: from mail.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mxout1-he-de.apache.org (ASF Mail Server at mxout1-he-de.apache.org) with SMTP id BF01364E72 for ; Mon, 30 Nov 2020 03:32:34 +0000 (UTC) Received: (qmail 5252 invoked by uid 500); 30 Nov 2020 03:32:33 -0000 Mailing-List: contact user-help@arrow.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@arrow.apache.org Delivered-To: mailing list user@arrow.apache.org Received: (qmail 5242 invoked by uid 99); 30 Nov 2020 03:32:32 -0000 Received: from spamproc1-he-de.apache.org (HELO spamproc1-he-de.apache.org) (116.203.196.100) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Nov 2020 03:32:32 +0000 Received: from localhost (localhost [127.0.0.1]) by spamproc1-he-de.apache.org (ASF Mail Server at spamproc1-he-de.apache.org) with ESMTP id 236881FF39C for ; Mon, 30 Nov 2020 03:32:32 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamproc1-he-de.apache.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.2, MIME_QP_LONG_LINE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamproc1-he-de.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-ec2-va.apache.org ([116.203.227.195]) by localhost (spamproc1-he-de.apache.org [116.203.196.100]) (amavisd-new, port 10024) with ESMTP id WxI36-kXJG-8 for ; Mon, 30 Nov 2020 03:32:31 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.219.41; helo=mail-qv1-f41.google.com; envelope-from=dominickeaugustine@gmail.com; receiver= Received: from mail-qv1-f41.google.com (mail-qv1-f41.google.com [209.85.219.41]) by mx1-ec2-va.apache.org (ASF Mail Server at mx1-ec2-va.apache.org) with ESMTPS id 50B01BCB78 for ; Mon, 30 Nov 2020 03:32:31 +0000 (UTC) Received: by mail-qv1-f41.google.com with SMTP id x13so4988879qvk.8 for ; Sun, 29 Nov 2020 19:32:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:subject:date:message-id :references:in-reply-to:to; bh=ato5ugOcG/14rKA4l4jD2xxoHLqjKbqI8ImDcbvyIDg=; b=VTYBs27rtOQ7aF1cN57GK7Eu+7Cqrkkl4CAaaT/UrEcjs1gRW+s+Ns5N/19dXmWR8V iSfda2VXPXju2UrCTD2w9U25VZ8Ty07z2J3z6cC27o+fpSUdTsH499yrfJ14nirI0k8P 3l9bkWLtZgHr2fv745iJN7ca1BbffXiFoqq28YzsaQkZ/gQIRZROHGKaVBID3wwtuqx4 yQTXIJXqDCUBzW2j1pIoWmdhiG/akc/af+WKAl7q+tAPD4QloSvb/MPRr/M8LdGCREzq UIp83vWQZA468RN+xB7pTmG/mzM2OxoftFHe75zPezqwwRyXKX8neYQR0FqMKHgam6sV 2Apw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:message-id:references:in-reply-to:to; bh=ato5ugOcG/14rKA4l4jD2xxoHLqjKbqI8ImDcbvyIDg=; b=dmhLMq2KGCwQwxqDi/hHtC89t7ItJI1yHw1HgGPbWffNOIyP6oqVQhIwoaAxAjinKL oOwxfZtXvkC24UoW3aV0QEzNhpv0NbXoJ7GJ6W5r7Y4LRYidydqwGg+M+YtKMybATl6M z6AKCsRnPJS4e5msxNw9QzS1OU/n2sQDCi6JT7uGcsrtNKrjQgqGokqTTWZcf4O4Jpc5 gqM8Nm2F6Zz6oPTxZ8KQrn4P3WFc/t9YoAH9Gp07xcuFnjFPoM7Uu8VJaNICuD06GTPl 60DfE01n8UwwqGwhQpvv3xpCyaJe8vlbHm8U56h+ykEAEvzl6M8zEjx0F+Qyi711N7kS TC7A== X-Gm-Message-State: AOAM530tSx2bOydaIrZrlLGCPB4uiqJDk7RWocNY+tAnm8vDPNXhPIOT risbdOHSQwtw8/kLRc3ieju2sPCThxrDEA== X-Google-Smtp-Source: ABdhPJzC+MOaG2ZeMkAajSGIz0OZWGwQe+XHe8Y2W74mflWMcHoZom2czX0bJHf27neOqbwA8eYQVg== X-Received: by 2002:a05:6214:363:: with SMTP id t3mr20020046qvu.9.1606707145020; Sun, 29 Nov 2020 19:32:25 -0800 (PST) Received: from [192.168.4.44] ([107.126.98.132]) by smtp.gmail.com with ESMTPSA id o22sm15682753qto.96.2020.11.29.19.32.24 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 29 Nov 2020 19:32:24 -0800 (PST) From: Dominick Augustine X-Google-Original-From: Dominick Augustine Content-Type: multipart/alternative; boundary=Apple-Mail-161ED3AA-DB6C-45D7-BA83-6DE98637A579 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (1.0) Subject: Re: take K random samples from an array/ table Date: Sun, 29 Nov 2020 22:32:23 -0500 Message-Id: <318CA4F4-CB21-4966-B957-BC00F817294E@gmail.com> References: In-Reply-To: To: user@arrow.apache.org X-Mailer: iPhone Mail (18B92) --Apple-Mail-161ED3AA-DB6C-45D7-BA83-6DE98637A579 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable https://stackabuse.com/k-nearest-neighbors-algorithm-in-python-and-scikit-le= arn/ I hope this can help! > On Nov 29, 2020, at 22:17, Niranda Perera wrote= : >=20 > =EF=BB=BF > Hi all,=20 >=20 > Is there a way to take K random samples from a column/ table? >=20 > Best > --=20 > Niranda Perera > @n1r44 > +1 812 558 8884 / +94 71 554 8430 > https://www.linkedin.com/in/niranda --Apple-Mail-161ED3AA-DB6C-45D7-BA83-6DE98637A579 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
https://s= tackabuse.com/k-nearest-neighbors-algorithm-in-python-and-scikit-learn/<= /div>

I hope this can help!
=

On Nov 29, 2020, at 22:17, Ni= randa Perera <niranda.perera@gmail.com> wrote:

=EF=BB=BF
Hi all,

Is there a way to take K random sampl= es from a column/ table?

Best
--
Niranda Perera
+1 812 558 8884 / +94 71 5= 54 8430
= --Apple-Mail-161ED3AA-DB6C-45D7-BA83-6DE98637A579--