这是indexloc提供的服务,不要输入任何密码
Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scikits/crab/metrics/pairwise.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def euclidean_distances(X, Y, squared=False, inverse=True):
--------
>>> from scikits.crab.metrics.pairwise import euclidean_distances
>>> X = [[2.5, 3.5, 3.0, 3.5, 2.5, 3.0],[3.0, 3.5, 1.5, 5.0, 3.5,3.0]]
>>> # distrance between rows of X
>>> # distance between rows of X
>>> euclidean_distances(X, X)
array([[ 1. , 0.29429806],
[ 0.29429806, 1. ]])
Expand Down