Ah.
That's actually a deprecation warning coming from numpy, and it think it'll be removed in 0.19 (if not already in 0.18.1).
It's really nothing to worry about, though.

Andy


On 08/02/2017 12:10 PM, Chris Carrion via scikit-learn wrote:

Hi Andy,

WARNsklearn/cluster/k_means_.py:1301: DeprecationWarning: This function is deprecated. Please call randint(0, 179 + 1) instead

That’s all I’m given

*From: *Andreas Mueller <mailto:t3k...@gmail.com>
*Sent: *Wednesday, August 2, 2017 12:09 PM
*To: *Chris Carrion via scikit-learn <mailto:scikit-learn@python.org>
*Subject: *Re: [scikit-learn] minibatchkmeans deprecation warning?

Hi Chris.

What is the warning?

Andy

On 08/02/2017 11:36 AM, Chris Carrion via scikit-learn wrote:

    Hi,

    I’m working in an environment provided by Quantopian, an
    algorithmic-traders hub for research. I imported the minibatch
    kmeans from sklearn.clusters in the environment they provided, but
    I’m getting a deprecation warning. After reaching out to
    Quantopian support, they claim it’s something with the way sklearn
    is coded, and nothing can be done on their end. I was wondering
    whether this was true or not.

    Curious,

    Chris




    _______________________________________________

    scikit-learn mailing list

    scikit-learn@python.org <mailto:scikit-learn@python.org>

    https://mail.python.org/mailman/listinfo/scikit-learn



_______________________________________________
scikit-learn mailing list
scikit-learn@python.org
https://mail.python.org/mailman/listinfo/scikit-learn

_______________________________________________
scikit-learn mailing list
scikit-learn@python.org
https://mail.python.org/mailman/listinfo/scikit-learn

Reply via email to