Skip to content

Commit

Permalink
Deploying to gh-pages from @ ceb04f9 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
kwinkunks committed Sep 21, 2023
1 parent ae04d43 commit 9cace69
Show file tree
Hide file tree
Showing 40 changed files with 1,150 additions and 205 deletions.
Binary file modified .doctrees/_notebooks/Basic_usage.doctree
Binary file not shown.
Binary file modified .doctrees/_notebooks/Tutorial.doctree
Binary file not shown.
Binary file not shown.
Binary file modified .doctrees/_notebooks/Using_redflag_with_sklearn.doctree
Binary file not shown.
Binary file modified .doctrees/changelog.doctree
Binary file not shown.
Binary file modified .doctrees/environment.pickle
Binary file not shown.
Binary file modified .doctrees/index.doctree
Binary file not shown.
Binary file modified .doctrees/redflag.doctree
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 18 additions & 20 deletions _notebooks/Basic_usage.html
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@
<li class="toctree-l1"><a class="reference internal" href="../installation.html">🚩 Installation</a></li>
<li class="toctree-l1 current current-page"><a class="current reference internal" href="#">🚩 Basic usage</a></li>
<li class="toctree-l1"><a class="reference internal" href="Using_redflag_with_sklearn.html">🚩 Using <code class="docutils literal notranslate"><span class="pre">redflag</span></code> with <code class="docutils literal notranslate"><span class="pre">sklearn</span></code></a></li>
<li class="toctree-l1"><a class="reference internal" href="Using_redflag_with_Pandas.html">🚩 Using <code class="docutils literal notranslate"><span class="pre">redflag</span></code> with Pandas</a></li>
<li class="toctree-l1"><a class="reference internal" href="Tutorial.html">Tutorial</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">API reference</span></p>
Expand Down Expand Up @@ -240,7 +241,7 @@ <h1>🚩 Basic usage<a class="headerlink" href="#basic-usage" title="Permalink t
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&#39;0.2.0&#39;
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&#39;0.3.0rc0&#39;
</pre></div>
</div>
</div>
Expand Down Expand Up @@ -546,10 +547,10 @@ <h2>Imbalance metrics<a class="headerlink" href="#imbalance-metrics" title="Perm
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;matplotlib.lines.Line2D at 0x7f1d7a233c10&gt;
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;matplotlib.lines.Line2D at 0x7f9c9413d8d0&gt;
</pre></div>
</div>
<img alt="../_images/a56660f9ac1ab9e1ae43e2876861e23d6085ab85d5cd42e58756e5bdb3c3c173.png" src="../_images/a56660f9ac1ab9e1ae43e2876861e23d6085ab85d5cd42e58756e5bdb3c3c173.png" />
<img alt="../_images/2bb44d03d42247969124582eea41e70bf462d350c4bfaceb853eecf4e89f5d6d.png" src="../_images/2bb44d03d42247969124582eea41e70bf462d350c4bfaceb853eecf4e89f5d6d.png" />
</div>
</div>
</section>
Expand Down Expand Up @@ -592,7 +593,7 @@ <h2>Outliers<a class="headerlink" href="#outliers" title="Permalink to this head
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;Axes: xlabel=&#39;GR&#39;, ylabel=&#39;Density&#39;&gt;
</pre></div>
</div>
<img alt="../_images/856f0e1fc637ef9ecc9d3445785842c13673ca3c26a76ef7ef00288e3ac12c75.png" src="../_images/856f0e1fc637ef9ecc9d3445785842c13673ca3c26a76ef7ef00288e3ac12c75.png" />
<img alt="../_images/189e714bdbe64f6e2b2407adf9c51e93f35691cfd08985926c07cc7c4c5d6806.png" src="../_images/189e714bdbe64f6e2b2407adf9c51e93f35691cfd08985926c07cc7c4c5d6806.png" />
</div>
</div>
<p>By default it uses an <a class="reference external" href="https://scikit-learn.org/stable/modules/outlier_detection.html#isolation-forest"><strong>isolation forest</strong></a> to detect the outliers at the 99% confidence level, but you can also opt to use <strong>local outlier factor</strong>, <strong>elliptic envelope</strong>, or <strong>Mahalanobis distance</strong>, setting the confidence level to choose how many outliers you will see, or (equivalently) setting the <code class="docutils literal notranslate"><span class="pre">threshold</span></code> to the number of standard deviations away from the mean you regard as signal.</p>
Expand Down Expand Up @@ -629,10 +630,10 @@ <h2>Outliers<a class="headerlink" href="#outliers" title="Permalink to this head
use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.
</pre></div>
</div>
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;seaborn.axisgrid.JointGrid at 0x7f1d799ffc10&gt;
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;seaborn.axisgrid.JointGrid at 0x7f9c914aef50&gt;
</pre></div>
</div>
<img alt="../_images/81440183e7b7b8c0df05d99a96f03b512184217e3eebf2d010788e69fdbcaf1e.png" src="../_images/81440183e7b7b8c0df05d99a96f03b512184217e3eebf2d010788e69fdbcaf1e.png" />
<img alt="../_images/7f1d114ebd5dc69f6ffee981278b2058bc2c78ca4b6ea7e3ad264388429d3ee5.png" src="../_images/7f1d114ebd5dc69f6ffee981278b2058bc2c78ca4b6ea7e3ad264388429d3ee5.png" />
</div>
</div>
<p>A helper function can compute the number of expected outliers, given the dataset size and assuming a Gaussian distribution of samples.</p>
Expand Down Expand Up @@ -686,13 +687,12 @@ <h2>Outliers<a class="headerlink" href="#outliers" title="Permalink to this head
<div class="cell_output docutils container">
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.
The figure layout has changed to tight
</pre></div>
</div>
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;seaborn.axisgrid.FacetGrid at 0x7f1d79939710&gt;
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;seaborn.axisgrid.FacetGrid at 0x7f9c913e9d10&gt;
</pre></div>
</div>
<img alt="../_images/65546e5489134a0e88075df1688e20ce93eb6c463b52829442738d0a22e629a3.png" src="../_images/65546e5489134a0e88075df1688e20ce93eb6c463b52829442738d0a22e629a3.png" />
<img alt="../_images/c500094f9d5d7fde1b8fc58abf1efa414d71919ccc446115be0cb4500e16ecf4.png" src="../_images/c500094f9d5d7fde1b8fc58abf1efa414d71919ccc446115be0cb4500e16ecf4.png" />
</div>
</div>
<p>This truncated normal distribution has no outliers (there are only about 60, compared to the 100 we expect at this confidence level of 99% on this dataset of 10,000 records).</p>
Expand Down Expand Up @@ -735,13 +735,12 @@ <h2>Clipping<a class="headerlink" href="#clipping" title="Permalink to this head
<div class="cell_output docutils container">
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.
The figure layout has changed to tight
</pre></div>
</div>
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;seaborn.axisgrid.FacetGrid at 0x7f1d799274d0&gt;
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;seaborn.axisgrid.FacetGrid at 0x7f9c913e9cd0&gt;
</pre></div>
</div>
<img alt="../_images/d78e85605ed7b0b7927b040c65b314bea5f357944ad18bb72003f8c4b14217bf.png" src="../_images/d78e85605ed7b0b7927b040c65b314bea5f357944ad18bb72003f8c4b14217bf.png" />
<img alt="../_images/cd5838a765b85cc46ad4d3822253aaa1b0e9802d751724777bec08aee732895f.png" src="../_images/cd5838a765b85cc46ad4d3822253aaa1b0e9802d751724777bec08aee732895f.png" />
</div>
</div>
</section>
Expand Down Expand Up @@ -783,7 +782,7 @@ <h2>Distribution shape<a class="headerlink" href="#distribution-shape" title="Pe
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Distribution(name=&#39;gumbel_r&#39;, shape=[], loc=10.04057253630259, scale=4.93432972751726)
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Distribution(name=&#39;gumbel_r&#39;, shape=[], loc=10.040572536302586, scale=4.93432972751726)
</pre></div>
</div>
</div>
Expand All @@ -797,13 +796,12 @@ <h2>Distribution shape<a class="headerlink" href="#distribution-shape" title="Pe
<div class="cell_output docutils container">
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.
The figure layout has changed to tight
</pre></div>
</div>
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;seaborn.axisgrid.FacetGrid at 0x7f1d79949050&gt;
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;seaborn.axisgrid.FacetGrid at 0x7f9c901a0350&gt;
</pre></div>
</div>
<img alt="../_images/558976e2cc754b438ed5d0491d738798d674f500160ff2db8fc03a486aef34b3.png" src="../_images/558976e2cc754b438ed5d0491d738798d674f500160ff2db8fc03a486aef34b3.png" />
<img alt="../_images/9a24bafc24d9b00917a0e1f2bf75c12f68152f5e5322a8a58a83974f1943cf77.png" src="../_images/9a24bafc24d9b00917a0e1f2bf75c12f68152f5e5322a8a58a83974f1943cf77.png" />
</div>
</div>
</section>
Expand Down Expand Up @@ -846,7 +844,7 @@ <h2>Identical distribution assumption<a class="headerlink" href="#identical-dist
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;Axes: &gt;
</pre></div>
</div>
<img alt="../_images/afb0cffb1cc67720c3d087b054472f7b786720b4164f405e5bfca2f24855f0e6.png" src="../_images/afb0cffb1cc67720c3d087b054472f7b786720b4164f405e5bfca2f24855f0e6.png" />
<img alt="../_images/6b2b81cc835271287d4f26ba612ae8cf33c73595ed36977f340ec66e6a06045e.png" src="../_images/6b2b81cc835271287d4f26ba612ae8cf33c73595ed36977f340ec66e6a06045e.png" />
</div>
</div>
<p>This shows us that the distributions of the PE log in well indices 6 and 7 are somewhat different and may be anomalous. It also suggests that the CROSS H CATTLE well is different from the others.</p>
Expand Down Expand Up @@ -949,7 +947,7 @@ <h2>Feature importance<a class="headerlink" href="#feature-importance" title="Pe
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>array([0.25902843, 0.37002836, 0.27214534, 0.09570146, 0. ])
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>array([0.29846905, 0.3436017 , 0.26735854, 0.08864821, 0. ])
</pre></div>
</div>
</div>
Expand All @@ -976,7 +974,7 @@ <h2>Feature importance<a class="headerlink" href="#feature-importance" title="Pe
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>array([1, 2, 0])
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>array([1, 0, 2])
</pre></div>
</div>
</div>
Expand All @@ -994,7 +992,7 @@ <h2>Feature importance<a class="headerlink" href="#feature-importance" title="Pe
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>array([0.08419825, 0.35895654, 0.53160036, 0.02524486, 0. ])
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>array([0.09299158, 0.36499301, 0.50510961, 0.0369058 , 0. ])
</pre></div>
</div>
</div>
Expand Down
Loading

0 comments on commit 9cace69

Please sign in to comment.