Skip to content

Commit

Permalink
Built site for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Quarto GHA Workflow Runner committed Jan 31, 2025
1 parent eaebaaf commit 41426a4
Show file tree
Hide file tree
Showing 10 changed files with 77 additions and 81 deletions.
2 changes: 1 addition & 1 deletion .nojekyll
Original file line number Diff line number Diff line change
@@ -1 +1 @@
c1c94a68
0b21efc4
18 changes: 9 additions & 9 deletions 250_Projects/project3.html
Original file line number Diff line number Diff line change
Expand Up @@ -4876,7 +4876,7 @@ <h2 id="toc-title">On this page</h2>
<li><a href="#stretch-questiontask-2" id="toc-stretch-questiontask-2">STRETCH QUESTION|TASK 2</a></li>
</ul>
<div class="toc-actions"><ul><li><a href="https://github.com/byuidatascience/course_work_portfolio/issues/new" class="toc-action"><i class="bi bi-github"></i>Report an issue</a></li></ul></div></nav>
<div id="9bbfea9e" class="cell" data-execution_count="1">
<div id="40c3255b" class="cell" data-execution_count="1">
<details class="code-fold">
<summary>Show the code</summary>
<div class="sourceCode cell-code" id="cb1"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="im">import</span> pandas <span class="im">as</span> pd </span>
Expand All @@ -4887,7 +4887,7 @@ <h2 id="toc-title">On this page</h2>
<span id="cb1-6"><a href="#cb1-6" aria-hidden="true" tabindex="-1"></a>LetsPlot.setup_html(isolated_frame<span class="op">=</span><span class="va">True</span>)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
</details>
</div>
<div id="b76ed6d4" class="cell" data-execution_count="2">
<div id="b22b3d82" class="cell" data-execution_count="2">
<details class="code-fold">
<summary>Show the code</summary>
<div class="sourceCode cell-code" id="cb2"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="co"># Learn morea about Code Cells: https://quarto.org/docs/reference/cells/cells-jupyter.html</span></span>
Expand All @@ -4907,7 +4907,7 @@ <h2 class="anchored" data-anchor-id="elevator-pitch">Elevator pitch</h2>
<h2 class="anchored" data-anchor-id="questiontask-1">QUESTION|TASK 1</h2>
<p><strong>Write an SQL query to create a new dataframe about baseball players who attended BYU-Idaho. The new table should contain five columns: playerID, schoolID, salary, and the yearID/teamID associated with each salary. Order the table by salary (highest to lowest) and print out the table in your report.</strong></p>
<p><em>type your results and analysis here</em></p>
<div id="361c7d46" class="cell" data-execution_count="3">
<div id="29c1b330" class="cell" data-execution_count="3">
<details class="code-fold">
<summary>Show the code</summary>
<div class="sourceCode cell-code" id="cb3"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a><span class="co"># Include and execute your code here</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
Expand All @@ -4921,19 +4921,19 @@ <h2 class="anchored" data-anchor-id="questiontask-2">QUESTION|TASK 2</h2>
a. Use the same query as above, but only include players with at least 10 at bats that year. Print the top 5 results.<br>
a. Now calculate the batting average for players over their entire careers (all years combined). Only include players with at least 100 at bats, and print the top 5 results.</p>
<p><em>type your results and analysis here</em></p>
<div id="40227477" class="cell" data-execution_count="4">
<div id="31bbb387" class="cell" data-execution_count="4">
<details class="code-fold">
<summary>Show the code</summary>
<div class="sourceCode cell-code" id="cb4"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb4-1"><a href="#cb4-1" aria-hidden="true" tabindex="-1"></a><span class="co"># Include and execute your code here</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
</details>
</div>
<div id="2f49e60c" class="cell" data-execution_count="5">
<div id="712242a4" class="cell" data-execution_count="5">
<details class="code-fold">
<summary>Show the code</summary>
<div class="sourceCode cell-code" id="cb5"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a><span class="co"># Include and execute your code here</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
</details>
</div>
<div id="6fa6dd2e" class="cell" data-execution_count="6">
<div id="6900c550" class="cell" data-execution_count="6">
<details class="code-fold">
<summary>Show the code</summary>
<div class="sourceCode cell-code" id="cb6"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb6-1"><a href="#cb6-1" aria-hidden="true" tabindex="-1"></a><span class="co"># Include and execute your code here</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
Expand All @@ -4944,7 +4944,7 @@ <h2 class="anchored" data-anchor-id="questiontask-2">QUESTION|TASK 2</h2>
<h2 class="anchored" data-anchor-id="questiontask-3">QUESTION|TASK 3</h2>
<p><strong>Pick any two baseball teams and compare them using a metric of your choice (average salary, home runs, number of wins, etc). Write an SQL query to get the data you need, then make a graph using Lets-Plot to visualize the comparison. What do you learn?</strong></p>
<p><em>type your results and analysis here</em></p>
<div id="24586271" class="cell" data-execution_count="7">
<div id="ac7bf4bf" class="cell" data-execution_count="7">
<details class="code-fold">
<summary>Show the code</summary>
<div class="sourceCode cell-code" id="cb7"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb7-1"><a href="#cb7-1" aria-hidden="true" tabindex="-1"></a><span class="co"># Include and execute your code here</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
Expand Down Expand Up @@ -4973,7 +4973,7 @@ <h2 class="anchored" data-anchor-id="stretch-questiontask-1">STRETCH QUESTION|TA
* Order the table by average salary in descending order.
* Print the top 10 rows of this summary table. </code></pre>
<p><em>type your results and analysis here</em></p>
<div id="73d04f12" class="cell" data-execution_count="8">
<div id="24a798ce" class="cell" data-execution_count="8">
<details class="code-fold">
<summary>Show the code</summary>
<div class="sourceCode cell-code" id="cb9"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb9-1"><a href="#cb9-1" aria-hidden="true" tabindex="-1"></a><span class="co"># Include and execute your code here</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
Expand All @@ -4992,7 +4992,7 @@ <h2 class="anchored" data-anchor-id="stretch-questiontask-2">STRETCH QUESTION|TA

