Skip to content

Commit

Permalink
Deploying to gh-pages from @ a3e5e5e 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
kwinkunks committed Sep 28, 2023
1 parent a483b6f commit 9ca1cb1
Show file tree
Hide file tree
Showing 19 changed files with 164 additions and 108 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/environment.pickle
Binary file not shown.
Binary file modified .doctrees/index.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.
Binary file not shown.
22 changes: 11 additions & 11 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.4.0&#39;
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&#39;0.1.dev1+ga3e5e5e&#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 0x7f9d95c6a390&gt;
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;matplotlib.lines.Line2D at 0x7fa5a8b9ddd0&gt;
</pre></div>
</div>
<img alt="../_images/2bb44d03d42247969124582eea41e70bf462d350c4bfaceb853eecf4e89f5d6d.png" src="../_images/2bb44d03d42247969124582eea41e70bf462d350c4bfaceb853eecf4e89f5d6d.png" />
Expand Down Expand Up @@ -630,7 +630,7 @@ <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 0x7f9d5504d390&gt;
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;seaborn.axisgrid.JointGrid at 0x7fa58c9b2690&gt;
</pre></div>
</div>
<img alt="../_images/7f1d114ebd5dc69f6ffee981278b2058bc2c78ca4b6ea7e3ad264388429d3ee5.png" src="../_images/7f1d114ebd5dc69f6ffee981278b2058bc2c78ca4b6ea7e3ad264388429d3ee5.png" />
Expand Down Expand Up @@ -689,10 +689,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.FacetGrid at 0x7f9d54f79690&gt;
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;seaborn.axisgrid.FacetGrid at 0x7fa58c978950&gt;
</pre></div>
</div>
<img alt="../_images/619414c4ee6362a53b781d50e5c574ec0322de8b96d3acf08b678a7b6b5504d6.png" src="../_images/619414c4ee6362a53b781d50e5c574ec0322de8b96d3acf08b678a7b6b5504d6.png" />
<img alt="../_images/450b80bfa0cd04cfa435ed31fc3779e5ef7129d75198face14a30712ac7fdac7.png" src="../_images/450b80bfa0cd04cfa435ed31fc3779e5ef7129d75198face14a30712ac7fdac7.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 @@ -737,7 +737,7 @@ <h2>Clipping<a class="headerlink" href="#clipping" 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.FacetGrid at 0x7f9d54f48d10&gt;
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;seaborn.axisgrid.FacetGrid at 0x7fa58ca48950&gt;
</pre></div>
</div>
<img alt="../_images/cd5838a765b85cc46ad4d3822253aaa1b0e9802d751724777bec08aee732895f.png" src="../_images/cd5838a765b85cc46ad4d3822253aaa1b0e9802d751724777bec08aee732895f.png" />
Expand Down Expand Up @@ -782,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 @@ -798,7 +798,7 @@ <h2>Distribution shape<a class="headerlink" href="#distribution-shape" title="Pe
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 0x7f9d54ce9fd0&gt;
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;seaborn.axisgrid.FacetGrid at 0x7fa58c866d10&gt;
</pre></div>
</div>
<img alt="../_images/9a24bafc24d9b00917a0e1f2bf75c12f68152f5e5322a8a58a83974f1943cf77.png" src="../_images/9a24bafc24d9b00917a0e1f2bf75c12f68152f5e5322a8a58a83974f1943cf77.png" />
Expand Down Expand Up @@ -947,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.48750956, 0.22376372, 0.23550932, 0.05056213, 0. ])
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>array([0.24840897, 0.34972206, 0.32817662, 0.07369235, 0. ])
</pre></div>
</div>
</div>
Expand All @@ -974,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([0, 2, 1])
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>array([1, 2, 0])
</pre></div>
</div>
</div>
Expand All @@ -992,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.10075571, 0.36348681, 0.5105534 , 0.02520408, 0. ])
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>array([0.08955964, 0.35788656, 0.525743 , 0.0268108 , 0. ])
</pre></div>
</div>
</div>
Expand Down
14 changes: 7 additions & 7 deletions _notebooks/Tutorial.html
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ <h2>A quick look at <code class="docutils literal notranslate"><span class="pre"
</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.4.0&#39;
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&#39;0.1.dev1+ga3e5e5e&#39;
</pre></div>
</div>
</div>
Expand Down Expand Up @@ -570,7 +570,7 @@ <h2>Clipping<a class="headerlink" href="#clipping" 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.FacetGrid at 0x7f55b5cbd610&gt;
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;seaborn.axisgrid.FacetGrid at 0x7f4a91901850&gt;
</pre></div>
</div>
<img alt="../_images/cd5838a765b85cc46ad4d3822253aaa1b0e9802d751724777bec08aee732895f.png" src="../_images/cd5838a765b85cc46ad4d3822253aaa1b0e9802d751724777bec08aee732895f.png" />
Expand Down Expand Up @@ -623,7 +623,7 @@ <h2>Importance<a class="headerlink" href="#importance" title="Permalink to this
</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.43341464, 0.16440126, 0.31468974, 0.08749436])
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>array([0.40817216, 0.20385381, 0.31665051, 0.07132352])
</pre></div>
</div>
</div>
Expand Down Expand Up @@ -733,7 +733,7 @@ <h2>Pipelines<a class="headerlink" href="#pipelines" title="Permalink to this he
</pre></div>
</div>
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>🚩 Feature 3 has low importance; check for relevance.
ℹ️ Dummy classifier scores: {&#39;f1&#39;: 0.25488459423559595, &#39;roc_auc&#39;: 0.5} (most_frequent strategy).
ℹ️ Dummy classifier scores: {&#39;f1&#39;: 0.2562046792503389, &#39;roc_auc&#39;: 0.4937139556627474} (stratified strategy).
</pre></div>
</div>
<div class="output text_html"><style>#sk-container-id-3 {color: black;}#sk-container-id-3 pre{padding: 0;}#sk-container-id-3 div.sk-toggleable {background-color: white;}#sk-container-id-3 label.sk-toggleable__label {cursor: pointer;display: block;width: 100%;margin-bottom: 0;padding: 0.3em;box-sizing: border-box;text-align: center;}#sk-container-id-3 label.sk-toggleable__label-arrow:before {content: "▸";float: left;margin-right: 0.25em;color: #696969;}#sk-container-id-3 label.sk-toggleable__label-arrow:hover:before {color: black;}#sk-container-id-3 div.sk-estimator:hover label.sk-toggleable__label-arrow:before {color: black;}#sk-container-id-3 div.sk-toggleable__content {max-height: 0;max-width: 0;overflow: hidden;text-align: left;background-color: #f0f8ff;}#sk-container-id-3 div.sk-toggleable__content pre {margin: 0.2em;color: black;border-radius: 0.25em;background-color: #f0f8ff;}#sk-container-id-3 input.sk-toggleable__control:checked~div.sk-toggleable__content {max-height: 200px;max-width: 100%;overflow: auto;}#sk-container-id-3 input.sk-toggleable__control:checked~label.sk-toggleable__label-arrow:before {content: "▾";}#sk-container-id-3 div.sk-estimator input.sk-toggleable__control:checked~label.sk-toggleable__label {background-color: #d4ebff;}#sk-container-id-3 div.sk-label input.sk-toggleable__control:checked~label.sk-toggleable__label {background-color: #d4ebff;}#sk-container-id-3 input.sk-hidden--visually {border: 0;clip: rect(1px 1px 1px 1px);clip: rect(1px, 1px, 1px, 1px);height: 1px;margin: -1px;overflow: hidden;padding: 0;position: absolute;width: 1px;}#sk-container-id-3 div.sk-estimator {font-family: monospace;background-color: #f0f8ff;border: 1px dotted black;border-radius: 0.25em;box-sizing: border-box;margin-bottom: 0.5em;}#sk-container-id-3 div.sk-estimator:hover {background-color: #d4ebff;}#sk-container-id-3 div.sk-parallel-item::after {content: "";width: 100%;border-bottom: 1px solid gray;flex-grow: 1;}#sk-container-id-3 div.sk-label:hover label.sk-toggleable__label {background-color: #d4ebff;}#sk-container-id-3 div.sk-serial::before {content: "";position: absolute;border-left: 1px solid gray;box-sizing: border-box;top: 0;bottom: 0;left: 50%;z-index: 0;}#sk-container-id-3 div.sk-serial {display: flex;flex-direction: column;align-items: center;background-color: white;padding-right: 0.2em;padding-left: 0.2em;position: relative;}#sk-container-id-3 div.sk-item {position: relative;z-index: 1;}#sk-container-id-3 div.sk-parallel {display: flex;align-items: stretch;justify-content: center;background-color: white;position: relative;}#sk-container-id-3 div.sk-item::before, #sk-container-id-3 div.sk-parallel-item::before {content: "";position: absolute;border-left: 1px solid gray;box-sizing: border-box;top: 0;bottom: 0;left: 50%;z-index: -1;}#sk-container-id-3 div.sk-parallel-item {display: flex;flex-direction: column;z-index: 1;position: relative;background-color: white;}#sk-container-id-3 div.sk-parallel-item:first-child::after {align-self: flex-end;width: 50%;}#sk-container-id-3 div.sk-parallel-item:last-child::after {align-self: flex-start;width: 50%;}#sk-container-id-3 div.sk-parallel-item:only-child::after {width: 0;}#sk-container-id-3 div.sk-dashed-wrapped {border: 1px dashed gray;margin: 0 0.4em 0.5em 0.4em;box-sizing: border-box;padding-bottom: 0.4em;background-color: white;}#sk-container-id-3 div.sk-label label {font-family: monospace;font-weight: bold;display: inline-block;line-height: 1.2em;}#sk-container-id-3 div.sk-label-container {text-align: center;}#sk-container-id-3 div.sk-container {/* jupyter's `normalize.less` sets `[hidden] { display: none; }` but bootstrap.min.css set `[hidden] { display: none !important; }` so we also need the `!important` here to be able to override the default hidden behavior on the sphinx rendered scikit-learn.org. See: https://github.com/scikit-learn/scikit-learn/issues/21755 */display: inline-block !important;position: relative;}#sk-container-id-3 div.sk-text-repr-fallback {display: none;}</style><div id="sk-container-id-3" class="sk-top-container"><div class="sk-text-repr-fallback"><pre>Pipeline(steps=[(&#x27;standardscaler&#x27;, StandardScaler()),
Expand Down Expand Up @@ -974,12 +974,12 @@ <h2>Making your own tests<a class="headerlink" href="#making-your-own-tests" tit
</pre></div>
</div>
<div class="output text_html"><style>#sk-container-id-4 {color: black;}#sk-container-id-4 pre{padding: 0;}#sk-container-id-4 div.sk-toggleable {background-color: white;}#sk-container-id-4 label.sk-toggleable__label {cursor: pointer;display: block;width: 100%;margin-bottom: 0;padding: 0.3em;box-sizing: border-box;text-align: center;}#sk-container-id-4 label.sk-toggleable__label-arrow:before {content: "▸";float: left;margin-right: 0.25em;color: #696969;}#sk-container-id-4 label.sk-toggleable__label-arrow:hover:before {color: black;}#sk-container-id-4 div.sk-estimator:hover label.sk-toggleable__label-arrow:before {color: black;}#sk-container-id-4 div.sk-toggleable__content {max-height: 0;max-width: 0;overflow: hidden;text-align: left;background-color: #f0f8ff;}#sk-container-id-4 div.sk-toggleable__content pre {margin: 0.2em;color: black;border-radius: 0.25em;background-color: #f0f8ff;}#sk-container-id-4 input.sk-toggleable__control:checked~div.sk-toggleable__content {max-height: 200px;max-width: 100%;overflow: auto;}#sk-container-id-4 input.sk-toggleable__control:checked~label.sk-toggleable__label-arrow:before {content: "▾";}#sk-container-id-4 div.sk-estimator input.sk-toggleable__control:checked~label.sk-toggleable__label {background-color: #d4ebff;}#sk-container-id-4 div.sk-label input.sk-toggleable__control:checked~label.sk-toggleable__label {background-color: #d4ebff;}#sk-container-id-4 input.sk-hidden--visually {border: 0;clip: rect(1px 1px 1px 1px);clip: rect(1px, 1px, 1px, 1px);height: 1px;margin: -1px;overflow: hidden;padding: 0;position: absolute;width: 1px;}#sk-container-id-4 div.sk-estimator {font-family: monospace;background-color: #f0f8ff;border: 1px dotted black;border-radius: 0.25em;box-sizing: border-box;margin-bottom: 0.5em;}#sk-container-id-4 div.sk-estimator:hover {background-color: #d4ebff;}#sk-container-id-4 div.sk-parallel-item::after {content: "";width: 100%;border-bottom: 1px solid gray;flex-grow: 1;}#sk-container-id-4 div.sk-label:hover label.sk-toggleable__label {background-color: #d4ebff;}#sk-container-id-4 div.sk-serial::before {content: "";position: absolute;border-left: 1px solid gray;box-sizing: border-box;top: 0;bottom: 0;left: 50%;z-index: 0;}#sk-container-id-4 div.sk-serial {display: flex;flex-direction: column;align-items: center;background-color: white;padding-right: 0.2em;padding-left: 0.2em;position: relative;}#sk-container-id-4 div.sk-item {position: relative;z-index: 1;}#sk-container-id-4 div.sk-parallel {display: flex;align-items: stretch;justify-content: center;background-color: white;position: relative;}#sk-container-id-4 div.sk-item::before, #sk-container-id-4 div.sk-parallel-item::before {content: "";position: absolute;border-left: 1px solid gray;box-sizing: border-box;top: 0;bottom: 0;left: 50%;z-index: -1;}#sk-container-id-4 div.sk-parallel-item {display: flex;flex-direction: column;z-index: 1;position: relative;background-color: white;}#sk-container-id-4 div.sk-parallel-item:first-child::after {align-self: flex-end;width: 50%;}#sk-container-id-4 div.sk-parallel-item:last-child::after {align-self: flex-start;width: 50%;}#sk-container-id-4 div.sk-parallel-item:only-child::after {width: 0;}#sk-container-id-4 div.sk-dashed-wrapped {border: 1px dashed gray;margin: 0 0.4em 0.5em 0.4em;box-sizing: border-box;padding-bottom: 0.4em;background-color: white;}#sk-container-id-4 div.sk-label label {font-family: monospace;font-weight: bold;display: inline-block;line-height: 1.2em;}#sk-container-id-4 div.sk-label-container {text-align: center;}#sk-container-id-4 div.sk-container {/* jupyter's `normalize.less` sets `[hidden] { display: none; }` but bootstrap.min.css set `[hidden] { display: none !important; }` so we also need the `!important` here to be able to override the default hidden behavior on the sphinx rendered scikit-learn.org. See: https://github.com/scikit-learn/scikit-learn/issues/21755 */display: inline-block !important;position: relative;}#sk-container-id-4 div.sk-text-repr-fallback {display: none;}</style><div id="sk-container-id-4" class="sk-top-container"><div class="sk-text-repr-fallback"><pre>Pipeline(steps=[(&#x27;detector&#x27;,
Detector(func=&lt;function BaseRedflagDetector.__init__.&lt;locals&gt;.&lt;lambda&gt; at 0x7f55b5bd7c40&gt;,
Detector(func=&lt;function BaseRedflagDetector.__init__.&lt;locals&gt;.&lt;lambda&gt; at 0x7f4a917bfce0&gt;,
message=&#x27;are negative&#x27;)),
(&#x27;svc&#x27;, SVC())])</pre><b>In a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook. <br />On GitHub, the HTML representation is unable to render, please try loading this page with nbviewer.org.</b></div><div class="sk-container" hidden><div class="sk-item sk-dashed-wrapped"><div class="sk-label-container"><div class="sk-label sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="sk-estimator-id-34" type="checkbox" ><label for="sk-estimator-id-34" class="sk-toggleable__label sk-toggleable__label-arrow">Pipeline</label><div class="sk-toggleable__content"><pre>Pipeline(steps=[(&#x27;detector&#x27;,
Detector(func=&lt;function BaseRedflagDetector.__init__.&lt;locals&gt;.&lt;lambda&gt; at 0x7f55b5bd7c40&gt;,
Detector(func=&lt;function BaseRedflagDetector.__init__.&lt;locals&gt;.&lt;lambda&gt; at 0x7f4a917bfce0&gt;,
message=&#x27;are negative&#x27;)),
(&#x27;svc&#x27;, SVC())])</pre></div></div></div><div class="sk-serial"><div class="sk-item"><div class="sk-estimator sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="sk-estimator-id-35" type="checkbox" ><label for="sk-estimator-id-35" class="sk-toggleable__label sk-toggleable__label-arrow">Detector</label><div class="sk-toggleable__content"><pre>Detector(func=&lt;function BaseRedflagDetector.__init__.&lt;locals&gt;.&lt;lambda&gt; at 0x7f55b5bd7c40&gt;,
(&#x27;svc&#x27;, SVC())])</pre></div></div></div><div class="sk-serial"><div class="sk-item"><div class="sk-estimator sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="sk-estimator-id-35" type="checkbox" ><label for="sk-estimator-id-35" class="sk-toggleable__label sk-toggleable__label-arrow">Detector</label><div class="sk-toggleable__content"><pre>Detector(func=&lt;function BaseRedflagDetector.__init__.&lt;locals&gt;.&lt;lambda&gt; at 0x7f4a917bfce0&gt;,
message=&#x27;are negative&#x27;)</pre></div></div></div><div class="sk-item"><div class="sk-estimator sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="sk-estimator-id-36" type="checkbox" ><label for="sk-estimator-id-36" class="sk-toggleable__label sk-toggleable__label-arrow">SVC</label><div class="sk-toggleable__content"><pre>SVC()</pre></div></div></div></div></div></div></div></div></div>
</div>
<p>The noise feature we added has negative values; the others are all positive, which is what we expect for these data.</p>
Expand Down
Loading

0 comments on commit 9ca1cb1

Please sign in to comment.