ngboost 0.5.2__tar.gz → 0.5.2.dev0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. {ngboost-0.5.2 → ngboost-0.5.2.dev0}/PKG-INFO +1 -1
  2. {ngboost-0.5.2 → ngboost-0.5.2.dev0}/pyproject.toml +1 -1
  3. {ngboost-0.5.2 → ngboost-0.5.2.dev0}/setup.py +1 -1
  4. {ngboost-0.5.2 → ngboost-0.5.2.dev0}/LICENSE +0 -0
  5. {ngboost-0.5.2 → ngboost-0.5.2.dev0}/README.md +0 -0
  6. {ngboost-0.5.2 → ngboost-0.5.2.dev0}/ngboost/__init__.py +0 -0
  7. {ngboost-0.5.2 → ngboost-0.5.2.dev0}/ngboost/api.py +0 -0
  8. {ngboost-0.5.2 → ngboost-0.5.2.dev0}/ngboost/distns/__init__.py +0 -0
  9. {ngboost-0.5.2 → ngboost-0.5.2.dev0}/ngboost/distns/categorical.py +0 -0
  10. {ngboost-0.5.2 → ngboost-0.5.2.dev0}/ngboost/distns/cauchy.py +0 -0
  11. {ngboost-0.5.2 → ngboost-0.5.2.dev0}/ngboost/distns/distn.py +0 -0
  12. {ngboost-0.5.2 → ngboost-0.5.2.dev0}/ngboost/distns/exponential.py +0 -0
  13. {ngboost-0.5.2 → ngboost-0.5.2.dev0}/ngboost/distns/gamma.py +0 -0
  14. {ngboost-0.5.2 → ngboost-0.5.2.dev0}/ngboost/distns/laplace.py +0 -0
  15. {ngboost-0.5.2 → ngboost-0.5.2.dev0}/ngboost/distns/lognormal.py +0 -0
  16. {ngboost-0.5.2 → ngboost-0.5.2.dev0}/ngboost/distns/multivariate_normal.py +0 -0
  17. {ngboost-0.5.2 → ngboost-0.5.2.dev0}/ngboost/distns/normal.py +0 -0
  18. {ngboost-0.5.2 → ngboost-0.5.2.dev0}/ngboost/distns/poisson.py +0 -0
  19. {ngboost-0.5.2 → ngboost-0.5.2.dev0}/ngboost/distns/t.py +0 -0
  20. {ngboost-0.5.2 → ngboost-0.5.2.dev0}/ngboost/distns/utils.py +0 -0
  21. {ngboost-0.5.2 → ngboost-0.5.2.dev0}/ngboost/evaluation.py +0 -0
  22. {ngboost-0.5.2 → ngboost-0.5.2.dev0}/ngboost/helpers.py +0 -0
  23. {ngboost-0.5.2 → ngboost-0.5.2.dev0}/ngboost/learners.py +0 -0
  24. {ngboost-0.5.2 → ngboost-0.5.2.dev0}/ngboost/manifold.py +0 -0
  25. {ngboost-0.5.2 → ngboost-0.5.2.dev0}/ngboost/ngboost.py +0 -0
  26. {ngboost-0.5.2 → ngboost-0.5.2.dev0}/ngboost/scores.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ngboost
3
- Version: 0.5.2
3
+ Version: 0.5.2.dev0
4
4
  Summary: Library for probabilistic predictions via gradient boosting.
5
5
  Home-page: https://github.com/stanfordmlgroup/ngboost
6
6
  License: Apache-2.0
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "ngboost"
3
- version = "0.5.2"
3
+ version = "0.5.2dev"
4
4
  description = "Library for probabilistic predictions via gradient boosting."
5
5
  authors = ["Stanford ML Group <avati@cs.stanford.edu>"]
6
6
  readme = "README.md"
@@ -16,7 +16,7 @@ install_requires = \
16
16
 
