Skip to content

Commit

Permalink
make xgboost as require dep
Browse files Browse the repository at this point in the history
  • Loading branch information
Weixuan Fu committed Nov 30, 2020
1 parent 5f3ccef commit 2f369e7
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 30 deletions.
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -204,5 +204,5 @@

<!--
MkDocs version : 1.1.2
Build Date UTC : 2020-10-26 14:32:58.841000+00:00
Build Date UTC : 2020-11-30 16:21:44.159769+00:00
-->
12 changes: 6 additions & 6 deletions docs/installing/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,20 +162,20 @@ <h1 id="installation">Installation</h1>
<li>
<p><a href="https://joblib.readthedocs.io/en/latest/">joblib</a></p>
</li>
<li>
<p><a href="https://xgboost.readthedocs.io/en/latest/">xgboost</a></p>
</li>
</ul>
<p>Most of the necessary Python packages can be installed via the <a href="https://www.anaconda.com/products/individual">Anaconda Python distribution</a>, which we strongly recommend that you use. <strong>Support for Python 3.4 and below has been officially dropped since version 0.11.0.</strong></p>
<p>You can install TPOT using <code>pip</code> or <code>conda-forge</code>.</p>
<h2 id="pip">pip</h2>
<p>NumPy, SciPy, scikit-learn, pandas, joblib, and PyTorch can be installed in Anaconda via the command:</p>
<pre><code class="language-Shell">conda install numpy scipy scikit-learn pandas joblib pytorch
</code></pre>
<p>DEAP, update_checker, tqdm and stopit can be installed with <code>pip</code> via the command:</p>
<pre><code class="language-Shell">pip install deap update_checker tqdm stopit
</code></pre>
<p><strong>Optionally</strong>, you can install <a href="https://github.com/dmlc/xgboost">XGBoost</a> if you would like TPOT to use the eXtreme Gradient Boosting models. XGBoost is entirely optional, and TPOT will still function normally without XGBoost if you do not have it installed. <strong>Windows users: pip installation may not work on some Windows environments, and it may cause unexpected errors.</strong></p>
<pre><code class="language-Shell">pip install xgboost
<p>DEAP, update_checker, tqdm, stopit and xgboost can be installed with <code>pip</code> via the command:</p>
<pre><code class="language-Shell">pip install deap update_checker tqdm stopit xgboost
</code></pre>
<p>If you have issues installing XGBoost, check the <a href="http://xgboost.readthedocs.io/en/latest/build.html">XGBoost installation documentation</a>.</p>
<p><strong>Windows users: pip installation may not work on some Windows environments, and it may cause unexpected errors.</strong> If you have issues installing XGBoost, check the <a href="http://xgboost.readthedocs.io/en/latest/build.html">XGBoost installation documentation</a>.</p>
<p>If you plan to use <a href="http://dask.pydata.org/en/latest/">Dask</a> for parallel training, make sure to install <a href="https://docs.dask.org/en/latest/install.html">dask[delay] and dask[dataframe]</a> and <a href="https://dask-ml.readthedocs.io/en/latest/install.html">dask_ml</a>. <strong>It is noted that dask-ml&gt;=1.7 requires distributed&gt;=2.4.0 and scikit-learn&gt;=0.23.0.</strong></p>
<pre><code class="language-Shell">pip install dask[delayed] dask[dataframe] dask-ml fsspec&gt;=0.3.3 distributed&gt;=2.10.0
</code></pre>
Expand Down
2 changes: 1 addition & 1 deletion docs/search/search_index.json

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions docs/sitemap.xml
Original file line number Diff line number Diff line change
@@ -1,43 +1,43 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><url>
<loc>http://epistasislab.github.io/tpot/</loc>
<lastmod>2020-10-26</lastmod>
<lastmod>2020-11-30</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>http://epistasislab.github.io/tpot/installing/</loc>
<lastmod>2020-10-26</lastmod>
<lastmod>2020-11-30</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>http://epistasislab.github.io/tpot/using/</loc>
<lastmod>2020-10-26</lastmod>
<lastmod>2020-11-30</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>http://epistasislab.github.io/tpot/api/</loc>
<lastmod>2020-10-26</lastmod>
<lastmod>2020-11-30</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>http://epistasislab.github.io/tpot/examples/</loc>
<lastmod>2020-10-26</lastmod>
<lastmod>2020-11-30</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>http://epistasislab.github.io/tpot/contributing/</loc>
<lastmod>2020-10-26</lastmod>
<lastmod>2020-11-30</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>http://epistasislab.github.io/tpot/releases/</loc>
<lastmod>2020-10-26</lastmod>
<lastmod>2020-11-30</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>http://epistasislab.github.io/tpot/citing/</loc>
<lastmod>2020-10-26</lastmod>
<lastmod>2020-11-30</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>http://epistasislab.github.io/tpot/support/</loc>
<lastmod>2020-10-26</lastmod>
<lastmod>2020-11-30</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>http://epistasislab.github.io/tpot/related/</loc>
<lastmod>2020-10-26</lastmod>
<lastmod>2020-11-30</lastmod>
<changefreq>daily</changefreq>
</url>
</urlset>
Binary file modified docs/sitemap.xml.gz
Binary file not shown.
14 changes: 5 additions & 9 deletions docs_sources/installing.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ TPOT is built on top of several existing Python libraries, including:

