GithubHelp home page GithubHelp logo

autokeras_tabular's People

Contributors

bolkedebruin avatar danitico avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

autokeras_tabular's Issues

Bug when calling to the function init_lgbm

221 def init_lgbm(self, y):
--> 222 n_classes = len(set(y))
223 if n_classes == 2:
224 self.objective = 'binary'

TypeError: unhashable type: 'numpy.ndarray'

You should put n_classes = len(set(y.flat))

Autokeras_tabular broken by autokeras and numpy

Hi, users are unable to run autokeras-tabular 0.3.7.1 due to dependency conflict with numpy package. As shown in the following full dependency graph of autokeras-tabular, it directly requires numpy> 1.16.1,while autokeras 0.3.7 requires _numpy==1.16.1

According to pip’s “first found wins” installation strategy, numpy 1.16.4 is the actually installed version. However, numpy 1.16.4 does not satisfy numpy==1.16.1.

Dependency tree-------

----------------------------------------------------------------------------------------
Building autokeras-tabular-0.3.7.1
----------------------------------------------------------------------------------------
autokeras-tabular<version range:>
| +-autokeras<version range:>=0.3.7>
| | +-imageio<version range:==2.5.0>
| | +-numpy<version range:==1.16.1>
| | +-requests<version range:==2.21.0>
| | +-scikit-image<version range:==0.14.2>
| | +-scikit-learn<version range:==0.20.2>
| | +-scipy<version range:==1.2.0>
| | +-tensorflow<version range:==1.13.1>
| | +-torch<version range:==1.0.1.post2>
| | +-torchvision<version range:==0.2.1>
| | +-tqdm<version range:==4.31.0>
| +-lightgbm<version range:>=2.2.3>
| +-numpy<version range:>=1.16.1>
----------------------------------------------------------------------------------------

Solution

Change your direct dependency numpy >=1.16.1 to numpy ==1.16.1.

Thanks for your help.
Best,
Neolith

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.