Skip to content

Commit

Permalink
docs: fix simple typo, puropses -> purposes
Browse files Browse the repository at this point in the history
There is a small typo in src/py2.x/ml/3.DecisionTree/decisionTreePlot.py, src/py3.x/ml/3.DecisionTree/decisionTreePlot.py.

Should read `purposes` rather than `puropses`.
  • Loading branch information
timgates42 committed Dec 22, 2020
1 parent d4bc1be commit aece456
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/py2.x/ml/3.DecisionTree/decisionTreePlot.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def createPlot(inTree):
# def createPlot():
# fig = plt.figure(1, facecolor='white')
# fig.clf()
# # ticks for demo puropses
# # ticks for demo purposes
# createPlot.ax1 = plt.subplot(111, frameon=False)
# plotNode('a decision node', (0.5, 0.1), (0.1, 0.5), decisionNode)
# plotNode('a leaf node', (0.8, 0.1), (0.3, 0.8), leafNode)
Expand Down
2 changes: 1 addition & 1 deletion src/py3.x/ml/3.DecisionTree/decisionTreePlot.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def createPlot(inTree):
# def createPlot():
# fig = plt.figure(1, facecolor='white')
# fig.clf()
# # ticks for demo puropses
# # ticks for demo purposes
# createPlot.ax1 = plt.subplot(111, frameon=False)
# plotNode('a decision node', (0.5, 0.1), (0.1, 0.5), decisionNode)
# plotNode('a leaf node', (0.8, 0.1), (0.3, 0.8), leafNode)
Expand Down

0 comments on commit aece456

Please sign in to comment.