2019-01-01 14:04:23 +08:00
|
|
|
# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
|
2018-10-08 04:52:23 +08:00
|
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
2016-05-12 12:22:25 +08:00
|
|
|
#
|
2018-10-08 04:52:23 +08:00
|
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
|
2015-01-23 03:50:01 +08:00
|
|
|
from spack import *
|
|
|
|
|
2016-08-10 16:50:00 +08:00
|
|
|
|
2017-01-17 10:13:37 +08:00
|
|
|
class PyScikitLearn(PythonPackage):
|
|
|
|
"""A set of python modules for machine learning and data mining."""
|
2017-02-21 07:38:30 +08:00
|
|
|
|
2015-01-23 03:50:01 +08:00
|
|
|
homepage = "https://pypi.python.org/pypi/scikit-learn"
|
2017-02-21 07:38:30 +08:00
|
|
|
url = "https://pypi.io/packages/source/s/scikit-learn/scikit-learn-0.18.1.tar.gz"
|
2015-01-23 03:50:01 +08:00
|
|
|
|
2018-10-16 01:25:05 +08:00
|
|
|
version('0.20.0', sha256='97d1d971f8ec257011e64b7d655df68081dd3097322690afa1a71a1d755f8c18')
|
2018-06-06 20:41:48 +08:00
|
|
|
version('0.19.1', 'b67143988c108862735a96cf2b1e827a')
|
2017-02-21 07:38:30 +08:00
|
|
|
version('0.18.1', '6b0ff1eaa5010043895dd63d1e3c60c9')
|
2015-01-23 03:50:01 +08:00
|
|
|
version('0.15.2', 'd9822ad0238e17b382a3c756ea94fe0d')
|
2015-06-01 23:39:01 +08:00
|
|
|
version('0.16.1', '363ddda501e3b6b61726aa40b8dbdb7e')
|
2016-04-03 09:17:01 +08:00
|
|
|
version('0.17.1', 'a2f8b877e6d99b1ed737144f5a478dfc')
|
2017-08-17 08:48:50 +08:00
|
|
|
version('0.13.1', 'acba398e1d46274b8470f40d0926e6a4')
|
2015-01-23 03:50:01 +08:00
|
|
|
|
2018-11-25 09:03:30 +08:00
|
|
|
depends_on('python@2.6:2.8,3.3:', when='@:0.19.1')
|
|
|
|
depends_on('python@2.7:2.8,3.4:', when='@0.20.0:')
|
|
|
|
depends_on('py-numpy@1.6.1:', type=('build', 'run'), when='@:0.19.1')
|
|
|
|
depends_on('py-numpy@1.8.2:', type=('build', 'run'), when='@0.20.0:')
|
|
|
|
depends_on('py-scipy@0.9:', type=('build', 'run'), when='@:0.19.1')
|
|
|
|
depends_on('py-scipy@0.13.3:', type=('build', 'run'), when='@0.20.0:')
|
|
|
|
depends_on('py-cython@0.23:', type='build')
|
|
|
|
depends_on('py-test@3.3.0:', type='test')
|