Skip to content

Commit

Permalink
added AIDS ex. for bin class; added html versions for all ex.
Browse files Browse the repository at this point in the history
  • Loading branch information
lshpaner committed Aug 27, 2024
1 parent 7f99b20 commit 28897d4
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 17 deletions.
2 changes: 1 addition & 1 deletion docs/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 275394cdabd58f3ee2180aed5604f5f1
config: 691bee518231b36cb64a7380dd315628
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file modified docs/.doctrees/about.doctree
Binary file not shown.
Binary file modified docs/.doctrees/changelog.doctree
Binary file not shown.
Binary file modified docs/.doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/.doctrees/getting_started.doctree
Binary file not shown.
Binary file modified docs/.doctrees/index.doctree
Binary file not shown.
Binary file modified docs/.doctrees/references.doctree
Binary file not shown.
Binary file modified docs/.doctrees/usage_guide.doctree
Binary file not shown.
8 changes: 4 additions & 4 deletions docs/_sources/usage_guide.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ Binary Classification Examples

- .. raw:: html

<a href="C:/Users/lshpaner/Documents/Python_Projects/model_tuner/notebooks/Model_Tuner_Binary_Classification_AIDS_Clinical_Trials.html" target="_blank">Binary Classification: AIDS Clinical Trials HTML File</a>
<a href="notebooks/Model_Tuner_Binary_Classification_AIDS_Clinical_Trials.html" target="_blank">Binary Classification: AIDS Clinical Trials HTML File</a>

- .. raw:: html

<a href="C:/Users/lshpaner/Documents/Python_Projects/model_tuner/notebooks/Model_Tuner_Binary_Classification_Breast_Cancer_Example.html" target="_blank">Binary Classification: Breast Cancer HTML File</a>
<a href="notebooks/Model_Tuner_Binary_Classification_Breast_Cancer_Example.html" target="_blank">Binary Classification: Breast Cancer HTML File</a>



Expand All @@ -58,7 +58,7 @@ Column Transformer Example

- .. raw:: html

<a href="C:/Users/lshpaner/Documents/Python_Projects/model_tuner/notebooks/Model_Tuner_ColumnTransformer.html" target="_blank">Column Transformer</a>
<a href="notebooks/Model_Tuner_ColumnTransformer.html" target="_blank">Column Transformer</a>


Regression Example
Expand All @@ -72,7 +72,7 @@ Regression Example

- .. raw:: html

<a href="C:/Users/lshpaner/Documents/Python_Projects/model_tuner/notebooks/Model_Tuner_Regression_Redfin_Real_Estate.html" target="_blank">Column Transformer</a>
<a href="notebooks/Model_Tuner_Regression_Redfin_Real_Estate.html" target="_blank">Column Transformer</a>



Expand Down
7 changes: 4 additions & 3 deletions docs/_static/searchtools.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ const Search = {

htmlToText: (htmlString, anchor) => {
const htmlElement = new DOMParser().parseFromString(htmlString, 'text/html');
for (const removalQuery of [".headerlinks", "script", "style"]) {
for (const removalQuery of [".headerlink", "script", "style"]) {
htmlElement.querySelectorAll(removalQuery).forEach((el) => { el.remove() });
}
if (anchor) {
Expand Down Expand Up @@ -328,13 +328,14 @@ const Search = {
for (const [title, foundTitles] of Object.entries(allTitles)) {
if (title.toLowerCase().trim().includes(queryLower) && (queryLower.length >= title.length/2)) {
for (const [file, id] of foundTitles) {
let score = Math.round(100 * queryLower.length / title.length)
const score = Math.round(Scorer.title * queryLower.length / title.length);
const boost = titles[file] === title ? 1 : 0; // add a boost for document titles
normalResults.push([
docNames[file],
titles[file] !== title ? `${titles[file]} > ${title}` : title,
id !== null ? "#" + id : "",
null,
score,
score + boost,
filenames[file],
]);
}
Expand Down
6 changes: 1 addition & 5 deletions docs/searchindex.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/usage_guide.html
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ <h2>Binary Classification Examples<a class="headerlink" href="#binary-classifica
</ul>
<p><strong>HTML Files</strong></p>
<ul>
<li><a href="C:/Users/lshpaner/Documents/Python_Projects/model_tuner/notebooks/Model_Tuner_Binary_Classification_AIDS_Clinical_Trials.html" target="_blank">Binary Classification: AIDS Clinical Trials HTML File</a></li>
<li><a href="C:/Users/lshpaner/Documents/Python_Projects/model_tuner/notebooks/Model_Tuner_Binary_Classification_Breast_Cancer_Example.html" target="_blank">Binary Classification: Breast Cancer HTML File</a></li>
<li><a href="notebooks/Model_Tuner_Binary_Classification_AIDS_Clinical_Trials.html" target="_blank">Binary Classification: AIDS Clinical Trials HTML File</a></li>
<li><a href="notebooks/Model_Tuner_Binary_Classification_Breast_Cancer_Example.html" target="_blank">Binary Classification: Breast Cancer HTML File</a></li>
</ul>
</div></blockquote>
</section>
Expand All @@ -187,7 +187,7 @@ <h2>Column Transformer Example<a class="headerlink" href="#column-transformer-ex
</ul>
<p><strong>HTML File</strong></p>
<ul>
<li><a href="C:/Users/lshpaner/Documents/Python_Projects/model_tuner/notebooks/Model_Tuner_ColumnTransformer.html" target="_blank">Column Transformer</a></li>
<li><a href="notebooks/Model_Tuner_ColumnTransformer.html" target="_blank">Column Transformer</a></li>
</ul>
</div></blockquote>
</section>
Expand All @@ -200,7 +200,7 @@ <h2>Regression Example<a class="headerlink" href="#regression-example" title="Li
</ul>
<p><strong>HTML File</strong></p>
<ul>
<li><a href="C:/Users/lshpaner/Documents/Python_Projects/model_tuner/notebooks/Model_Tuner_Regression_Redfin_Real_Estate.html" target="_blank">Column Transformer</a></li>
<li><a href="notebooks/Model_Tuner_Regression_Redfin_Real_Estate.html" target="_blank">Column Transformer</a></li>
</ul>
</div></blockquote>
</section>
Expand Down

0 comments on commit 28897d4

Please sign in to comment.