* [backport] Make sure input numpy array is aligned. (#8690) - use `np.require` to specify that the alignment is required. - scipy csr as well. - validate input pointer in `ArrayInterface`. * Workaround CUDA warning. (#8696) * backport from half type support for alignment. * fix import.
======================
XGBoost Python Package
======================
|PyPI version|
Installation
============
From `PyPI <https://pypi.python.org/pypi/xgboost>`_
---------------------------------------------------
For a stable version, install using ``pip``::
pip install xgboost
.. |PyPI version| image:: https://badge.fury.io/py/xgboost.svg
:target: http://badge.fury.io/py/xgboost
For building from source, see `build <https://xgboost.readthedocs.io/en/latest/build.html>`_.