Skip to content

Commit

Permalink
minor A1 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yashdave003 committed Mar 8, 2024
1 parent 1de076d commit 45c875e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/projA1/projA1.html
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ <h3 class="anchored" data-anchor-id="typeerror-unhashable-type-series"><code>Typ
<h2 class="anchored" data-anchor-id="question-7">Question 7</h2>
<section id="im-not-sure-how-to-use-sklearn-to-do-one-hot-encoding" class="level3">
<h3 class="anchored" data-anchor-id="im-not-sure-how-to-use-sklearn-to-do-one-hot-encoding">I’m not sure how to use <code>sklearn</code> to do One Hot Encoding</h3>
<p>A good starting point is to revisit the One Hot Encoding question in Lab 7. It’s recommended you look through this portion of <a href="https://youtu.be/LohVOmiulHQ?feature=shared&amp;t=442">the walkthrough</a>, so you have a good understanding of how to use the <code>OneHotEncoder</code> object. Pay attention to what each variable represents and the expected outputs of the functions used. Can you map the logic from the lab to this project? A good starting point is to make a new cell and experimenting with examples from <a href="https://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.OneHotEncoder.html">the documentation</a>.</p>
<p>A good starting point is to revisit the One Hot Encoding question in Lab 7. It’s recommended you look through this portion of <a href="https://youtu.be/LohVOmiulHQ?feature=shared&amp;t=442">the walkthrough</a>, so you have a good understanding of how to use the <code>OneHotEncoder</code> object. Pay attention to what each variable represents and the expected outputs of the functions used. Can you map the logic from the lab to this project? A nice way to start is to make a new cell and experiment with examples from <a href="https://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.OneHotEncoder.html">the documentation</a>.</p>
</section>
<section id="my-ohe-columns-contain-a-lot-of-nan-values" class="level3">
<h3 class="anchored" data-anchor-id="my-ohe-columns-contain-a-lot-of-nan-values">My OHE columns contain a lot of <code>NaN</code> values</h3>
Expand Down
6 changes: 3 additions & 3 deletions index.tex
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ \chapter*{About}\label{about}

\chapter{Jupyter 101}\label{jupyter-101}

\begin{tcolorbox}[enhanced jigsaw, titlerule=0mm, colback=white, bottomrule=.15mm, opacityback=0, arc=.35mm, rightrule=.15mm, breakable, opacitybacktitle=0.6, title=\textcolor{quarto-callout-note-color}{\faInfo}\hspace{0.5em}{Note}, colbacktitle=quarto-callout-note-color!10!white, bottomtitle=1mm, colframe=quarto-callout-note-color-frame, toprule=.15mm, toptitle=1mm, left=2mm, leftrule=.75mm, coltitle=black]
\begin{tcolorbox}[enhanced jigsaw, coltitle=black, arc=.35mm, opacityback=0, rightrule=.15mm, colbacktitle=quarto-callout-note-color!10!white, bottomrule=.15mm, title=\textcolor{quarto-callout-note-color}{\faInfo}\hspace{0.5em}{Note}, breakable, opacitybacktitle=0.6, titlerule=0mm, colback=white, bottomtitle=1mm, toptitle=1mm, leftrule=.75mm, toprule=.15mm, left=2mm, colframe=quarto-callout-note-color-frame]

If you're using a MacBook, replace \texttt{ctrl} with \texttt{cmd}.

Expand Down Expand Up @@ -1319,8 +1319,8 @@ \subsection{\texorpdfstring{I'm not sure how to use \texttt{sklearn} to
walkthrough}, so you have a good understanding of how to use the
\texttt{OneHotEncoder} object. Pay attention to what each variable
represents and the expected outputs of the functions used. Can you map
the logic from the lab to this project? A good starting point is to make
a new cell and experimenting with examples from
the logic from the lab to this project? A nice way to start is to make a
new cell and experiment with examples from
\href{https://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.OneHotEncoder.html}{the
documentation}.
Expand Down
2 changes: 1 addition & 1 deletion projA1/projA1.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This error can occur if you try and use Python's `in` to check whether values in

### I'm not sure how to use `sklearn` to do One Hot Encoding

A good starting point is to revisit the One Hot Encoding question in Lab 7. It's recommended you look through this portion of [the walkthrough](https://youtu.be/LohVOmiulHQ?feature=shared&t=442), so you have a good understanding of how to use the `OneHotEncoder` object. Pay attention to what each variable represents and the expected outputs of the functions used. Can you map the logic from the lab to this project? A good starting point is to make a new cell and experimenting with examples from [the documentation](https://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.OneHotEncoder.html).
A good starting point is to revisit the One Hot Encoding question in Lab 7. It's recommended you look through this portion of [the walkthrough](https://youtu.be/LohVOmiulHQ?feature=shared&t=442), so you have a good understanding of how to use the `OneHotEncoder` object. Pay attention to what each variable represents and the expected outputs of the functions used. Can you map the logic from the lab to this project? A nice way to start is to make a new cell and experiment with examples from [the documentation](https://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.OneHotEncoder.html).

### My OHE columns contain a lot of `NaN` values

Expand Down

0 comments on commit 45c875e

Please sign in to comment.