Skip to content
This repository was archived by the owner on Feb 28, 2024. It is now read-only.

Numpy no longer support np.int - #1166

Open
mikesmithcode wants to merge 25 commits into
scikit-optimize:masterfrom
mikesmithcode:master
Open

mikesmithcode wants to merge 25 commits into
scikit-optimize:masterfrom
mikesmithcode:master

Conversation

@mikesmithcode

Copy link
Copy Markdown

Numpy 1.24 no longer support np.int

I replaced 2 x np.int with regular int in transformers.py which were causing code to crash with calls to gp_minimize. Code now runs successfully.

@Tom-Schipper

Tom-Schipper commented Jul 12, 2023 •

Copy link
Copy Markdown

This seems like a relatively easy fix to get BayesSearchCV working properly again. New here and no idea what it needs for this to get applied, but 2 months seems to be a long time for a simple update to be sitting.

@RobertHH-IS

Copy link
Copy Markdown

This is a simple update - please push this through.

@NikoMak

NikoMak commented Nov 17, 2023

Copy link
Copy Markdown

Any chances this will be sucessfully pushed anytime soon?

@scallon

scallon commented Nov 29, 2023

Copy link
Copy Markdown

Hi! I would love to be able to use the library in production!

@BingnanHuo

Copy link
Copy Markdown

Lol everyone gotta go to transformer.py to manually update the two np.int

@lene-hansen

Copy link
Copy Markdown

Hi! Just wanted to let you know that I'm waiting for this to be pushed through as well :)

@RobertHH-IS

Copy link
Copy Markdown

Last update 2021 - Its time to assume that this repo is no longer being supported.

@davidhaan

Copy link
Copy Markdown

let's get this updated

@ivanstepanovftw

Copy link
Copy Markdown

Dead repo?

@ivanstepanovftw ivanstepanovftw left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove any other changes than changing np.int to int.

@janton10

Copy link
Copy Markdown

+1 this, please merge

@micycle1

micycle1 commented Feb 7, 2024

Copy link
Copy Markdown

In the meantime (possibly forever) do np.int = int.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.