Skip to content

Commit d05eb33

Browse files
committed
deploy: 60a9dbd
1 parent 88a3879 commit d05eb33

7 files changed

+40
-35
lines changed

_sources/getting_started/developers.rst.txt

+18-9
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,24 @@ Developer's Guide
55

66
Development Dependencies
77
~~~~~~~~~~~~~~~~~~~~~~~~
8+
89
Building the package from source additionally requires the following dependencies:
910

1011
* cython (>=3.0a4)
1112

1213
We also use pre-commit hooks to identify simple issues before submission.
1314

14-
To install these dependencies, run::
15+
Setting Up Your Environment
16+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
17+
18+
To contribute to the `quantile-forest` source code, start by forking and then cloning the repository (i.e. `git clone [email protected]:YourUsername/quantile-forest.git`).
19+
20+
Once inside the repository, you can prepare a development environment. Using conda::
1521

16-
pip install cython pre-commit
22+
conda create -n qf python=3.12
23+
conda activate qf
24+
conda install pre-commit
25+
pre-commit install
1726

1827
Development Installation
1928
~~~~~~~~~~~~~~~~~~~~~~~~
@@ -38,25 +47,25 @@ Test and Coverage
3847

3948
Ensure that `pytest` and `pytest-cov` are installed::
4049

41-
$ pip install pytest pytest-cov
50+
pip install pytest pytest-cov
4251

4352
To test the code::
4453

45-
$ python -m pytest quantile_forest -v
54+
python -m pytest quantile_forest -v
4655

4756
To test the code and produce a coverage report::
4857

49-
$ python -m pytest quantile_forest --cov-report html --cov=quantile_forest
58+
python -m pytest quantile_forest --cov-report html --cov=quantile_forest
5059

5160
To test the documentation::
5261

53-
$ python -m pytest --doctest-glob="*.rst" --doctest-modules docs
62+
python -m pytest --doctest-glob="*.rst" --doctest-modules docs
5463

5564
Documentation
5665
~~~~~~~~~~~~~
5766

5867
To build the documentation, run::
5968

60-
$ pip install -r ./docs/sphinx_requirements.txt
61-
$ mkdir -p ./docs/_images
62-
$ sphinx-build -b html ./docs ./docs/_build
69+
pip install -r ./docs/sphinx_requirements.txt
70+
mkdir -p ./docs/_images
71+
sphinx-build -b html ./docs ./docs/_build

_sources/getting_started/installation.rst.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ Prerequisites
88

99
The quantile-forest package requires the following dependencies:
1010

11-
* python (>=3.8)
11+
* python (>=3.9)
1212
* numpy (>=1.23)
13-
* scikit-learn (>=1.0)
13+
* scikit-learn (>=1.5)
1414
* scipy (>=1.4)
1515

1616
Installation

generated/quantile_forest.ExtraTreesQuantileRegressor.html

-6
Original file line numberDiff line numberDiff line change
@@ -594,19 +594,13 @@ <h1>ExtraTreesQuantileRegressor<a class="headerlink" href="#extratreesquantilere
594594
</ul>
595595
</dd>
596596
</dl>
597-
<div class="versionadded">
598-
<p><span class="versionmodified added">New in scikit-learn version 1.4. </span></p>
599-
</div>
600597
</dd>
601598
</dl>
602599
</dd>
603600
<dt class="field-even">Attributes<span class="colon">:</span></dt>
604601
<dd class="field-even"><dl>
605602
<dt><strong>estimator_</strong><span class="classifier"><a class="reference external" href="https://scikit-learn.org/stable/modules/generated/sklearn.tree.ExtraTreeRegressor.html#sklearn.tree.ExtraTreeRegressor" title="(in scikit-learn v1.5)"><code class="xref py py-class docutils literal notranslate"><span class="pre">ExtraTreeRegressor</span></code></a></span></dt><dd><p>The child estimator template used to create the collection of fitted
606603
sub-estimators.</p>
607-
<div class="versionadded">
608-
<p><span class="versionmodified added">New in scikit-learn version 1.2: </span><code class="docutils literal notranslate"><span class="pre">base_estimator_</span></code> was renamed to <code class="docutils literal notranslate"><span class="pre">estimator_</span></code>.</p>
609-
</div>
610604
</dd>
611605
<dt><strong>estimators_</strong><span class="classifier">list of DecisionTreeRegressor</span></dt><dd><p>The collection of fitted sub-estimators.</p>
612606
</dd>