* [joblib](https://joblib.readthedocs.io/en/latest/)

* [xgboost](https://xgboost.readthedocs.io/en/latest/)

Most of the necessary Python packages can be installed via the [Anaconda Python distribution](https://www.anaconda.com/products/individual), which we strongly recommend that you use. **Support for Python 3.4 and below has been officially dropped since version 0.11.0.**


Expand All @@ -33,19 +35,13 @@ NumPy, SciPy, scikit-learn, pandas, joblib, and PyTorch can be installed in Anac
conda install numpy scipy scikit-learn pandas joblib pytorch
```

DEAP, update_checker, tqdm and stopit can be installed with `pip` via the command:

```Shell
pip install deap update_checker tqdm stopit
```

**Optionally**, you can install [XGBoost](https://github.com/dmlc/xgboost) if you would like TPOT to use the eXtreme Gradient Boosting models. XGBoost is entirely optional, and TPOT will still function normally without XGBoost if you do not have it installed. **Windows users: pip installation may not work on some Windows environments, and it may cause unexpected errors.**
DEAP, update_checker, tqdm, stopit and xgboost can be installed with `pip` via the command:

```Shell
pip install xgboost
pip install deap update_checker tqdm stopit xgboost
```

If you have issues installing XGBoost, check the [XGBoost installation documentation](http://xgboost.readthedocs.io/en/latest/build.html).
**Windows users: pip installation may not work on some Windows environments, and it may cause unexpected errors.** If you have issues installing XGBoost, check the [XGBoost installation documentation](http://xgboost.readthedocs.io/en/latest/build.html).

If you plan to use [Dask](http://dask.pydata.org/en/latest/) for parallel training, make sure to install [dask[delay] and dask[dataframe]](https://docs.dask.org/en/latest/install.html) and [dask_ml](https://dask-ml.readthedocs.io/en/latest/install.html). **It is noted that dask-ml>=1.7 requires distributed>=2.4.0 and scikit-learn>=0.23.0.**

Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ update-checker>=0.16
stopit>=1.1.2
pandas>=0.24.2
joblib>=0.13.2
xgboost>=0.90
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ def calculate_version():
'tqdm>=4.36.1',
'stopit>=1.1.1',
'pandas>=0.24.2',
'joblib>=0.13.2'],
'joblib>=0.13.2',
'xgboost>=0.90'],
extras_require={
'xgboost': ['xgboost==0.90'],
'skrebate': ['skrebate>=0.3.4'],
'mdr': ['scikit-mdr>=0.4.4'],
'dask': ['dask>=0.18.2',
Expand Down
2 changes: 1 addition & 1 deletion tpot/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@
"""

__version__ = '0.11.6.post1'
__version__ = '0.11.6.post2'

0 comments on commit 2f369e7

Please sign in to comment.