DOC Fixed documentation typos
@@ -100,11 +100,11 @@ def partial_dependence(gbrt, target_variables, grid=None, X=None,
gbrt : BaseGradientBoosting
A fitted gradient boosting model.
target_variables : array-like, dtype=int
- The target features for which the partial dependecy should be
+ The target features for which the partial dependency should be
computed (size should be smaller than 3 for visual renderings).
grid : array-like, shape=(n_points, len(target_variables))
The grid of ``target_variables`` values for which the
- partial dependecy should be evaluated (either ``grid`` or ``X``
+ partial dependency should be evaluated (either ``grid`` or ``X``
must be specified).
X : array-like, shape=(n_samples, n_features)
The data on which ``gbrt`` was trained. It is used to generate
