Skip to content

Commit

Permalink
add genetic generator
Browse files Browse the repository at this point in the history
  • Loading branch information
LoSpino87 committed Jan 30, 2024
1 parent f70834a commit aa5cf10
Show file tree
Hide file tree
Showing 68 changed files with 14,701 additions and 2,103 deletions.
Binary file modified docs/_build/doctrees/environment.pickle
Binary file not shown.
55 changes: 29 additions & 26 deletions docs/html/_modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
<script data-url_root="../" id="documentation_options" src="../_static/documentation_options.js"></script>
<script src="../_static/jquery.js"></script>
<script src="../_static/underscore.js"></script>
<script src="../_static/_sphinx_javascript_frameworks_compat.js"></script>
<script src="../_static/doctools.js"></script>
<script src="../_static/js/theme.js"></script>
<link rel="index" title="Index" href="../genindex.html" />
Expand Down Expand Up @@ -42,6 +41,32 @@
</div>
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
<ul>
<li class="toctree-l1"><a class="reference internal" href="../get_started.html">Get started</a></li>
<li class="toctree-l1"><a class="reference internal" href="../examples/tabular_explanations_example.html">Tabular explanation</a><ul>
<li class="toctree-l2"><a class="reference internal" href="../examples/tabular_explanations_example.html#learning-and-explaining-german-credit-dataset">Learning and explaining German Credit Dataset</a></li>
<li class="toctree-l2"><a class="reference internal" href="../examples/tabular_explanations_example.html#loading-and-preparation-of-data">Loading and preparation of data</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../examples/tabular_explanations_example.html#learning-a-random-forest-classfier">Learning a Random Forest classfier</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../examples/tabular_explanations_example.html#explaining-the-prediction">Explaining the prediction</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../examples/tabular_explanations_example.html#shap-explainer">SHAP explainer</a></li>
<li class="toctree-l3"><a class="reference internal" href="../examples/tabular_explanations_example.html#lore-explainer">LORE explainer</a></li>
<li class="toctree-l3"><a class="reference internal" href="../examples/tabular_explanations_example.html#lime-explainer">LIME explainer</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../examples/tabular_explanations_example.html#learning-a-different-model">Learning a different model</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../examples/tabular_explanations_example.html#learning-a-logistic-regressor">Learning a Logistic Regressor</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../examples/tabular_explanations_example.html#id1">Explaining the prediction</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../examples/tabular_explanations_example.html#id2">LORE explainer</a></li>
<li class="toctree-l3"><a class="reference internal" href="../examples/tabular_explanations_example.html#id3">LIME explainer</a></li>
</ul>
</li>
</ul>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../source/modules.html">Modules</a><ul>
<li class="toctree-l2"><a class="reference internal" href="../source/modules.html#lore-sa-bbox-blackbox-abstract-class"><code class="xref py py-mod docutils literal notranslate"><span class="pre">lore_sa.bbox</span></code>: BlackBox abstract class</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../source/generated/lore_sa.bbox.AbstractBBox.html">lore_sa.bbox.AbstractBBox</a></li>
Expand All @@ -55,6 +80,7 @@
</li>
<li class="toctree-l2"><a class="reference internal" href="../source/modules.html#lore-sa-neighgen-neighborhood-generator-classes"><code class="xref py py-mod docutils literal notranslate"><span class="pre">lore_sa.neighgen</span></code>: Neighborhood Generator classes</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../source/generated/lore_sa.neighgen.RandomGenerator.html">lore_sa.neighgen.RandomGenerator</a></li>
<li class="toctree-l3"><a class="reference internal" href="../source/generated/lore_sa.neighgen.GeneticGenerator.html">lore_sa.neighgen.GeneticGenerator</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../source/modules.html#lore-sa-discretizer-discretizer-classes-and-functions"><code class="xref py py-mod docutils literal notranslate"><span class="pre">lore_sa.discretizer</span></code>: Discretizer classes and functions</a><ul>
Expand Down Expand Up @@ -97,31 +123,6 @@
</li>
</ul>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../examples/tabular_explanations_example.html">Tabular explanation</a><ul>
<li class="toctree-l2"><a class="reference internal" href="../examples/tabular_explanations_example.html#learning-and-explaining-german-credit-dataset">Learning and explaining German Credit Dataset</a></li>
<li class="toctree-l2"><a class="reference internal" href="../examples/tabular_explanations_example.html#loading-and-preparation-of-data">Loading and preparation of data</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../examples/tabular_explanations_example.html#learning-a-random-forest-classfier">Learning a Random Forest classfier</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../examples/tabular_explanations_example.html#explaining-the-prediction">Explaining the prediction</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../examples/tabular_explanations_example.html#shap-explainer">SHAP explainer</a></li>
<li class="toctree-l3"><a class="reference internal" href="../examples/tabular_explanations_example.html#lore-explainer">LORE explainer</a></li>
<li class="toctree-l3"><a class="reference internal" href="../examples/tabular_explanations_example.html#lime-explainer">LIME explainer</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../examples/tabular_explanations_example.html#learning-a-different-model">Learning a different model</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../examples/tabular_explanations_example.html#learning-a-logistic-regressor">Learning a Logistic Regressor</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../examples/tabular_explanations_example.html#id1">Explaining the prediction</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../examples/tabular_explanations_example.html#id2">LORE explainer</a></li>
<li class="toctree-l3"><a class="reference internal" href="../examples/tabular_explanations_example.html#id3">LIME explainer</a></li>
</ul>
</li>
</ul>
</li>
</ul>

