bambi icon indicating copy to clipboard operation
bambi copied to clipboard

Some examples ideas

Open tomicapretto opened this issue 1 year ago • 9 comments

Chapter 3 of Julian Faraway's book "Extending the linear model with R" has several nice examples and exercises. It would be nice to work on those and include them as examples in our docs.

tomicapretto avatar Feb 20 '24 19:02 tomicapretto

Hi @tomicapretto ! I want to try to fix the issue. It's the first time I'm contributing to bambi, and I am interested in working on this issue so that I understand the codebase and participate in GSOC. After reviewing the contribution guidelines(here), I think I'll be able to work on this. Could you please give assign it to me?

ConradKash avatar Mar 17 '24 16:03 ConradKash

Hey @ConradKash thanks for the comment. Good you have reviewed the guidelines doc. Perhaps a suggestion; since the book covers a wide range of models with corresponding examples, I would identify a chapter and or set of examples that Bambi does not have and contribute those.

Then, you could link your PR to this issue and outline the chapter and model being reproduced in Bambi. This way, other contributors know specifically what you are working on.

GStechschulte avatar Mar 18 '24 17:03 GStechschulte

Hi @ConradKash thanks for writing! Here you have a list of issues where we mention examples that we would like to have

  • https://github.com/bambinos/bambi/issues/437
  • https://github.com/bambinos/bambi/issues/418
  • https://github.com/bambinos/bambi/issues/384

But if you read a book, see a blog post, or simply have a topic, feel free to pick that too :)

Have a look at the current examples and you'll get an idea of what is expected. As you can see, the complexity and depth can vary a lot and that's fine :)

tomicapretto avatar Mar 19 '24 11:03 tomicapretto

Thank you @tomicapretto for a more in depth explanation . I was reading through the book and its quite interesting. i was working on the exercise of germination i will share in a few. But will definitely read through the issues to understand the project better and see which example works best. :)

ConradKash avatar Mar 19 '24 11:03 ConradKash

@ConradKash Amazing! Feel free to reach out if you have any questions

tomicapretto avatar Mar 19 '24 12:03 tomicapretto

Hey @tomicapretto. I will do an example of a piecewise regression model. I read a blog about Piecewise Regression and it was quite interesting. So I will do the Piecewise regression. I have read the book and wanted to do a binomial response model. to be exact I wanted to do Exercise 2.

ConradKash avatar Mar 20 '24 15:03 ConradKash

@ConradKash I don't know if you're still interested in the example, but please don't hesitate to let me know if you need any help :)

tomicapretto avatar Mar 27 '24 21:03 tomicapretto

Hey, @tomicapretto I was running Python 3.12.2 on my machine so I got an error while installing dependencies.

So I downgraded so I worked on a stock predictor model because it's the best example that can show the true potential of a piecewise regression model.

That's what has kept me kinda busy. Its interesting though and yes am still interested

ConradKash avatar Mar 28 '24 22:03 ConradKash

@ConradKash amazing, thanks! The development version should now work with Python 3.12.

tomicapretto avatar Mar 31 '24 13:03 tomicapretto