Skip to content

Commit 7660981

Browse files
remo-helpdesilinguist
authored andcommitted
Fix some typos.
1 parent c3a35db commit 7660981

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/make_california_example_data.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def main():
3434
X = california.data[chosen_indices, :]
3535
Y = california.target[chosen_indices]
3636

37-
# crate example jsonlines dictionaries
37+
# create example jsonlines dictionaries
3838
examples = [
3939
{"id": f"EXAMPLE_{i}", "y": y, "x": {f"f{j}": x_val for j, x_val in enumerate(x)}}
4040
for i, (x, y) in enumerate(zip(X, Y))

skll/data/featureset.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class FeatureSet(object):
3434
labels : np.array of shape (n_labels,), default=None
3535
labels for this set.
3636
37-
feature : list of dict or an array-like of shape (n_samples, n_features), default=None
37+
features : list of dict or an array-like of shape (n_samples, n_features), default=None
3838
The features for each instance represented as either a
3939
list of dictionaries or an array-like (if ``vectorizer`` is
4040
also specified).

0 commit comments

Comments
 (0)