Giter Site home page Giter Site logo

'Dominance' object has no attribute 'incrimental_r2' / 'Dominance' object has no attribute 'variable_stats' about dominance-analysis HOT 3 CLOSED

dominance-analysis avatar dominance-analysis commented on May 27, 2024
'Dominance' object has no attribute 'incrimental_r2' / 'Dominance' object has no attribute 'variable_stats'

from dominance-analysis.

Comments (3)

dominance-analysis avatar dominance-analysis commented on May 27, 2024

Hi Dave –

Thanks for trying the library!
Please run the code in below order

from dominance_analysis import Dominance
dominance_regression = Dominance(data=X_train, target='TARGET', objective=1)
dominance_regression.incremental_rsquare()

After this step plot_incremental_rsquare() and dominance_stats() will work as all the statistics is being generated in the incremental_rsquare() function

Please try running the code in the stated sequence and let us know if any query and we will close this issue accordingly.

Thanks!

from dominance-analysis.

dominance-analysis avatar dominance-analysis commented on May 27, 2024

Closing this as the user missed one line in the code. The library is working as expected.

from dominance-analysis.

CoteDave avatar CoteDave commented on May 27, 2024

Yes it works!!

Thanks you!

from dominance-analysis.

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.