Skip to content

Commit 3d3e16e

Browse files
authored
Merge pull request udacity#45 from udacity/development
Spelling
2 parents c971991 + 7df3eed commit 3d3e16e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

projects/creating_customer_segments/customer_segments.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@
667667
},
668668
"source": [
669669
"### Question 10\n",
670-
"Companies often run [A/B tests](https://en.wikipedia.org/wiki/A/B_testing) when making small changes to their products or services to determine whether that change affects its customers positively or negatively. The wholesale distributor wants to consider changing its delivery service from 5 days a week to 3 days a week, but will only do so if it affects their customers positively. *How would you use the customer segments you found above to perform an A/B Test for this change?* \n",
670+
"Companies often run [A/B tests](https://en.wikipedia.org/wiki/A/B_testing) when making small changes to their products or services to determine whether that change affects its customers positively or negatively. The wholesale distributor wants to consider changing its delivery service from 5 days a week to 3 days a week, but will only do so if it affects their customers positively. *How would you use the customer segments you found above to perform an A/B test for this change?* \n",
671671
"**Hint:** Can we assume the change affects all customers equally? How can we determine which group of customers it affects the most?"
672672
]
673673
},
@@ -683,7 +683,7 @@
683683
"metadata": {},
684684
"source": [
685685
"### Question 11\n",
686-
"Additional structure is derived from originally unlabelled data when using clustering techniques. Since each customer has a segment it best identifies with (depending on the clustering algorithm applied), we can consider *'customer segment'* as an **engineered feature** for the data. Assume the wholesale distributor recently acquired ten new customers and has made estimates for each customer's annual spending of the six product categories. Knowing these estimates, the wholesale distributor wants to classify each new customer to one of the customer segments to determine the most appropriate delivery service. \n",
686+
"Additional structure is derived from originally unlabeled data when using clustering techniques. Since each customer has a segment it best identifies with (depending on the clustering algorithm applied), we can consider *'customer segment'* as an **engineered feature** for the data. Assume the wholesale distributor recently acquired ten new customers and has made estimates for each customer's annual spending of the six product categories. Knowing these estimates, the wholesale distributor wants to classify each new customer to one of the customer segments to determine the most appropriate delivery service. \n",
687687
"*Describe a supervised learning strategy you could use to make classification predictions for the ten new customers.* \n",
688688
"**Hint:** What other input feature could the supervised learner use besides the six product features to help make a prediction?"
689689
]

projects/smartcab/smartcab/environment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def act(self, agent, action):
205205
else:
206206
move_okay = False
207207
elif action == 'right':
208-
if light == 'green' or (inputs['oncoming'] != 'left' and inputs['left'] != 'forward'):
208+
if light == 'green' or inputs['left'] != 'forward':
209209
heading = (-heading[1], heading[0])
210210
else:
211211
move_okay = False

0 commit comments

Comments
 (0)