17
17
  setup_kwargs = {
18
18
  'name': 'ngboost',
19
- 'version': '0.5.2',
19
+ 'version': '0.5.2.dev0',
20
20
  'description': 'Library for probabilistic predictions via gradient boosting.',
21
21
  'long_description': '# NGBoost: Natural Gradient Boosting for Probabilistic Prediction\n\n<h4 align="center">\n\n![Python package](https://github.com/stanfordmlgroup/ngboost/workflows/Python%20package/badge.svg)\n[![GitHub Repo Size](https://img.shields.io/github/repo-size/stanfordmlgroup/ngboost?label=Repo+Size)](https://github.com/stanfordmlgroup/ngboost/graphs/contributors)\n[![Github License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![PyPI](https://img.shields.io/pypi/v/ngboost?logo=pypi&logoColor=white)](https://pypi.org/project/ngboost)\n[![PyPI Downloads](https://img.shields.io/pypi/dm/ngboost?logo=icloud&logoColor=white)](https://pypistats.org/packages/ngboost)\n\n</h4>\n\nngboost is a Python library that implements Natural Gradient Boosting, as described in ["NGBoost: Natural Gradient Boosting for Probabilistic Prediction"](https://stanfordmlgroup.github.io/projects/ngboost/). It is built on top of [Scikit-Learn](https://scikit-learn.org/stable/), and is designed to be scalable and modular with respect to choice of proper scoring rule, distribution, and base learner. A didactic introduction to the methodology underlying NGBoost is available in this [slide deck](https://docs.google.com/presentation/d/1Tn23Su0ygR6z11jy3xVNiLGv0ggiUQue/edit?usp=share_link&ouid=102290675300480810195&rtpof=true&sd=true).\n\n## Installation\n\n```sh\nvia pip\n\npip install --upgrade ngboost\n\nvia conda-forge\n\nconda install -c conda-forge ngboost\n```\n\n## Usage\n\nProbabilistic regression example on the Boston housing dataset:\n\n```python\nfrom ngboost import NGBRegressor\n\nfrom sklearn.model_selection import train_test_split\nfrom sklearn.metrics import mean_squared_error\n\n#Load Boston housing dataset\ndata_url = "http://lib.stat.cmu.edu/datasets/boston"\nraw_df = pd.read_csv(data_url, sep="\\s+", skiprows=22, header=None)\nX = np.hstack([raw_df.values[::2, :], raw_df.values[1::2, :2]])\nY = raw_df.values[1::2, 2]\n\nX_train, X_test, Y_train, Y_test = train_test_split(X, Y, test_size=0.2)\n\nngb = NGBRegressor().fit(X_train, Y_train)\nY_preds = ngb.predict(X_test)\nY_dists = ngb.pred_dist(X_test)\n\n# test Mean Squared Error\ntest_MSE = mean_squared_error(Y_preds, Y_test)\nprint(\'Test MSE\', test_MSE)\n\n# test Negative Log Likelihood\ntest_NLL = -Y_dists.logpdf(Y_test).mean()\nprint(\'Test NLL\', test_NLL)\n```\n\nDetails on available distributions, scoring rules, learners, tuning, and model interpretation are available in our [user guide](https://stanfordmlgroup.github.io/ngboost/intro.html), which also includes numerous usage examples and information on how to add new distributions or scores to NGBoost.\n\n## License\n\n[Apache License 2.0](https://github.com/stanfordmlgroup/ngboost/blob/master/LICENSE).\n\n## Reference\n\nTony Duan, Anand Avati, Daisy Yi Ding, Khanh K. Thai, Sanjay Basu, Andrew Y. Ng, Alejandro Schuler. 2019.\nNGBoost: Natural Gradient Boosting for Probabilistic Prediction.\n[arXiv](https://arxiv.org/abs/1910.03225)\n',
22
22
  'author': 'Stanford ML Group',
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes