Installation
You should already have pip, Python, and XGBoost (see below) installed on your system. Run the following command to install AlphaPy:
pip install -U alphapy
XGBoost
For Macintosh and Window users, XGBoost will not install automatically
with pip
. For instructions to install XGBoost on your specific
platform, go to http://xgboost.readthedocs.io/en/latest/build.html.
Anaconda Python
Note
If you already have the Anaconda Python distribution, then you can create a virtual environment for AlphaPy with conda with the following recipe.
conda create -n alphapy python=3.5source activate alphapyconda install -c conda-forge bokehconda install -c conda-forge ipythonconda install -c conda-forge matplotlibconda install -c conda-forge numpyconda install -c conda-forge pandasconda install -c conda-forge pyyamlconda install -c conda-forge scikit-learnconda install -c conda-forge scipyconda install -c conda-forge seabornconda install -c conda-forge xgboostpip install pandas_datareaderpip install imbalanced-learnpip install category_encoderspip install pyfolio