generated/quantile_forest.RandomForestQuantileRegressor.html

-6
Original file line numberDiff line numberDiff line change
@@ -592,19 +592,13 @@ <h1>RandomForestQuantileRegressor<a class="headerlink" href="#randomforestquanti
592592
</ul>
593593
</dd>
594594
</dl>
595-
<div class="versionadded">
596-
<p><span class="versionmodified added">New in scikit-learn version 1.4. </span></p>
597-
</div>
598595
</dd>
599596
</dl>
600597
</dd>
601598
<dt class="field-even">Attributes<span class="colon">:</span></dt>
602599
<dd class="field-even"><dl>
603600
<dt><strong>estimator_</strong><span class="classifier"><a class="reference external" href="https://scikit-learn.org/stable/modules/generated/sklearn.tree.DecisionTreeRegressor.html#sklearn.tree.DecisionTreeRegressor" title="(in scikit-learn v1.5)"><code class="xref py py-class docutils literal notranslate"><span class="pre">DecisionTreeRegressor</span></code></a></span></dt><dd><p>The child estimator template used to create the collection of fitted
604601
sub-estimators.</p>
605-
<div class="versionadded">
606-
<p><span class="versionmodified added">New in scikit-learn version 1.2: </span><code class="docutils literal notranslate"><span class="pre">base_estimator_</span></code> was renamed to <code class="docutils literal notranslate"><span class="pre">estimator_</span></code>.</p>
607-
</div>
608602
</dd>
609603
<dt><strong>estimators_</strong><span class="classifier">list of DecisionTreeRegressor</span></dt><dd><p>The collection of fitted sub-estimators.</p>
610604
</dd>

getting_started/developers.html

