Code Monkey home page Code Monkey logo

Comments (5)

pbiecek avatar pbiecek commented on August 15, 2024

I cannot replicate your error.
Would you give here an example that can be replicated (maybe with some public dataset)?

from dalex.

ms1948 avatar ms1948 commented on August 15, 2024

from dalex.

pbiecek avatar pbiecek commented on August 15, 2024

@ms1948 I do not see any attachment. I think that you need to upload them through www interface of github not through email. Or send me a prv message with attachments to przemyslaw dot here biecek at gmail.

from dalex.

ms1948 avatar ms1948 commented on August 15, 2024

R_Commands.txt

Data_File.xls.zip

from dalex.

pbiecek avatar pbiecek commented on August 15, 2024

single_prediction works for single observation,
try

new.b <- data.frame(ArGoMe =129.6,
                    CoGo=47.4,
                    GoGn =72.3,
                    Nme =104.5,
                    NSAr = 121.5 ,
                    PPMP = 27.1,
                    PPSN = 8.7,
                    Sar = 29.2,
                    SN = 63.8,
                    SNA = 79.6,
                    SNB =79.9)
b_lm_model<- lm(BG ~ArGoMe+CoGo+GoGn+Nme+NSAr+PPMP+PPSN+Sar+SN+SNA+SNB , data = b)
b_lm_explainer <- explain(b_lm_model, data = b, label = "model_4v")
b_lm_predict <- single_prediction(b_lm_explainer, observation = new.b)
b_lm_predict

from dalex.

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.