kapelner / bartMachine

An R-Java Bayesian Additive Regression Trees implementation
MIT License
62 stars 27 forks source link

selecting the numbers of posterior samples in bart_machine_get_posterior #23

Closed claudiofronterre closed 6 years ago

claudiofronterre commented 6 years ago

Hi Adam,

Would be possible to add an argument to the function bart_machine_get_posterior to decide the number of posterior samples? I see that at the moment the default is 1000.

Many thanks,

Claudio

kapelner commented 6 years ago

Isn't that the "num_iterations_after_burn_in" parameter? I'm not sure I follow.

On Tue, May 8, 2018 at 8:01 AM, claudiofronterre notifications@github.com wrote:

Hi Adam,

Would be possible to add an argument to the function bart_machine_get_posterior to decide the number of posterior samples? I see that at the moment the default is 1000.

Many thanks,

Claudio

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kapelner/bartMachine/issues/23, or mute the thread https://github.com/notifications/unsubscribe-auth/AAoK-G_EXFScy_cLpHpLS6GcxjH5Aaydks5twYkqgaJpZM4T2hGG .

-- Adam Kapelner, Ph.D. Assistant Professor of Mathematics Queens College, City University of New York 65-30 Kissena Blvd., Kiely Hall Room 604 Flushing, NY, 11367 M: 516-435-6795 kapelner.com (scholar https://scholar.google.com/citations?user=TzgMmnoAAAAJ|research gate http://www.researchgate.net/profile/Adam_Kapelner2|publons https://publons.com/author/431881/adam-kapelner#profile)

claudiofronterre commented 6 years ago

You are right, it inherits it from the bartMachine object. That's great, thank you.