Skip to content

Commit 77db722

Browse files
Update A1_Intro_to_DataScience_and_ML.md
1 parent 89e3a7a commit 77db722

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

docs/mlpaths/A1_Intro_to_DataScience_and_ML.md

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,6 @@ This quiz helps you self-assess your understanding. Answers can be verified by r
183183
*(Answer: (1) :eyes:)*
184184
{ .annotate }
185185

186-
<span class="annotate">(1)</span><ol><li>when possible</li></ol>
187-
188186
2. Consider the following Python code using Pandas:
189187
```python
190188
import pandas as pd
@@ -201,8 +199,6 @@ This quiz helps you self-assess your understanding. Answers can be verified by r
201199
*(Answer: (2) :eyes:)*
202200
{ .annotate }
203201

204-
<span class="annotate">(2)</span><ol><li>when not possible</li></ol>
205-
206202
3. Which Python library is primarily used for creating statistical visualizations like heatmaps and pair plots with concise syntax?<br>
207203
a) NumPy<br>
208204
b) Seaborn<br>
@@ -211,8 +207,6 @@ This quiz helps you self-assess your understanding. Answers can be verified by r
211207
*(Answer: (1) :eyes:)*
212208
{ .annotate }
213209

214-
<span class="annotate">(1)</span><ol><li>when possible</li></ol>
215-
216210
4. In a typical classification problem, what is the role of the 'target variable'?<br>
217211
a) It's an input feature used by the model to learn.<br>
218212
b) It's the categorical label or class that the model aims to predict.<br>
@@ -221,8 +215,6 @@ This quiz helps you self-assess your understanding. Answers can be verified by r
221215
*(Answer: (1) :eyes:)*
222216
{ .annotate }
223217

224-
<span class="annotate">(1)</span><ol><li>when possible</li></ol>
225-
226218
5. What is the primary purpose of `train_test_split` in Scikit-learn?<br>
227219
a) To combine two different datasets into one.<br>
228220
b) To separate features from the target variable within a single dataset.<br>
@@ -231,16 +223,13 @@ This quiz helps you self-assess your understanding. Answers can be verified by r
231223
*(Answer: (2) :eyes:)*
232224
{ .annotate }
233225

234-
<span class="annotate">(2)</span><ol><li>when not possible</li></ol>
235-
236226
6. If you want to create a scatter plot in Python to visualize the relationship between 'Height' and 'Weight' columns in a Pandas DataFrame `df`, which line of code is most appropriate using Seaborn?<br>
237227
a) `sns.histplot(data=df, x='Height', y='Weight')`<br>
238228
b) `sns.boxplot(data=df, x='Height', y='Weight')`<br>
239229
c) `sns.scatterplot(data=df, x='Height', y='Weight')`<br>
240230
d) `df.plot(kind='scatter', x='Height', y='Weight')` (This is Pandas plotting, not Seaborn directly)<br>
241231
*(Answer: (2) :eyes:)*
242232
{ .annotate }
243-
<span class="annotate">(2)</span><ol><li>when not possible</li></ol>
244233

245234
7. You have loaded a dataset into a Pandas DataFrame called `sales_df`. How would you display the first 10 rows of this DataFrame?<br>
246235
a) `sales_df.show(10)`<br>
@@ -272,7 +261,7 @@ This quiz helps you self-assess your understanding. Answers can be verified by r
272261
c) Handling missing values and transforming variables.<br>
273262
d) Presenting results to stakeholders.<br>
274263
*(Answer: (2) :eyes:)*
275-
{ .annotate }
264+
{ .annotate }
276265

277266
</div>
278267
1. Answer is: <b>b</b>

0 commit comments

Comments
 (0)