Giter Site home page Giter Site logo

remove penalty metrics about beat HOT 7 CLOSED

ayeletis avatar ayeletis commented on July 20, 2024
remove penalty metrics

from beat.

Comments (7)

ayeletis avatar ayeletis commented on July 20, 2024

One lingering error:

I get this:
Error in tune_balanced_causal_forest(X, Y, W, Y.hat, W.hat, sample.weights = sample.weights, :
unused argument (target.weight.penalty.metric = "split_l2_norm_rate")

from beat.

izahn avatar izahn commented on July 20, 2024

I can't seem to reproduce it, what triggered that error?

from beat.

ayeletis avatar ayeletis commented on July 20, 2024

If I run the balanced_causal_forest providing any input for "tune.paramters" I get this error. for example, if I add the last row to the sample code:

fit_causal_beat <- balanced_causal_forest(X_train, Y_train, W_train,
                                     target.weights = as.matrix(Z_train),
                                     target.weight.penalty = my_penalty,
                                     num.trees = num_trees,
                                     tune.parameters=c("min.node.size"))

from beat.

izahn avatar izahn commented on July 20, 2024

I believe b810227 should do it, but I'm leaving this issue open for now in case we find any other problems.

from beat.

ayeletis avatar ayeletis commented on July 20, 2024

i removed the packaged, and reinstalled, but I still get the same error:
Error in tune_balanced_causal_forest(X, Y, W, Y.hat, W.hat, sample.weights = sample.weights, :
unused argument (target.weight.penalty.metric = "split_l2_norm_rate")

Thanks!

from beat.

izahn avatar izahn commented on July 20, 2024

Hmm, I really cannot reproduce it now. Can you please

  1. remove.packages("beat")
  2. restart R
  3. install beat
  4. run the sample usage code with the tune.parameters modification above
    ?

If it gives an error (it does not for me) please run
traceback()
and paste the result here.

from beat.

ayeletis avatar ayeletis commented on July 20, 2024

restarting R was key! it is indeed resolved. we will continue our QA for a bit and let you know if any other issues come up. I'll leave this one open in the meantime in case there are other problems.

from beat.

Related Issues (6)

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.