</div>
Expand Down Expand Up @@ -158,6 +159,8 @@ <h1>All modules for which code is available</h1>
<li><a href="lore_sa/encoder_decoder/one_hot_enc.html">lore_sa.encoder_decoder.one_hot_enc</a></li>
<li><a href="lore_sa/encoder_decoder/tabular_encoder.html">lore_sa.encoder_decoder.tabular_encoder</a></li>
<li><a href="lore_sa/explanation.html">lore_sa.explanation</a></li>
<li><a href="lore_sa/neighgen/genetic.html">lore_sa.neighgen.genetic</a></li>
<li><a href="lore_sa/neighgen/neighborhood_generator.html">lore_sa.neighgen.neighborhood_generator</a></li>
<li><a href="lore_sa/neighgen/random.html">lore_sa.neighgen.random</a></li>
<li><a href="lore_sa/rule.html">lore_sa.rule</a></li>
<li><a href="lore_sa/surrogate/decision_tree.html">lore_sa.surrogate.decision_tree</a></li>
Expand Down
53 changes: 27 additions & 26 deletions docs/html/_modules/lore_sa/bbox/bbox.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
<script data-url_root="../../../" id="documentation_options" src="../../../_static/documentation_options.js"></script>
<script src="../../../_static/jquery.js"></script>
<script src="../../../_static/underscore.js"></script>
<script src="../../../_static/_sphinx_javascript_frameworks_compat.js"></script>
<script src="../../../_static/doctools.js"></script>
<script src="../../../_static/js/theme.js"></script>
<link rel="index" title="Index" href="../../../genindex.html" />
Expand Down Expand Up @@ -42,6 +41,32 @@
</div>
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../../get_started.html">Get started</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../examples/tabular_explanations_example.html">Tabular explanation</a><ul>
<li class="toctree-l2"><a class="reference internal" href="../../../examples/tabular_explanations_example.html#learning-and-explaining-german-credit-dataset">Learning and explaining German Credit Dataset</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../../examples/tabular_explanations_example.html#loading-and-preparation-of-data">Loading and preparation of data</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../../../examples/tabular_explanations_example.html#learning-a-random-forest-classfier">Learning a Random Forest classfier</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../../../examples/tabular_explanations_example.html#explaining-the-prediction">Explaining the prediction</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../../../examples/tabular_explanations_example.html#shap-explainer">SHAP explainer</a></li>
<li class="toctree-l3"><a class="reference internal" href="../../../examples/tabular_explanations_example.html#lore-explainer">LORE explainer</a></li>
<li class="toctree-l3"><a class="reference internal" href="../../../examples/tabular_explanations_example.html#lime-explainer">LIME explainer</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../../../examples/tabular_explanations_example.html#learning-a-different-model">Learning a different model</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../../../examples/tabular_explanations_example.html#learning-a-logistic-regressor">Learning a Logistic Regressor</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../../../examples/tabular_explanations_example.html#id1">Explaining the prediction</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../../../examples/tabular_explanations_example.html#id2">LORE explainer</a></li>
<li class="toctree-l3"><a class="reference internal" href="../../../examples/tabular_explanations_example.html#id3">LIME explainer</a></li>
</ul>
</li>
</ul>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../../source/modules.html">Modules</a><ul>
<li class="toctree-l2"><a class="reference internal" href="../../../source/modules.html#lore-sa-bbox-blackbox-abstract-class"><code class="xref py py-mod docutils literal notranslate"><span class="pre">lore_sa.bbox</span></code>: BlackBox abstract class</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../../../source/generated/lore_sa.bbox.AbstractBBox.html">lore_sa.bbox.AbstractBBox</a></li>
Expand All @@ -55,6 +80,7 @@
</li>
<li class="toctree-l2"><a class="reference internal" href="../../../source/modules.html#lore-sa-neighgen-neighborhood-generator-classes"><code class="xref py py-mod docutils literal notranslate"><span class="pre">lore_sa.neighgen</span></code>: Neighborhood Generator classes</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../../../source/generated/lore_sa.neighgen.RandomGenerator.html">lore_sa.neighgen.RandomGenerator</a></li>
<li class="toctree-l3"><a class="reference internal" href="../../../source/generated/lore_sa.neighgen.GeneticGenerator.html">lore_sa.neighgen.GeneticGenerator</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../../../source/modules.html#lore-sa-discretizer-discretizer-classes-and-functions"><code class="xref py py-mod docutils literal notranslate"><span class="pre">lore_sa.discretizer</span></code>: Discretizer classes and functions</a><ul>
Expand Down Expand Up @@ -97,31 +123,6 @@
</li>
</ul>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../../examples/tabular_explanations_example.html">Tabular explanation</a><ul>
<li class="toctree-l2"><a class="reference internal" href="../../../examples/tabular_explanations_example.html#learning-and-explaining-german-credit-dataset">Learning and explaining German Credit Dataset</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../../examples/tabular_explanations_example.html#loading-and-preparation-of-data">Loading and preparation of data</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../../../examples/tabular_explanations_example.html#learning-a-random-forest-classfier">Learning a Random Forest classfier</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../../../examples/tabular_explanations_example.html#explaining-the-prediction">Explaining the prediction</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../../../examples/tabular_explanations_example.html#shap-explainer">SHAP explainer</a></li>
<li class="toctree-l3"><a class="reference internal" href="../../../examples/tabular_explanations_example.html#lore-explainer">LORE explainer</a></li>
<li class="toctree-l3"><a class="reference internal" href="../../../examples/tabular_explanations_example.html#lime-explainer">LIME explainer</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../../../examples/tabular_explanations_example.html#learning-a-different-model">Learning a different model</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../../../examples/tabular_explanations_example.html#learning-a-logistic-regressor">Learning a Logistic Regressor</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../../../examples/tabular_explanations_example.html#id1">Explaining the prediction</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../../../examples/tabular_explanations_example.html#id2">LORE explainer</a></li>
<li class="toctree-l3"><a class="reference internal" href="../../../examples/tabular_explanations_example.html#id3">LIME explainer</a></li>
</ul>
</li>
</ul>
</li>
</ul>

</div>
Expand Down
Loading

0 comments on commit aa5cf10

Please sign in to comment.