GithubHelp home page GithubHelp logo

Comments (17)

martin-kokos avatar martin-kokos commented on June 11, 2024 15

Another workaround:

np.int = np.int64

has worked for me for now.

from scikit-optimize.

samihamine avatar samihamine commented on June 11, 2024 3

I have the same error.

return np.round(X_orig).astype(np.int)
Change it to:

return np.round(X_orig).astype(int)
in the file : skopt/space/transformers.py

EDIT : There is a PR #1159 but didn't pass the CI checks 🤔

from scikit-optimize.

tfortimmy avatar tfortimmy commented on June 11, 2024 3

Seems like it is not: https://snyk.io/advisor/python/scikit-optimize

No update in two years

May be worth looking at other packages e.g. optuna

from scikit-optimize.

jwelch1324 avatar jwelch1324 commented on June 11, 2024 2

There are several open PRs to fix this issue -- do we know if this project is being actively maintained/monitored?

from scikit-optimize.

mitramir55 avatar mitramir55 commented on June 11, 2024

same issue.

from scikit-optimize.

gorj-tessella avatar gorj-tessella commented on June 11, 2024

Same issue

from scikit-optimize.

rajdecca avatar rajdecca commented on June 11, 2024

Same issue

from scikit-optimize.

SmokinCaterpillar avatar SmokinCaterpillar commented on June 11, 2024

Seems like it is not: https://snyk.io/advisor/python/scikit-optimize

No update in two years

May be worth looking at other packages e.g. optuna

Isn't optuna also relying (at least partly) on skopt?

from scikit-optimize.

boemer00 avatar boemer00 commented on June 11, 2024

Hey, I have tried fixing this issue --> #1187
Hopefully, it will be sorted soon :)

from scikit-optimize.

a3678911 avatar a3678911 commented on June 11, 2024

Hey, I have tried fixing this issue --> #1187 Hopefully, it will be sorted soon :)

Good job! When will be the next Release Version released?

from scikit-optimize.

Y-Srivaishnavi avatar Y-Srivaishnavi commented on June 11, 2024

Tried fixing this issue too. Would not pass the tests - due to some version name inconsistency.

from scikit-optimize.

baslia avatar baslia commented on June 11, 2024

same issue here :(

from scikit-optimize.

breoganpardo avatar breoganpardo commented on June 11, 2024

Any information on when the issue will be solved in the library main branch?

from scikit-optimize.

cloudy-sfu avatar cloudy-sfu commented on June 11, 2024

Same issue.

from scikit-optimize.

baslia avatar baslia commented on June 11, 2024

The easiest way is to fork the repo or copy locally and fix it.

from scikit-optimize.

RNarayan73 avatar RNarayan73 commented on June 11, 2024

A workaround that worked for me is to put these lines before fitting the estimator:

import numpy as np
np.int = int

from scikit-optimize.

svdcvt avatar svdcvt commented on June 11, 2024

Same issue, Is it hard to update just one line?

from scikit-optimize.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.