Skip to content

Commit

Permalink
Fix some typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
remo-help authored and desilinguist committed Sep 13, 2022
1 parent c3a35db commit 7660981
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/make_california_example_data.py
Expand Up @@ -34,7 +34,7 @@ def main():
X = california.data[chosen_indices, :]
Y = california.target[chosen_indices]

# crate example jsonlines dictionaries
# create example jsonlines dictionaries
examples = [
{"id": f"EXAMPLE_{i}", "y": y, "x": {f"f{j}": x_val for j, x_val in enumerate(x)}}
for i, (x, y) in enumerate(zip(X, Y))
Expand Down
2 changes: 1 addition & 1 deletion skll/data/featureset.py
Expand Up @@ -34,7 +34,7 @@ class FeatureSet(object):
labels : np.array of shape (n_labels,), default=None
labels for this set.
feature : list of dict or an array-like of shape (n_samples, n_features), default=None
features : list of dict or an array-like of shape (n_samples, n_features), default=None
The features for each instance represented as either a
list of dictionaries or an array-like (if ``vectorizer`` is
also specified).
Expand Down

0 comments on commit 7660981

Please sign in to comment.