Giter Site home page Giter Site logo

Comments (3)

SauceCat avatar SauceCat commented on August 13, 2024

Hi @NMRobert,

Thanks for informing the issue!
I notice that you are using Python3, while I used Python2 when I built the package. So the issue might be, rules are stricter in Python3. For example, you can't compare None with an integer. And this is the reason why you got the error. Because when the model is not a classifier, I set n_classes equal to None. Now I have changed it to 0. So now everything should be fine. 😸
It is so good to have someone help test PDPbox using Python3. If you find any issues in the further, feel free to open an issue.

from pdpbox.

NMRobert avatar NMRobert commented on August 13, 2024

Great - I suspected it might be a python 2/3 issue! Your fix resolves the issue on the call in question.

I have found at least 1 more python3 related issue, would you prefer I open individual tickets for them, or collate everything in one place once I've found a couple? Cheers.

from pdpbox.

SauceCat avatar SauceCat commented on August 13, 2024

@NMRobert,
I think it is great to collect everything in one place and I will try to fix them.
Thank you so much! πŸ’―

from pdpbox.

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.