* The career_length should be calculated as the difference between the maximum and minimum yearID for each player. </code></pre>
<p><em>type your results and analysis here</em></p>
<div id="a98c77fa" class="cell" data-execution_count="9">
<div id="771f18d9" class="cell" data-execution_count="9">
<details class="code-fold">
<summary>Show the code</summary>
<div class="sourceCode cell-code" id="cb11"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb11-1"><a href="#cb11-1" aria-hidden="true" tabindex="-1"></a><span class="co"># Include and execute your code here</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
Expand Down
18 changes: 9 additions & 9 deletions 250_Projects/project4.html
Original file line number Diff line number Diff line change
Expand Up @@ -4878,7 +4878,7 @@ <h2 id="toc-title">On this page</h2>
<li><a href="#stretch-questiontask-3" id="toc-stretch-questiontask-3">STRETCH QUESTION|TASK 3</a></li>
</ul>
<div class="toc-actions"><ul><li><a href="https://github.com/byuidatascience/course_work_portfolio/issues/new" class="toc-action"><i class="bi bi-github"></i>Report an issue</a></li></ul></div></nav>
<div id="1b2c75e9" class="cell" data-execution_count="1">
<div id="6d3d34da" class="cell" data-execution_count="1">
<details class="code-fold">
<summary>Show the code</summary>
<div class="sourceCode cell-code" id="cb1"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="im">import</span> pandas <span class="im">as</span> pd </span>
Expand All @@ -4889,7 +4889,7 @@ <h2 id="toc-title">On this page</h2>
<span id="cb1-6"><a href="#cb1-6" aria-hidden="true" tabindex="-1"></a>LetsPlot.setup_html(isolated_frame<span class="op">=</span><span class="va">True</span>)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
</details>
</div>
<div id="05693d05" class="cell" data-execution_count="2">
<div id="9c35cde1" class="cell" data-execution_count="2">
<details class="code-fold">
<summary>Show the code</summary>
<div class="sourceCode cell-code" id="cb2"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="co"># Learn morea about Code Cells: https://quarto.org/docs/reference/cells/cells-jupyter.html</span></span>
Expand All @@ -4908,7 +4908,7 @@ <h2 class="anchored" data-anchor-id="elevator-pitch">Elevator pitch</h2>
<h2 class="anchored" data-anchor-id="questiontask-1">QUESTION|TASK 1</h2>
<p><strong>Create 2-3 charts that evaluate potential relationships between the home variables and <code>before1980</code>.</strong> Explain what you learn from the charts that could help a machine learning algorithm.</p>
<p><em>type your results and analysis here</em></p>
<div id="620b7c56" class="cell" data-execution_count="3">
<div id="a4bb7e03" class="cell" data-execution_count="3">
<details class="code-fold">
<summary>Show the code</summary>
<div class="sourceCode cell-code" id="cb3"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a><span class="co"># Include and execute your code here</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
Expand All @@ -4919,7 +4919,7 @@ <h2 class="anchored" data-anchor-id="questiontask-1">QUESTION|TASK 1</h2>
<h2 class="anchored" data-anchor-id="questiontask-2">QUESTION|TASK 2</h2>
<p><strong>Build a classification model labeling houses as being built “before 1980” or “during or after 1980”.</strong> Your goal is to reach or exceed 90% accuracy. Explain your final model choice (algorithm, tuning parameters, etc) and describe what other models you tried.</p>
<p><em>type your results and analysis here</em></p>
<div id="54bf7b3a" class="cell" data-execution_count="4">
<div id="3e730a77" class="cell" data-execution_count="4">
<details class="code-fold">
<summary>Show the code</summary>
<div class="sourceCode cell-code" id="cb4"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb4-1"><a href="#cb4-1" aria-hidden="true" tabindex="-1"></a><span class="co"># Include and execute your code here</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
Expand All @@ -4930,7 +4930,7 @@ <h2 class="anchored" data-anchor-id="questiontask-2">QUESTION|TASK 2</h2>
<h2 class="anchored" data-anchor-id="questiontask-3">QUESTION|TASK 3</h2>
<p><strong>Justify your classification model by discussing the most important features selected by your model.</strong> This discussion should include a feature importance chart and a description of the features.</p>
<p><em>type your results and analysis here</em></p>
<div id="d7457710" class="cell" data-execution_count="5">
<div id="b186309f" class="cell" data-execution_count="5">
<details class="code-fold">
<summary>Show the code</summary>
<div class="sourceCode cell-code" id="cb5"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a><span class="co"># Include and execute your code here</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
Expand All @@ -4941,7 +4941,7 @@ <h2 class="anchored" data-anchor-id="questiontask-3">QUESTION|TASK 3</h2>
<h2 class="anchored" data-anchor-id="questiontask-4">QUESTION|TASK 4</h2>
<p><strong>Describe the quality of your classification model using 2-3 different evaluation metrics.</strong> You also need to explain how to interpret each of the evaluation metrics you use.</p>
<p><em>type your results and analysis here</em></p>
<div id="a314751f" class="cell" data-execution_count="6">
<div id="c4877bdd" class="cell" data-execution_count="6">
<details class="code-fold">
<summary>Show the code</summary>
<div class="sourceCode cell-code" id="cb6"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb6-1"><a href="#cb6-1" aria-hidden="true" tabindex="-1"></a><span class="co"># Include and execute your code here</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
Expand All @@ -4953,7 +4953,7 @@ <h2 class="anchored" data-anchor-id="questiontask-4">QUESTION|TASK 4</h2>
<h2 class="anchored" data-anchor-id="stretch-questiontask-1">STRETCH QUESTION|TASK 1</h2>
<p><strong>Repeat the classification model using 3 different algorithms.</strong> Display their Feature Importance, and Decision Matrix. Explian the differences between the models and which one you would recommend to the Client.</p>
<p><em>type your results and analysis here</em></p>
<div id="b1c9f216" class="cell" data-execution_count="7">
<div id="da50638f" class="cell" data-execution_count="7">
<details class="code-fold">
<summary>Show the code</summary>
<div class="sourceCode cell-code" id="cb7"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb7-1"><a href="#cb7-1" aria-hidden="true" tabindex="-1"></a><span class="co"># Include and execute your code here</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
Expand All @@ -4964,7 +4964,7 @@ <h2 class="anchored" data-anchor-id="stretch-questiontask-1">STRETCH QUESTION|TA
<h2 class="anchored" data-anchor-id="stretch-questiontask-2">STRETCH QUESTION|TASK 2</h2>
<p><strong>Join the <code>dwellings_neighborhoods_ml.csv</code> data to the <code>dwelling_ml.csv</code> on the <code>parcel</code> column to create a new dataset. Duplicate the code for the stretch question above and update it to use this data.</strong> Explain the differences and if this changes the model you recomend to the Client.</p>
<p><em>type your results and analysis here</em></p>
<div id="ddfb6d30" class="cell" data-execution_count="8">
<div id="86c50135" class="cell" data-execution_count="8">
<details class="code-fold">
<summary>Show the code</summary>
<div class="sourceCode cell-code" id="cb8"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb8-1"><a href="#cb8-1" aria-hidden="true" tabindex="-1"></a><span class="co"># Include and execute your code here</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
Expand All @@ -4975,7 +4975,7 @@ <h2 class="anchored" data-anchor-id="stretch-questiontask-2">STRETCH QUESTION|TA
<h2 class="anchored" data-anchor-id="stretch-questiontask-3">STRETCH QUESTION|TASK 3</h2>
<p><strong>Can you build a model that predicts the year a house was built?</strong> Explain the model and the evaluation metrics you would use to determine if the model is good.</p>
<p><em>type your results and analysis here</em></p>
<div id="83f49598" class="cell" data-execution_count="9">
<div id="86b8e9eb" class="cell" data-execution_count="9">
<details class="code-fold">
<summary>Show the code</summary>
<div class="sourceCode cell-code" id="cb9"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb9-1"><a href="#cb9-1" aria-hidden="true" tabindex="-1"></a><span class="co"># Include and execute your code here</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
Expand Down
Loading

0 comments on commit 41426a4

Please sign in to comment.