Skip to content

Commit 1e42acb

Browse files
wdevazelhesbellet
authored andcommitted
Rename repo address (#244)
1 parent ca1109b commit 1e42acb

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

build_tools/travis/flake8_diff.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ set -e
2323
# pipefail is necessary to propagate exit codes
2424
set -o pipefail
2525

26-
PROJECT=metric-learn/metric-learn
26+
PROJECT=scikit-learn-contrib/metric-learn
2727
PROJECT_URL=https://github.com/$PROJECT.git
2828

2929
# Find the remote with the project name (upstream in most cases)

doc/weakly_supervised.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ like:
694694

695695
(This is actually intentional, for more details
696696
about that, see
697-
`this comment <https://github.com/metric-learn/metric-learn/pull/168#pullrequestreview-203730742>`_
697+
`this comment <https://github.com/scikit-learn-contrib/metric-learn/pull/168#pullrequestreview-203730742>`_
698698
on github.)
699699

700700
However, quadruplets learners do have a default scoring function, which will

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
'Nathalie Vauquier'
2525
],
2626
author_email='[email protected]',
27-
url='http://github.com/metric-learn/metric-learn',
27+
url='http://github.com/scikit-learn-contrib/metric-learn',
2828
license='MIT',
2929
classifiers=[
3030
'Development Status :: 4 - Beta',

test/metric_learn_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ def test_toy_ex_lmnn(X, y, loss):
532532

533533
def test_convergence_simple_example(capsys):
534534
# LMNN should converge on this simple example, which it did not with
535-
# this issue: https://github.com/metric-learn/metric-learn/issues/88
535+
# this issue: https://github.com/scikit-learn-contrib/metric-learn/issues/88
536536
X, y = make_classification(random_state=0)
537537
lmnn = LMNN(verbose=True)
538538
lmnn.fit(X, y)
@@ -542,7 +542,7 @@ def test_convergence_simple_example(capsys):
542542

543543
def test_no_twice_same_objective(capsys):
544544
# test that the objective function never has twice the same value
545-
# see https://github.com/metric-learn/metric-learn/issues/88
545+
# see https://github.com/scikit-learn-contrib/metric-learn/issues/88
546546
X, y = make_classification(random_state=0)
547547
lmnn = LMNN(verbose=True)
548548
lmnn.fit(X, y)

test/test_components_metric_conversion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def test_components_from_metric_edge_cases(self):
9494

9595
# matrix with all its coefficients very low (to check that the algorithm
9696
# does not consider it as a diagonal matrix)(non regression test for
97-
# https://github.com/metric-learn/metric-learn/issues/175)
97+
# https://github.com/scikit-learn-contrib/metric-learn/issues/175)
9898
M = np.diag([1e-15, 2e-16, 3e-15, 4e-16, 5e-15, 6e-16, 7e-15])
9999
M = P.dot(M).dot(P.T)
100100
L = components_from_metric(M)

test/test_mahalanobis_mixin.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -573,8 +573,8 @@ def test_singular_covariance_init_or_prior(estimator, build_dataset):
573573
"""Tests that when using the 'covariance' init or prior, it returns the
574574
appropriate error if the covariance matrix is singular, for algorithms
575575
that need a strictly PD prior or init (see
576-
https://github.com/metric-learn/metric-learn/issues/202 and
577-
https://github.com/metric-learn/metric-learn/pull/195#issuecomment
576+
https://github.com/scikit-learn-contrib/metric-learn/issues/202 and
577+
https://github.com/scikit-learn-contrib/metric-learn/pull/195#issuecomment
578578
-492332451)
579579
"""
580580
matrices_to_set = []
@@ -618,8 +618,8 @@ def test_singular_array_init_or_prior(estimator, build_dataset, w0):
618618
"""Tests that when using a custom array init (or prior), it returns the
619619
appropriate error if it is singular, for algorithms
620620
that need a strictly PD prior or init (see
621-
https://github.com/metric-learn/metric-learn/issues/202 and
622-
https://github.com/metric-learn/metric-learn/pull/195#issuecomment
621+
https://github.com/scikit-learn-contrib/metric-learn/issues/202 and
622+
https://github.com/scikit-learn-contrib/metric-learn/pull/195#issuecomment
623623
-492332451)
624624
"""
625625
matrices_to_set = []

0 commit comments

Comments
 (0)