Skip to content

Commit

Permalink
#DC spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
andife committed Oct 3, 2020
1 parent 46475bc commit 5865228
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions tpot/base.py
Expand Up @@ -1619,7 +1619,7 @@ def _operator_count(self, individual):
----------
individual: list
A grown tree with leaves at possibly different depths
dependending on the condition function.
depending on the condition function.
Returns
-------
Expand Down Expand Up @@ -1670,7 +1670,7 @@ def _generate(self, pset, min_, max_, condition, type_=None):
min_: int
Minimum height of the produced trees.
max_: int
Maximum Height of the produced trees.
Maximum height of the produced trees.
condition: function
The condition is a function that takes two arguments,
the height of the tree to build and the current
Expand All @@ -1683,7 +1683,7 @@ def _generate(self, pset, min_, max_, condition, type_=None):
-------
individual: list
A grown tree with leaves at possibly different depths
dependending on the condition function.
depending on the condition function.
"""
if type_ is None:
type_ = pset.ret
Expand Down
2 changes: 1 addition & 1 deletion tpot/config/regressor.py
Expand Up @@ -116,7 +116,7 @@
'power_t': [0.5, 0.0, 1.0, 0.1, 100.0, 10.0, 50.0]
},

# Preprocesssors
# Preprocessors
'sklearn.preprocessing.Binarizer': {
'threshold': np.arange(0.0, 1.01, 0.05)
},
Expand Down

0 comments on commit 5865228

Please sign in to comment.