Skip to content

Commit

Permalink
Deploying to gh-pages from @ 4fa1716 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
kwinkunks committed Oct 2, 2023
1 parent 7b65ba5 commit 19d966b
Show file tree
Hide file tree
Showing 23 changed files with 137 additions and 97 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 modified .doctrees/_notebooks/Using_redflag_with_Pandas.doctree
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/redflag.doctree
Binary file not shown.
Binary file not shown.
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.
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.
65 changes: 13 additions & 52 deletions _notebooks/Basic_usage.html
Original file line number Diff line number Diff line change
Expand Up @@ -241,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.1.dev1+ge232c7c&#39;
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&#39;0.4.1rc1&#39;
</pre></div>
</div>
</div>
Expand Down Expand Up @@ -547,7 +547,7 @@ <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 0x7f7e9504d850&gt;
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;matplotlib.lines.Line2D at 0x7fc404164a90&gt;
</pre></div>
</div>
<img alt="../_images/2bb44d03d42247969124582eea41e70bf462d350c4bfaceb853eecf4e89f5d6d.png" src="../_images/2bb44d03d42247969124582eea41e70bf462d350c4bfaceb853eecf4e89f5d6d.png" />
Expand All @@ -568,7 +568,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>array([ 301, 302, 303, 415, 416, 417, 418, 799, 896, 897, 898,
899, 996, 997, 1843, 1844, 2278, 2279, 2280, 2638, 2639, 2640,
2641, 2642, 2643, 2920, 2921, 2922, 3070, 3071, 3074, 3075, 3076,
3079, 3080, 3081, 3580, 3581, 3582, 3583])
3078, 3079, 3080, 3580, 3581, 3582, 3583])
</pre></div>
</div>
</div>
Expand All @@ -584,16 +584,10 @@ <h2>Outliers<a class="headerlink" href="#outliers" title="Permalink to this head
</div>
</div>
<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.
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.
</pre></div>
</div>
<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/189e714bdbe64f6e2b2407adf9c51e93f35691cfd08985926c07cc7c4c5d6806.png" src="../_images/189e714bdbe64f6e2b2407adf9c51e93f35691cfd08985926c07cc7c4c5d6806.png" />
<img alt="../_images/a340233ba17c1e5eb62e85cf1fdb9ebc0367fe61b55cffeb57d41f7c7db84667.png" src="../_images/a340233ba17c1e5eb62e85cf1fdb9ebc0367fe61b55cffeb57d41f7c7db84667.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 All @@ -609,31 +603,10 @@ <h2>Outliers<a class="headerlink" href="#outliers" title="Permalink to this head
</div>
</div>
<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
is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
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.
is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
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.
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;seaborn.axisgrid.JointGrid at 0x7fc3c9b15910&gt;
</pre></div>
</div>
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;seaborn.axisgrid.JointGrid at 0x7f7e91248350&gt;
</pre></div>
</div>
<img alt="../_images/7f1d114ebd5dc69f6ffee981278b2058bc2c78ca4b6ea7e3ad264388429d3ee5.png" src="../_images/7f1d114ebd5dc69f6ffee981278b2058bc2c78ca4b6ea7e3ad264388429d3ee5.png" />
<img alt="../_images/fbe902fd7056f82aa6ff7f740256c9ab3e4a526481a6e89669e46c063226410f.png" src="../_images/fbe902fd7056f82aa6ff7f740256c9ab3e4a526481a6e89669e46c063226410f.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 @@ -685,14 +658,10 @@ <h2>Outliers<a class="headerlink" href="#outliers" title="Permalink to this head
</div>
</div>
<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.
</pre></div>
</div>
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;seaborn.axisgrid.FacetGrid at 0x7f7e91517650&gt;
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;seaborn.axisgrid.FacetGrid at 0x7fc3c7a0a050&gt;
</pre></div>
</div>
<img alt="../_images/6926060aa195d27441afba5d0c6c6c783ce469934bee1334c3a1576c21d8671a.png" src="../_images/6926060aa195d27441afba5d0c6c6c783ce469934bee1334c3a1576c21d8671a.png" />
<img alt="../_images/78b326006b369ba59c19b37269b57966149c2078a5c958af7c31e2a866e47b68.png" src="../_images/78b326006b369ba59c19b37269b57966149c2078a5c958af7c31e2a866e47b68.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 @@ -733,11 +702,7 @@ <h2>Clipping<a class="headerlink" href="#clipping" title="Permalink to this head
</div>
</div>
<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.
</pre></div>
</div>
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;seaborn.axisgrid.FacetGrid at 0x7f7e9118cb10&gt;
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;seaborn.axisgrid.FacetGrid at 0x7fc3c9b1b290&gt;
</pre></div>
</div>
<img alt="../_images/cd5838a765b85cc46ad4d3822253aaa1b0e9802d751724777bec08aee732895f.png" src="../_images/cd5838a765b85cc46ad4d3822253aaa1b0e9802d751724777bec08aee732895f.png" />
Expand Down Expand Up @@ -794,11 +759,7 @@ <h2>Distribution shape<a class="headerlink" href="#distribution-shape" title="Pe
</div>
</div>
<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.
</pre></div>
</div>
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;seaborn.axisgrid.FacetGrid at 0x7f7e90fb70d0&gt;
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;seaborn.axisgrid.FacetGrid at 0x7fc3c57fe850&gt;
</pre></div>
</div>
<img alt="../_images/9a24bafc24d9b00917a0e1f2bf75c12f68152f5e5322a8a58a83974f1943cf77.png" src="../_images/9a24bafc24d9b00917a0e1f2bf75c12f68152f5e5322a8a58a83974f1943cf77.png" />
Expand Down Expand Up @@ -947,7 +908,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.27066275, 0.37373081, 0.30116304, 0.04411356, 0. ])
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>array([0.25468622, 0.31612339, 0.34878357, 0.07159437, 0. ])
</pre></div>
</div>
</div>
Expand All @@ -974,7 +935,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([2, 1, 0])
</pre></div>
</div>
</div>
Expand All @@ -992,7 +953,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.08660013, 0.35794204, 0.52263576, 0.03282207, 0. ])
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>array([0.09156698, 0.36541869, 0.51196039, 0.03105394, 0. ])
</pre></div>
</div>
</div>
Expand Down
Loading

0 comments on commit 19d966b

Please sign in to comment.