From fe4bcf78c0cb6957aa104c6a65461c1dd47bc2ad Mon Sep 17 00:00:00 2001 From: Naoya Kanai Date: Thu, 11 May 2017 08:55:01 -0700 Subject: [PATCH 1/2] update dataset URL for species_distributions --- sklearn/datasets/species_distributions.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sklearn/datasets/species_distributions.py b/sklearn/datasets/species_distributions.py index 14b5b38d0cd31..518880534f08e 100644 --- a/sklearn/datasets/species_distributions.py +++ b/sklearn/datasets/species_distributions.py @@ -20,7 +20,7 @@ References: * `"Maximum entropy modeling of species geographic distributions" - `_ + `_ S. J. Phillips, R. P. Anderson, R. E. Schapire - Ecological Modelling, 190:231-259, 2006. @@ -55,7 +55,7 @@ from sklearn.datasets.base import _pkl_filepath from sklearn.externals import joblib -DIRECTORY_URL = "http://www.cs.princeton.edu/~schapire/maxent/datasets/" +DIRECTORY_URL = "http://biodiversityinformatics.amnh.org/open_source/maxent/" SAMPLES_URL = DIRECTORY_URL + "samples.zip" COVERAGES_URL = DIRECTORY_URL + "coverages.zip" @@ -195,7 +195,7 @@ def fetch_species_distributions(data_home=None, ---------- * `"Maximum entropy modeling of species geographic distributions" - `_ + `_ S. J. Phillips, R. P. Anderson, R. E. Schapire - Ecological Modelling, 190:231-259, 2006. From 2447e6630e9b43c930e64b63f151668564e9b08d Mon Sep 17 00:00:00 2001 From: Naoya Kanai Date: Thu, 11 May 2017 09:14:09 -0700 Subject: [PATCH 2/2] [doc build] update paper reference in species examples --- examples/applications/plot_species_distribution_modeling.py | 2 +- examples/neighbors/plot_species_kde.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/applications/plot_species_distribution_modeling.py b/examples/applications/plot_species_distribution_modeling.py index 6dab5fa8c9063..afe2adb8c1ed0 100644 --- a/examples/applications/plot_species_distribution_modeling.py +++ b/examples/applications/plot_species_distribution_modeling.py @@ -31,7 +31,7 @@ ---------- * `"Maximum entropy modeling of species geographic distributions" - `_ + `_ S. J. Phillips, R. P. Anderson, R. E. Schapire - Ecological Modelling, 190:231-259, 2006. """ diff --git a/examples/neighbors/plot_species_kde.py b/examples/neighbors/plot_species_kde.py index c5010d37aebd2..a333c7b6776d8 100644 --- a/examples/neighbors/plot_species_kde.py +++ b/examples/neighbors/plot_species_kde.py @@ -31,7 +31,7 @@ ---------- * `"Maximum entropy modeling of species geographic distributions" - `_ + `_ S. J. Phillips, R. P. Anderson, R. E. Schapire - Ecological Modelling, 190:231-259, 2006. """