-
Notifications
You must be signed in to change notification settings - Fork 74k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
contrib/boosted_trees: minor spelling tweaks #17732
Merged
frankchn
merged 1 commit into
tensorflow:master
from
brettkoonce:boosted_trees_minor_sp
Mar 25, 2018
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -120,8 +120,8 @@ def setUp(self): | |
"""Sets up the prediction tests. | ||
|
||
Create a batch of two examples having one dense float, two sparse float | ||
single valued, one sparse float multidimensionl and one sparse int features. | ||
The data looks like the following: | ||
single valued, one sparse float multidimensional and one sparse int | ||
features. The data looks like the following: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @frankchn tweaked, thanks! |
||
| Instance | Dense0 | SparseF0 | SparseF1 | SparseI0 | SparseM | ||
| 0 | 7 | -3 | | 9,1 | __, 5.0 | ||
| 1 | -2 | | 4 | | 3, ___ | ||
|
@@ -810,7 +810,7 @@ def testDropoutCenterBiasWithGrowingMeta(self): | |
# building. This tree should never be dropped. | ||
num_trees = 10 | ||
with self.test_session(): | ||
# Empty tree ensenble. | ||
# Empty tree ensemble. | ||
tree_ensemble_config = tree_config_pb2.DecisionTreeEnsembleConfig() | ||
# Add 10 trees with some weights. | ||
for i in range(0, num_trees): | ||
|
@@ -951,7 +951,7 @@ def testDropoutSeed(self): | |
|
||
def testDropOutZeroProb(self): | ||
with self.test_session(): | ||
# Empty tree ensenble. | ||
# Empty tree ensemble. | ||
tree_ensemble_config = tree_config_pb2.DecisionTreeEnsembleConfig() | ||
# Add 1000 trees with some weights. | ||
for i in range(0, 999): | ||
|
@@ -994,7 +994,7 @@ def testDropOutZeroProb(self): | |
|
||
def testAveragingAllTrees(self): | ||
with self.test_session(): | ||
# Empty tree ensenble. | ||
# Empty tree ensemble. | ||
tree_ensemble_config = tree_config_pb2.DecisionTreeEnsembleConfig() | ||
adjusted_tree_ensemble_config = ( | ||
tree_config_pb2.DecisionTreeEnsembleConfig()) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test fixed here