+17-9
Original file line numberDiff line numberDiff line change
@@ -435,8 +435,15 @@ <h2>Development Dependencies<a class="headerlink" href="#development-dependencie
435435
<li><p>cython (&gt;=3.0a4)</p></li>
436436
</ul>
437437
<p>We also use pre-commit hooks to identify simple issues before submission.</p>
438-
<p>To install these dependencies, run:</p>
439-
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">pip</span> <span class="n">install</span> <span class="n">cython</span> <span class="n">pre</span><span class="o">-</span><span class="n">commit</span>
438+
</section>
439+
<section id="setting-up-your-environment">
440+
<h2>Setting Up Your Environment<a class="headerlink" href="#setting-up-your-environment" title="Link to this heading">#</a></h2>
441+
<p>To contribute to the <code class="docutils literal notranslate"><span class="pre">quantile-forest</span></code> source code, start by forking and then cloning the repository (i.e. <code class="docutils literal notranslate"><span class="pre">git</span> <span class="pre">clone</span> <span class="pre">git&#64;github.com:YourUsername/quantile-forest.git</span></code>).</p>
442+
<p>Once inside the repository, you can prepare a development environment. Using conda:</p>
443+
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">conda</span> <span class="n">create</span> <span class="o">-</span><span class="n">n</span> <span class="n">qf</span> <span class="n">python</span><span class="o">=</span><span class="mf">3.12</span>
444+
<span class="n">conda</span> <span class="n">activate</span> <span class="n">qf</span>
445+
<span class="n">conda</span> <span class="n">install</span> <span class="n">pre</span><span class="o">-</span><span class="n">commit</span>
446+
<span class="n">pre</span><span class="o">-</span><span class="n">commit</span> <span class="n">install</span>
440447
</pre></div>
441448
</div>
442449
</section>
@@ -460,28 +467,28 @@ <h2>Troubleshooting<a class="headerlink" href="#troubleshooting" title="Link to
460467
<section id="test-and-coverage">
461468
<h2>Test and Coverage<a class="headerlink" href="#test-and-coverage" title="Link to this heading">#</a></h2>
462469
<p>Ensure that <code class="docutils literal notranslate"><span class="pre">pytest</span></code> and <code class="docutils literal notranslate"><span class="pre">pytest-cov</span></code> are installed:</p>
463-
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>$ pip install pytest pytest-cov
470+
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">pip</span> <span class="n">install</span> <span class="n">pytest</span> <span class="n">pytest</span><span class="o">-</span><span class="n">cov</span>
464471
</pre></div>
465472
</div>
466473
<p>To test the code:</p>
467-
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>$ python -m pytest quantile_forest -v
474+
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">python</span> <span class="o">-</span><span class="n">m</span> <span class="n">pytest</span> <span class="n">quantile_forest</span> <span class="o">-</span><span class="n">v</span>
468475
</pre></div>
469476
</div>
470477
<p>To test the code and produce a coverage report:</p>
471-
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>$ python -m pytest quantile_forest --cov-report html --cov=quantile_forest
478+
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">python</span> <span class="o">-</span><span class="n">m</span> <span class="n">pytest</span> <span class="n">quantile_forest</span> <span class="o">--</span><span class="n">cov</span><span class="o">-</span><span class="n">report</span> <span class="n">html</span> <span class="o">--</span><span class="n">cov</span><span class="o">=</span><span class="n">quantile_forest</span>
472479
</pre></div>
473480
</div>
474481
<p>To test the documentation:</p>
475-
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>$ python -m pytest --doctest-glob=&quot;*.rst&quot; --doctest-modules docs
482+
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">python</span> <span class="o">-</span><span class="n">m</span> <span class="n">pytest</span> <span class="o">--</span><span class="n">doctest</span><span class="o">-</span><span class="n">glob</span><span class="o">=</span><span class="s2">&quot;*.rst&quot;</span> <span class="o">--</span><span class="n">doctest</span><span class="o">-</span><span class="n">modules</span> <span class="n">docs</span>
476483
</pre></div>
477484
</div>
478485
</section>
479486
<section id="documentation">
480487
<h2>Documentation<a class="headerlink" href="#documentation" title="Link to this heading">#</a></h2>
481488
<p>To build the documentation, run:</p>
482-
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>$ pip install -r ./docs/sphinx_requirements.txt
483-
$ mkdir -p ./docs/_images
484-
$ sphinx-build -b html ./docs ./docs/_build
489+
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">pip</span> <span class="n">install</span> <span class="o">-</span><span class="n">r</span> <span class="o">./</span><span class="n">docs</span><span class="o">/</span><span class="n">sphinx_requirements</span><span class="o">.</span><span class="n">txt</span>
490+
<span class="n">mkdir</span> <span class="o">-</span><span class="n">p</span> <span class="o">./</span><span class="n">docs</span><span class="o">/</span><span class="n">_images</span>
491+
<span class="n">sphinx</span><span class="o">-</span><span class="n">build</span> <span class="o">-</span><span class="n">b</span> <span class="n">html</span> <span class="o">./</span><span class="n">docs</span> <span class="o">./</span><span class="n">docs</span><span class="o">/</span><span class="n">_build</span>
485492
</pre></div>
486493
</div>
487494
</section>
@@ -534,6 +541,7 @@ <h2>Documentation<a class="headerlink" href="#documentation" title="Link to this
534541
<nav class="bd-toc-nav page-toc" aria-labelledby="pst-page-navigation-heading-2">
535542
<ul class="visible nav section-nav flex-column">
536543
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#development-dependencies">Development Dependencies</a></li>
544+
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#setting-up-your-environment">Setting Up Your Environment</a></li>
537545
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#development-installation">Development Installation</a></li>
538546
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#troubleshooting">Troubleshooting</a></li>
539547
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#test-and-coverage">Test and Coverage</a></li>

getting_started/installation.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -429,9 +429,9 @@
429429
<h2>Prerequisites<a class="headerlink" href="#prerequisites" title="Link to this heading">#</a></h2>
430430
<p>The quantile-forest package requires the following dependencies:</p>
431431
<ul class="simple">
432-
<li><p>python (&gt;=3.8)</p></li>
432+
<li><p>python (&gt;=3.9)</p></li>
433433
<li><p>numpy (&gt;=1.23)</p></li>
434-
<li><p>scikit-learn (&gt;=1.0)</p></li>
434+
<li><p>scikit-learn (&gt;=1.5)</p></li>
435435
<li><p>scipy (&gt;=1.4)</p></li>
436436
</ul>
437437
</section>

searchindex.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)