Skip to content

Commit 5d40722

Browse files
author
Jared Weed
committed
Correct spelling
1 parent e7e63a7 commit 5d40722

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

projects/boston_housing/boston_housing.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"## Getting Started\n",
2323
"In this project, you will evaluate the performance and predictive power of a model that has been trained and tested on data collected from homes in suburbs of Boston, Massachusetts. A model trained on this data that is seen as a *good fit* could then be used to make certain predictions about a home — in particular, its monetary value. This model would prove to be invaluable for someone like a real estate agent who could make use of such information on a daily basis.\n",
2424
"\n",
25-
"The dataset for this project originates from the [UCI Machine Learning Repository](https://archive.ics.uci.edu/ml/datasets/Housing). The Boston housing data was collected in 1978 and each of the 506 entries represent aggregated data about 14 features for homes from various suburbs in Boston, Massachusetts. For the purposes of this project, the following preoprocessing steps have been made to the dataset:\n",
25+
"The dataset for this project originates from the [UCI Machine Learning Repository](https://archive.ics.uci.edu/ml/datasets/Housing). The Boston housing data was collected in 1978 and each of the 506 entries represent aggregated data about 14 features for homes from various suburbs in Boston, Massachusetts. For the purposes of this project, the following preprocessing steps have been made to the dataset:\n",
2626
"- 16 data points have an `'MDEV'` value of 50.0. These data points likely contain **missing or censored values** and have been removed.\n",
2727
"- 1 data point has an `'RM'` value of 8.78. This data point can be considered an **outlier** and has been removed.\n",
2828
"- The features `'RM'`, `'LSTAT'`, `'PTRATIO'`, and `'MDEV'` are essential. The remaining **non-relevant features** have been excluded.\n",
@@ -278,7 +278,7 @@
278278
"metadata": {},
279279
"source": [
280280
"### Learning Curves\n",
281-
"The following code cell produces four graphs for a decision tree model with different maximum depths. Each graph visualizes the learning curves of the model for both training and testing as the size of the training set is increased. Note that the shaded reigon of a learning curve denotes the uncertainty of that curve (measured as the standard deviation). The model is scored on both the training and testing sets using R<sup>2</sup>, the coefficient of determination. \n",
281+
"The following code cell produces four graphs for a decision tree model with different maximum depths. Each graph visualizes the learning curves of the model for both training and testing as the size of the training set is increased. Note that the shaded region of a learning curve denotes the uncertainty of that curve (measured as the standard deviation). The model is scored on both the training and testing sets using R<sup>2</sup>, the coefficient of determination. \n",
282282
"\n",
283283
"Run the code cell below and use these graphs to answer the following question."
284284
]

projects/creating_customer_segments/customer_segments.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -367,10 +367,10 @@
367367
},
368368
"outputs": [],
369369
"source": [
370-
"# TODO: Apply PCA to the good data with the same number of dimensions as features\n",
370+
"# TODO: Apply PCA by fitting the good data with the same number of dimensions as features\n",
371371
"pca = None\n",
372372
"\n",
373-
"# TODO: Apply a PCA transformation to the sample log-data\n",
373+
"# TODO: Transform the sample log-data using the PCA fit above\n",
374374
"pca_samples = None\n",
375375
"\n",
376376
"# Generate PCA results plot\n",
@@ -436,13 +436,13 @@
436436
},
437437
"outputs": [],
438438
"source": [
439-
"# TODO: Fit PCA to the good data using only two dimensions\n",
439+
"# TODO: Apply PCA by fitting the good data with only two dimensions\n",
440440
"pca = None\n",
441441
"\n",
442-
"# TODO: Apply a PCA transformation the good data\n",
442+
"# TODO: Transform the good data using the PCA fit above\n",
443443
"reduced_data = None\n",
444444
"\n",
445-
"# TODO: Apply a PCA transformation to the sample log-data\n",
445+
"# TODO: Transform the sample log-data using the PCA fit above\n",
446446
"pca_samples = None\n",
447447
"\n",
448448
"# Create a DataFrame for the reduced data\n",

0 commit comments

Comments
 (0)