Skip to content

Commit 62dcb0c

Browse files
committed
Pushing the docs for revision for branch: master, commit e2a2b4d403742c3eb2d0e085631a014b0975d6af
1 parent 5b3da8c commit 62dcb0c

File tree

780 files changed

+2685
-2685
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

780 files changed

+2685
-2685
lines changed

dev/_downloads/hetero_feature_union.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def transform(self, posts):
165165
('svc', SVC(kernel='linear')),
166166
])
167167

168-
# limit the list of categories to make running this exmaple faster.
168+
# limit the list of categories to make running this example faster.
169169
categories = ['alt.atheism', 'talk.religion.misc']
170170
train = fetch_20newsgroups(random_state=1,
171171
subset='train',

dev/_downloads/plot_ard.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
relevant_features = np.random.randint(0, n_features, 10)
4040
for i in relevant_features:
4141
w[i] = stats.norm.rvs(loc=0, scale=1. / np.sqrt(lambda_))
42-
# Create noite with a precision alpha of 50.
42+
# Create noise with a precision alpha of 50.
4343
alpha_ = 50.
4444
noise = stats.norm.rvs(loc=0, scale=1. / np.sqrt(alpha_), size=n_samples)
4545
# Create the target

dev/_downloads/plot_calibration_multiclass.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ class of an instance (red: class 1, green: class 2, blue: class 3).
145145
zip(calibrated_classifier.calibrators_, p.T)]).T
146146
prediction /= prediction.sum(axis=1)[:, None]
147147

148-
# Ploit modifications of calibrator
148+
# Plot modifications of calibrator
149149
for i in range(prediction.shape[0]):
150150
plt.arrow(p[i, 0], p[i, 1],
151151
prediction[i, 0] - p[i, 0], prediction[i, 1] - p[i, 1],

dev/_downloads/plot_ensemble_oob.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
random_state=RANDOM_STATE)
4242

4343
# NOTE: Setting the `warm_start` construction parameter to `True` disables
44-
# support for paralellised ensembles but is necessary for tracking the OOB
44+
# support for parallelized ensembles but is necessary for tracking the OOB
4545
# error trajectory during training.
4646
ensemble_clfs = [
4747
("RandomForestClassifier, max_features='sqrt'",

dev/_downloads/plot_lasso_coordinate_descent_path.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
alphas_enet, coefs_enet, _ = enet_path(
4141
X, y, eps=eps, l1_ratio=0.8, fit_intercept=False)
4242

43-
print("Computing regularization path using the positve elastic net...")
43+
print("Computing regularization path using the positive elastic net...")
4444
alphas_positive_enet, coefs_positive_enet, _ = enet_path(
4545
X, y, eps=eps, l1_ratio=0.8, positive=True, fit_intercept=False)
4646

-42 Bytes
-42 Bytes
-220 Bytes
-220 Bytes
-85 Bytes

0 commit comments

Comments
 (0)