# Sharing baseline models in python : Negative Binomial Regression, Arima, XGBoost etc

**URL:** <https://community.drivendata.org/t/sharing-baseline-models-in-python-negative-binomial-regression-arima-xgboost-etc/2356>\
**Category:** DengAI Competition\
**Created:** [May 12, 2018, 7:53am UTC](https://community.drivendata.org/t/sharing-baseline-models-in-python-negative-binomial-regression-arima-xgboost-etc/2356 "2018-05-12T07:53:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sush](https://avatars.discourse-cdn.com/v4/letter/s/eb8c5e/32.png) [@Sush](https://community.drivendata.org/u/Sush)\
**Post date:** [May 12, 2018, 7:53am UTC](https://community.drivendata.org/t/sharing-baseline-models-in-python-negative-binomial-regression-arima-xgboost-etc/2356/1 "2018-05-12T07:53:01Z")

</div>

> **[GitHub - SusmeetJain/dengue\_prediction: Predicting spread of Dengue based on...](https://github.com/SusmeetJain/dengue_prediction)**
>
> Predicting spread of Dengue based on climate data. Contribute to SusmeetJain/dengue\_prediction development by creating an account on GitHub.

You can find these baseline models in the above Github link, these solutions are in iPython notebooks, most of which are well commented. Comment below if you need any help understanding the code, or connect with me on any social media channels (links to which can be found on my driven data profile) for any feedback!

Let us fight Dengue together!

---

<div class="post-metadata">

**Author:** ![gaworecki](https://avatars.discourse-cdn.com/v4/letter/g/f04885/32.png) [@gaworecki](https://community.drivendata.org/u/gaworecki)\
**Post date:** [November 1, 2018, 3:19pm UTC](https://community.drivendata.org/t/sharing-baseline-models-in-python-negative-binomial-regression-arima-xgboost-etc/2356/2 "2018-11-01T15:19:12Z")

</div>

Thank you so much for sharing these baseline models. It has helped me tremendously and I have learned a lot in the process as well.

Two questions:

1. something is wrong with the XGBoost model in your github repo and it will not open.
2. Why do you say that the Negative Binomial Regression model " is by far the best model we have come across" when the mean absolute error for the training dataset is (for san jaun) around 17 compared to only 12 for a simple linear regression?

Again I cannot say thank you enough.

---

<div class="post-metadata">

**Author:** ![dingding](https://avatars.discourse-cdn.com/v4/letter/d/b5a626/32.png) [@dingding](https://community.drivendata.org/u/dingding)\
**Post date:** [May 28, 2019, 1:18am UTC](https://community.drivendata.org/t/sharing-baseline-models-in-python-negative-binomial-regression-arima-xgboost-etc/2356/3 "2019-05-28T01:18:13Z")

</div>

The problem with the XGBoost model is easy to solve. Just open it with any tools having automatic spelling correction function, then you can find there is a left curly braces missing.
