python3Packages.scikitlearn: rename to scikit-learn
This commit is contained in:
parent
a17bfa39ce
commit
cd8f3e6c44
@ -131,7 +131,7 @@ in {
|
|||||||
env = (pkgs.python3.withPackages (pythonPackages: with pythonPackages; [
|
env = (pkgs.python3.withPackages (pythonPackages: with pythonPackages; [
|
||||||
ipykernel
|
ipykernel
|
||||||
pandas
|
pandas
|
||||||
scikitlearn
|
scikit-learn
|
||||||
]));
|
]));
|
||||||
in {
|
in {
|
||||||
displayName = "Python 3 for machine learning";
|
displayName = "Python 3 for machine learning";
|
||||||
|
@ -117,7 +117,7 @@ in {
|
|||||||
env = (pkgs.python3.withPackages (pythonPackages: with pythonPackages; [
|
env = (pkgs.python3.withPackages (pythonPackages: with pythonPackages; [
|
||||||
ipykernel
|
ipykernel
|
||||||
pandas
|
pandas
|
||||||
scikitlearn
|
scikit-learn
|
||||||
]));
|
]));
|
||||||
in {
|
in {
|
||||||
displayName = "Python 3 for machine learning";
|
displayName = "Python 3 for machine learning";
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
, numpy
|
, numpy
|
||||||
, pillow
|
, pillow
|
||||||
, scipy
|
, scipy
|
||||||
, scikitlearn
|
, scikit-learn
|
||||||
, scikitimage
|
, scikitimage
|
||||||
, threadpoolctl
|
, threadpoolctl
|
||||||
}:
|
}:
|
||||||
@ -28,7 +28,7 @@ buildPythonPackage rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
future numpy pillow scipy scikitlearn scikitimage threadpoolctl
|
future numpy pillow scipy scikit-learn scikitimage threadpoolctl
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [ pytestCheckHook unittest2 ];
|
checkInputs = [ pytestCheckHook unittest2 ];
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, python
|
, python
|
||||||
, scikitlearn
|
, scikit-learn
|
||||||
, scipy
|
, scipy
|
||||||
, pytest
|
, pytest
|
||||||
, isPy27
|
, isPy27
|
||||||
@ -21,7 +21,7 @@ buildPythonPackage rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
scikitlearn
|
scikit-learn
|
||||||
scipy
|
scipy
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
, biopython
|
, biopython
|
||||||
, numpy
|
, numpy
|
||||||
, scipy
|
, scipy
|
||||||
, scikitlearn
|
, scikit-learn
|
||||||
, pandas
|
, pandas
|
||||||
, matplotlib
|
, matplotlib
|
||||||
, reportlab
|
, reportlab
|
||||||
@ -42,7 +42,7 @@ buildPythonPackage rec {
|
|||||||
biopython
|
biopython
|
||||||
numpy
|
numpy
|
||||||
scipy
|
scipy
|
||||||
scikitlearn
|
scikit-learn
|
||||||
pandas
|
pandas
|
||||||
matplotlib
|
matplotlib
|
||||||
reportlab
|
reportlab
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
, multipledispatch
|
, multipledispatch
|
||||||
, setuptools-scm
|
, setuptools-scm
|
||||||
, scipy
|
, scipy
|
||||||
, scikitlearn
|
, scikit-learn
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -22,7 +22,7 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ setuptools-scm ];
|
nativeBuildInputs = [ setuptools-scm ];
|
||||||
checkInputs = [ pytestCheckHook ];
|
checkInputs = [ pytestCheckHook ];
|
||||||
propagatedBuildInputs = [ cloudpickle dask numpy toolz multipledispatch scipy scikitlearn ];
|
propagatedBuildInputs = [ cloudpickle dask numpy toolz multipledispatch scipy scikit-learn ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/dask/dask-glm/";
|
homepage = "https://github.com/dask/dask-glm/";
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
, numpy, toolz # dask[array]
|
, numpy, toolz # dask[array]
|
||||||
, numba
|
, numba
|
||||||
, pandas
|
, pandas
|
||||||
, scikitlearn
|
, scikit-learn
|
||||||
, scipy
|
, scipy
|
||||||
, dask-glm
|
, dask-glm
|
||||||
, six
|
, six
|
||||||
@ -39,7 +39,7 @@ buildPythonPackage rec {
|
|||||||
numpy
|
numpy
|
||||||
packaging
|
packaging
|
||||||
pandas
|
pandas
|
||||||
scikitlearn
|
scikit-learn
|
||||||
scipy
|
scipy
|
||||||
six
|
six
|
||||||
toolz
|
toolz
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
, pandas
|
, pandas
|
||||||
, scipy
|
, scipy
|
||||||
, numpy
|
, numpy
|
||||||
, scikitlearn
|
, scikit-learn
|
||||||
, lammps-cython
|
, lammps-cython
|
||||||
, pymatgen-lammps
|
, pymatgen-lammps
|
||||||
, pytestrunner
|
, pytestrunner
|
||||||
@ -34,7 +34,7 @@ buildPythonPackage rec {
|
|||||||
pandas
|
pandas
|
||||||
scipy
|
scipy
|
||||||
numpy
|
numpy
|
||||||
scikitlearn
|
scikit-learn
|
||||||
lammps-cython
|
lammps-cython
|
||||||
pymatgen-lammps
|
pymatgen-lammps
|
||||||
];
|
];
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
, six
|
, six
|
||||||
, scipy
|
, scipy
|
||||||
, smart_open
|
, smart_open
|
||||||
, scikitlearn, testfixtures, unittest2
|
, scikit-learn, testfixtures, unittest2
|
||||||
, isPy3k
|
, isPy3k
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -21,7 +21,7 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
propagatedBuildInputs = [ smart_open numpy six scipy ];
|
propagatedBuildInputs = [ smart_open numpy six scipy ];
|
||||||
|
|
||||||
checkInputs = [ scikitlearn testfixtures unittest2 ];
|
checkInputs = [ scikit-learn testfixtures unittest2 ];
|
||||||
|
|
||||||
# Two tests fail.
|
# Two tests fail.
|
||||||
#
|
#
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
, matplotlib
|
, matplotlib
|
||||||
, networkx
|
, networkx
|
||||||
, numpy
|
, numpy
|
||||||
, scikitlearn
|
, scikit-learn
|
||||||
, scipy
|
, scipy
|
||||||
, seaborn
|
, seaborn
|
||||||
}:
|
}:
|
||||||
@ -31,7 +31,7 @@ buildPythonPackage rec {
|
|||||||
matplotlib
|
matplotlib
|
||||||
networkx
|
networkx
|
||||||
numpy
|
numpy
|
||||||
scikitlearn
|
scikit-learn
|
||||||
scipy
|
scipy
|
||||||
seaborn
|
seaborn
|
||||||
];
|
];
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
, numpy
|
, numpy
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, scipy
|
, scipy
|
||||||
, scikitlearn
|
, scikit-learn
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, joblib
|
, joblib
|
||||||
, six
|
, six
|
||||||
@ -29,7 +29,7 @@ buildPythonPackage rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ cython ];
|
nativeBuildInputs = [ cython ];
|
||||||
propagatedBuildInputs = [ numpy scipy scikitlearn joblib six ];
|
propagatedBuildInputs = [ numpy scipy scikit-learn joblib six ];
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
cd hdbscan/tests
|
cd hdbscan/tests
|
||||||
rm __init__.py
|
rm __init__.py
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ lib, fetchurl, buildPythonPackage, numpy, scikitlearn, setuptools_scm, cython, pytest }:
|
{ lib, fetchurl, buildPythonPackage, numpy, scikit-learn, setuptools_scm, cython, pytest }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "hmmlearn";
|
pname = "hmmlearn";
|
||||||
@ -10,7 +10,7 @@ buildPythonPackage rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ setuptools_scm cython ];
|
buildInputs = [ setuptools_scm cython ];
|
||||||
propagatedBuildInputs = [ numpy scikitlearn ];
|
propagatedBuildInputs = [ numpy scikit-learn ];
|
||||||
checkInputs = [ pytest ];
|
checkInputs = [ pytest ];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pytestCheckHook , pytestcov , numba
|
, pytestCheckHook , pytestcov , numba
|
||||||
, numpy
|
, numpy
|
||||||
, scikitlearn
|
, scikit-learn
|
||||||
, scipy
|
, scipy
|
||||||
, matplotlib
|
, matplotlib
|
||||||
, seaborn
|
, seaborn
|
||||||
@ -26,7 +26,7 @@ buildPythonPackage rec {
|
|||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
numba
|
numba
|
||||||
numpy
|
numpy
|
||||||
scikitlearn
|
scikit-learn
|
||||||
scipy
|
scipy
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
, mock
|
, mock
|
||||||
, pytorch
|
, pytorch
|
||||||
, pynvml
|
, pynvml
|
||||||
, scikitlearn
|
, scikit-learn
|
||||||
, tqdm
|
, tqdm
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -24,7 +24,7 @@ buildPythonPackage rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytestCheckHook matplotlib mock pytest_xdist ];
|
checkInputs = [ pytestCheckHook matplotlib mock pytest_xdist ];
|
||||||
propagatedBuildInputs = [ pytorch scikitlearn tqdm pynvml ];
|
propagatedBuildInputs = [ pytorch scikit-learn tqdm pynvml ];
|
||||||
|
|
||||||
# runs succesfully in 3.9, however, async isn't correctly closed so it will fail after test suite.
|
# runs succesfully in 3.9, however, async isn't correctly closed so it will fail after test suite.
|
||||||
doCheck = pythonOlder "3.9";
|
doCheck = pythonOlder "3.9";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ lib, buildPythonPackage, fetchPypi, scikitlearn, pandas, nose, pytest }:
|
{ lib, buildPythonPackage, fetchPypi, scikit-learn, pandas, nose, pytest }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "imbalanced-learn";
|
pname = "imbalanced-learn";
|
||||||
@ -9,7 +9,7 @@ buildPythonPackage rec {
|
|||||||
sha256 = "5bd9e86e40ce4001a57426541d7c79b18143cbd181e3330c1a3e5c5c43287083";
|
sha256 = "5bd9e86e40ce4001a57426541d7c79b18143cbd181e3330c1a3e5c5c43287083";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ scikitlearn ];
|
propagatedBuildInputs = [ scikit-learn ];
|
||||||
checkInputs = [ nose pytest pandas ];
|
checkInputs = [ nose pytest pandas ];
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
export HOME=$PWD
|
export HOME=$PWD
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
, isPy27
|
, isPy27
|
||||||
, pandas
|
, pandas
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, scikitlearn
|
, scikit-learn
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
|||||||
sha256 = "0a9xrw4qsh95g85pg2611hvj6xcfncw646si2icaz22haw1x410w";
|
sha256 = "0a9xrw4qsh95g85pg2611hvj6xcfncw646si2icaz22haw1x410w";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ scikitlearn ];
|
propagatedBuildInputs = [ scikit-learn ];
|
||||||
checkInputs = [ pytestCheckHook pandas ];
|
checkInputs = [ pytestCheckHook pandas ];
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
export HOME=$TMPDIR
|
export HOME=$TMPDIR
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, scikitlearn
|
, scikit-learn
|
||||||
, numpy
|
, numpy
|
||||||
, scipy
|
, scipy
|
||||||
, jinja2
|
, jinja2
|
||||||
@ -25,7 +25,7 @@ buildPythonPackage rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
scikitlearn
|
scikit-learn
|
||||||
numpy
|
numpy
|
||||||
scipy
|
scipy
|
||||||
jinja2
|
jinja2
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
, joblib
|
, joblib
|
||||||
, matplotlib
|
, matplotlib
|
||||||
, six
|
, six
|
||||||
, scikitlearn
|
, scikit-learn
|
||||||
, decorator
|
, decorator
|
||||||
, audioread
|
, audioread
|
||||||
, resampy
|
, resampy
|
||||||
@ -21,7 +21,7 @@ buildPythonPackage rec {
|
|||||||
sha256 = "af0b9f2ed4bbf6aecbc448a4cd27c16453c397cb6bef0f0cfba0e63afea2b839";
|
sha256 = "af0b9f2ed4bbf6aecbc448a4cd27c16453c397cb6bef0f0cfba0e63afea2b839";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ joblib matplotlib six scikitlearn decorator audioread resampy soundfile pooch ];
|
propagatedBuildInputs = [ joblib matplotlib six scikit-learn decorator audioread resampy soundfile pooch ];
|
||||||
|
|
||||||
# No tests
|
# No tests
|
||||||
# 1. Internet connection is required
|
# 1. Internet connection is required
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
, cmake
|
, cmake
|
||||||
, numpy
|
, numpy
|
||||||
, scipy
|
, scipy
|
||||||
, scikitlearn
|
, scikit-learn
|
||||||
, llvmPackages ? null
|
, llvmPackages ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -39,7 +39,7 @@ buildPythonPackage rec {
|
|||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
numpy
|
numpy
|
||||||
scipy
|
scipy
|
||||||
scikitlearn
|
scikit-learn
|
||||||
];
|
];
|
||||||
|
|
||||||
postConfigure = ''
|
postConfigure = ''
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
, fetchpatch
|
||||||
, scikitlearn
|
, scikit-learn
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pytest-randomly
|
, pytest-randomly
|
||||||
}:
|
}:
|
||||||
@ -28,7 +28,7 @@ buildPythonPackage rec {
|
|||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [ scikitlearn ];
|
propagatedBuildInputs = [ scikit-learn ];
|
||||||
checkInputs = [ pytest-randomly pytestCheckHook ];
|
checkInputs = [ pytest-randomly pytestCheckHook ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, scipy
|
, scipy
|
||||||
, numpy
|
, numpy
|
||||||
, scikitlearn
|
, scikit-learn
|
||||||
, pandas
|
, pandas
|
||||||
, matplotlib
|
, matplotlib
|
||||||
, joblib
|
, joblib
|
||||||
@ -33,7 +33,7 @@ buildPythonPackage rec {
|
|||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
scipy
|
scipy
|
||||||
numpy
|
numpy
|
||||||
scikitlearn
|
scikit-learn
|
||||||
pandas
|
pandas
|
||||||
matplotlib
|
matplotlib
|
||||||
joblib
|
joblib
|
||||||
@ -45,7 +45,7 @@ buildPythonPackage rec {
|
|||||||
license= licenses.bsd3;
|
license= licenses.bsd3;
|
||||||
maintainers = with maintainers; [ evax ];
|
maintainers = with maintainers; [ evax ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
# incompatible with nixpkgs scikitlearn version
|
# incompatible with nixpkgs scikit-learn version
|
||||||
broken = true;
|
broken = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
, matplotlib
|
, matplotlib
|
||||||
, nibabel
|
, nibabel
|
||||||
, pandas
|
, pandas
|
||||||
, scikitlearn
|
, scikit-learn
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -40,7 +40,7 @@ buildPythonPackage rec {
|
|||||||
matplotlib
|
matplotlib
|
||||||
nibabel
|
nibabel
|
||||||
pandas
|
pandas
|
||||||
scikitlearn
|
scikit-learn
|
||||||
];
|
];
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
export HOME=$TMP
|
export HOME=$TMP
|
||||||
|
@ -13,14 +13,14 @@
|
|||||||
, advancedProcessing ? false
|
, advancedProcessing ? false
|
||||||
, opencv3 ? null
|
, opencv3 ? null
|
||||||
, scikitimage ? null
|
, scikitimage ? null
|
||||||
, scikitlearn ? null
|
, scikit-learn ? null
|
||||||
, scipy ? null
|
, scipy ? null
|
||||||
, matplotlib ? null
|
, matplotlib ? null
|
||||||
, youtube-dl ? null
|
, youtube-dl ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert advancedProcessing -> (
|
assert advancedProcessing -> (
|
||||||
opencv3 != null && scikitimage != null && scikitlearn != null
|
opencv3 != null && scikitimage != null && scikit-learn != null
|
||||||
&& scipy != null && matplotlib != null && youtube-dl != null);
|
&& scipy != null && matplotlib != null && youtube-dl != null);
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -40,7 +40,7 @@ buildPythonPackage rec {
|
|||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
numpy decorator imageio imageio-ffmpeg tqdm requests proglog
|
numpy decorator imageio imageio-ffmpeg tqdm requests proglog
|
||||||
] ++ (lib.optionals advancedProcessing [
|
] ++ (lib.optionals advancedProcessing [
|
||||||
opencv3 scikitimage scikitlearn scipy matplotlib youtube-dl
|
opencv3 scikitimage scikit-learn scipy matplotlib youtube-dl
|
||||||
]);
|
]);
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, matplotlib
|
{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, matplotlib
|
||||||
, nibabel, numpy, pandas, scikitlearn, scipy, joblib, requests }:
|
, nibabel, numpy, pandas, scikit-learn, scipy, joblib, requests }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "nilearn";
|
pname = "nilearn";
|
||||||
@ -20,7 +20,7 @@ buildPythonPackage rec {
|
|||||||
numpy
|
numpy
|
||||||
pandas
|
pandas
|
||||||
requests
|
requests
|
||||||
scikitlearn
|
scikit-learn
|
||||||
scipy
|
scipy
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ lib, buildPythonPackage, fetchFromGitHub, geopandas, descartes, matplotlib, networkx, numpy
|
{ lib, buildPythonPackage, fetchFromGitHub, geopandas, descartes, matplotlib, networkx, numpy
|
||||||
, pandas, requests, Rtree, shapely, folium, scikitlearn, scipy}:
|
, pandas, requests, Rtree, shapely, folium, scikit-learn, scipy}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "osmnx";
|
pname = "osmnx";
|
||||||
@ -12,7 +12,7 @@ buildPythonPackage rec {
|
|||||||
sha256 = "1k3y5kl4k93vxaxyanc040x44s2fyyc3m1ndy2j3kg0037z8ad4z";
|
sha256 = "1k3y5kl4k93vxaxyanc040x44s2fyyc3m1ndy2j3kg0037z8ad4z";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ geopandas descartes matplotlib networkx numpy pandas requests Rtree shapely folium scikitlearn scipy ];
|
propagatedBuildInputs = [ geopandas descartes matplotlib networkx numpy pandas requests Rtree shapely folium scikit-learn scipy ];
|
||||||
|
|
||||||
# requires network
|
# requires network
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
, joblib
|
, joblib
|
||||||
, matplotlib
|
, matplotlib
|
||||||
, numpy
|
, numpy
|
||||||
, scikitlearn
|
, scikit-learn
|
||||||
, scipy
|
, scipy
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
@ -26,7 +26,7 @@ buildPythonPackage rec {
|
|||||||
joblib
|
joblib
|
||||||
matplotlib
|
matplotlib
|
||||||
numpy
|
numpy
|
||||||
scikitlearn
|
scikit-learn
|
||||||
scipy
|
scipy
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, isPy27
|
, isPy27
|
||||||
, pandas
|
, pandas
|
||||||
, scikitlearn
|
, scikit-learn
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
pandas
|
pandas
|
||||||
scikitlearn
|
scikit-learn
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
, scipy
|
, scipy
|
||||||
, numpy
|
, numpy
|
||||||
, numba
|
, numba
|
||||||
, scikitlearn
|
, scikit-learn
|
||||||
, pytest
|
, pytest
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
@ -25,7 +25,7 @@ buildPythonPackage rec {
|
|||||||
scipy
|
scipy
|
||||||
numpy
|
numpy
|
||||||
numba
|
numba
|
||||||
scikitlearn
|
scikit-learn
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, nose
|
, nose
|
||||||
, scikitlearn
|
, scikit-learn
|
||||||
, scipy
|
, scipy
|
||||||
, numba
|
, numba
|
||||||
, llvmlite
|
, llvmlite
|
||||||
@ -19,7 +19,7 @@ buildPythonPackage rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
scikitlearn
|
scikit-learn
|
||||||
scipy
|
scipy
|
||||||
numba
|
numba
|
||||||
llvmlite
|
llvmlite
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, isPy27
|
, isPy27
|
||||||
, numpy
|
, numpy
|
||||||
, scikitlearn
|
, scikit-learn
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pytorch
|
, pytorch
|
||||||
, torchvision
|
, torchvision
|
||||||
@ -26,7 +26,7 @@ buildPythonPackage rec {
|
|||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
numpy
|
numpy
|
||||||
pytorch
|
pytorch
|
||||||
scikitlearn
|
scikit-learn
|
||||||
torchvision
|
torchvision
|
||||||
tqdm
|
tqdm
|
||||||
];
|
];
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
, qiskit-ignis
|
, qiskit-ignis
|
||||||
, qiskit-terra
|
, qiskit-terra
|
||||||
, quandl
|
, quandl
|
||||||
, scikitlearn
|
, scikit-learn
|
||||||
, yfinance
|
, yfinance
|
||||||
# Optional inputs
|
# Optional inputs
|
||||||
, withTorch ? false
|
, withTorch ? false
|
||||||
@ -59,7 +59,7 @@ buildPythonPackage rec {
|
|||||||
qiskit-terra
|
qiskit-terra
|
||||||
qiskit-ignis
|
qiskit-ignis
|
||||||
quandl
|
quandl
|
||||||
scikitlearn
|
scikit-learn
|
||||||
yfinance
|
yfinance
|
||||||
] ++ lib.optionals (withTorch) [ pytorch ]
|
] ++ lib.optionals (withTorch) [ pytorch ]
|
||||||
++ lib.optionals (withPyscf) [ pyscf ]
|
++ lib.optionals (withPyscf) [ pyscf ]
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
, python
|
, python
|
||||||
, numpy
|
, numpy
|
||||||
, qiskit-terra
|
, qiskit-terra
|
||||||
, scikitlearn
|
, scikit-learn
|
||||||
, scipy
|
, scipy
|
||||||
# Optional package inputs
|
# Optional package inputs
|
||||||
, withVisualization ? false
|
, withVisualization ? false
|
||||||
@ -44,7 +44,7 @@ buildPythonPackage rec {
|
|||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
numpy
|
numpy
|
||||||
qiskit-terra
|
qiskit-terra
|
||||||
scikitlearn
|
scikit-learn
|
||||||
scipy
|
scipy
|
||||||
] ++ lib.optionals (withCvx) [ cvxpy ]
|
] ++ lib.optionals (withCvx) [ cvxpy ]
|
||||||
++ lib.optionals (withVisualization) [ matplotlib ]
|
++ lib.optionals (withVisualization) [ matplotlib ]
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
, cython
|
, cython
|
||||||
, numpy
|
, numpy
|
||||||
, scipy
|
, scipy
|
||||||
, scikitlearn
|
, scikit-learn
|
||||||
, persim
|
, persim
|
||||||
, pytest
|
, pytest
|
||||||
}:
|
}:
|
||||||
@ -28,7 +28,7 @@ buildPythonPackage rec {
|
|||||||
cython
|
cython
|
||||||
numpy
|
numpy
|
||||||
scipy
|
scipy
|
||||||
scikitlearn
|
scikit-learn
|
||||||
persim
|
persim
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
, pandas
|
, pandas
|
||||||
, scipy
|
, scipy
|
||||||
, hdmedians
|
, hdmedians
|
||||||
, scikitlearn
|
, scikit-learn
|
||||||
, coverage
|
, coverage
|
||||||
, python
|
, python
|
||||||
, isPy3k
|
, isPy3k
|
||||||
@ -30,7 +30,7 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
buildInputs = [ cython ];
|
buildInputs = [ cython ];
|
||||||
checkInputs = [ coverage ];
|
checkInputs = [ coverage ];
|
||||||
propagatedBuildInputs = [ lockfile cachecontrol decorator ipython matplotlib natsort numpy pandas scipy hdmedians scikitlearn ];
|
propagatedBuildInputs = [ lockfile cachecontrol decorator ipython matplotlib natsort numpy pandas scipy hdmedians scikit-learn ];
|
||||||
|
|
||||||
# cython package not included for tests
|
# cython package not included for tests
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
, matplotlib
|
, matplotlib
|
||||||
, numpy
|
, numpy
|
||||||
, scipy
|
, scipy
|
||||||
, scikitlearn
|
, scikit-learn
|
||||||
, pyaml
|
, pyaml
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
@ -26,7 +26,7 @@ buildPythonPackage rec {
|
|||||||
matplotlib
|
matplotlib
|
||||||
numpy
|
numpy
|
||||||
scipy
|
scipy
|
||||||
scikitlearn
|
scikit-learn
|
||||||
pyaml
|
pyaml
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, numpy
|
, numpy
|
||||||
, scipy
|
, scipy
|
||||||
, scikitlearn
|
, scikit-learn
|
||||||
, matplotlib
|
, matplotlib
|
||||||
, numba
|
, numba
|
||||||
, umap-learn
|
, umap-learn
|
||||||
@ -32,7 +32,7 @@ buildPythonPackage rec {
|
|||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
numpy
|
numpy
|
||||||
scipy
|
scipy
|
||||||
scikitlearn
|
scikit-learn
|
||||||
matplotlib
|
matplotlib
|
||||||
numba
|
numba
|
||||||
umap-learn
|
umap-learn
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, numpy
|
, numpy
|
||||||
, scikitlearn
|
, scikit-learn
|
||||||
, perl
|
, perl
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
@ -27,7 +27,7 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
numpy
|
numpy
|
||||||
scikitlearn
|
scikit-learn
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, numpy
|
, numpy
|
||||||
, scipy
|
, scipy
|
||||||
, scikitlearn
|
, scikit-learn
|
||||||
, pandas
|
, pandas
|
||||||
, tqdm
|
, tqdm
|
||||||
, slicer
|
, slicer
|
||||||
@ -30,7 +30,7 @@ buildPythonPackage rec {
|
|||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
numpy
|
numpy
|
||||||
scipy
|
scipy
|
||||||
scikitlearn
|
scikit-learn
|
||||||
pandas
|
pandas
|
||||||
tqdm
|
tqdm
|
||||||
slicer
|
slicer
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ lib, buildPythonPackage, fetchFromGitHub, fetchpatch, numpy, scipy, deap, scikitlearn, python }:
|
{ lib, buildPythonPackage, fetchFromGitHub, fetchpatch, numpy, scipy, deap, scikit-learn, python }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "sklearn-deap";
|
pname = "sklearn-deap";
|
||||||
@ -20,7 +20,7 @@ buildPythonPackage rec {
|
|||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [ numpy scipy deap scikitlearn ];
|
propagatedBuildInputs = [ numpy scipy deap scikit-learn ];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
${python.interpreter} test.py
|
${python.interpreter} test.py
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
, numpy
|
, numpy
|
||||||
, pandas
|
, pandas
|
||||||
, pytorch
|
, pytorch
|
||||||
, scikitlearn
|
, scikit-learn
|
||||||
, scipy
|
, scipy
|
||||||
, tabulate
|
, tabulate
|
||||||
, tqdm
|
, tqdm
|
||||||
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
|||||||
sha256 = "9910f97339e654c8d38e0075d87b735e69e5eb11db59c527fb36705b30c8d0a4";
|
sha256 = "9910f97339e654c8d38e0075d87b735e69e5eb11db59c527fb36705b30c8d0a4";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ numpy pytorch scikitlearn scipy tabulate tqdm ];
|
propagatedBuildInputs = [ numpy pytorch scikit-learn scipy tabulate tqdm ];
|
||||||
checkInputs = [ pytest pytestcov flaky pandas pytestCheckHook ];
|
checkInputs = [ pytest pytestcov flaky pandas pytestCheckHook ];
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
, pyphen
|
, pyphen
|
||||||
, pytest
|
, pytest
|
||||||
, requests
|
, requests
|
||||||
, scikitlearn
|
, scikit-learn
|
||||||
, scipy
|
, scipy
|
||||||
, spacy
|
, spacy
|
||||||
, srsly
|
, srsly
|
||||||
@ -35,7 +35,7 @@ buildPythonPackage rec {
|
|||||||
pyemd
|
pyemd
|
||||||
pyphen
|
pyphen
|
||||||
requests
|
requests
|
||||||
scikitlearn
|
scikit-learn
|
||||||
scipy
|
scipy
|
||||||
spacy
|
spacy
|
||||||
srsly
|
srsly
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, nose
|
, nose
|
||||||
, numpy
|
, numpy
|
||||||
, scikitlearn
|
, scikit-learn
|
||||||
, scipy
|
, scipy
|
||||||
, numba
|
, numba
|
||||||
, pynndescent
|
, pynndescent
|
||||||
@ -24,7 +24,7 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
numpy
|
numpy
|
||||||
scikitlearn
|
scikit-learn
|
||||||
scipy
|
scipy
|
||||||
numba
|
numba
|
||||||
pynndescent
|
pynndescent
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
, pygments
|
, pygments
|
||||||
, numpy
|
, numpy
|
||||||
, scipy
|
, scipy
|
||||||
, scikitlearn }:
|
, scikit-learn }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "vowpalwabbit";
|
pname = "vowpalwabbit";
|
||||||
@ -36,7 +36,7 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
numpy
|
numpy
|
||||||
scikitlearn
|
scikit-learn
|
||||||
scipy
|
scipy
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
, fetchzip
|
, fetchzip
|
||||||
, cython
|
, cython
|
||||||
, numpy
|
, numpy
|
||||||
, scikitlearn
|
, scikit-learn
|
||||||
, six
|
, six
|
||||||
, setuptools_scm
|
, setuptools_scm
|
||||||
, gcc
|
, gcc
|
||||||
@ -30,7 +30,7 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ setuptools_scm gcc ];
|
nativeBuildInputs = [ setuptools_scm gcc ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ cython numpy scikitlearn six ];
|
propagatedBuildInputs = [ cython numpy scikit-learn six ];
|
||||||
|
|
||||||
checkInputs = [ pytest pytestcov ];
|
checkInputs = [ pytest pytestcov ];
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, cmake
|
, cmake
|
||||||
, scipy
|
, scipy
|
||||||
, scikitlearn
|
, scikit-learn
|
||||||
, stdenv
|
, stdenv
|
||||||
, xgboost
|
, xgboost
|
||||||
, substituteAll
|
, substituteAll
|
||||||
@ -22,7 +22,7 @@ buildPythonPackage {
|
|||||||
propagatedBuildInputs = [ scipy ];
|
propagatedBuildInputs = [ scipy ];
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
scikitlearn
|
scikit-learn
|
||||||
pandas
|
pandas
|
||||||
matplotlib
|
matplotlib
|
||||||
graphviz
|
graphviz
|
||||||
|
@ -7350,10 +7350,12 @@ in {
|
|||||||
|
|
||||||
scikitimage = callPackage ../development/python-modules/scikit-image { };
|
scikitimage = callPackage ../development/python-modules/scikit-image { };
|
||||||
|
|
||||||
scikitlearn = callPackage ../development/python-modules/scikitlearn {
|
scikit-learn = callPackage ../development/python-modules/scikit-learn {
|
||||||
inherit (pkgs) gfortran glibcLocales;
|
inherit (pkgs) gfortran glibcLocales;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
scikitlearn = self.scikit-learn;
|
||||||
|
|
||||||
scikit-optimize = callPackage ../development/python-modules/scikit-optimize { };
|
scikit-optimize = callPackage ../development/python-modules/scikit-optimize { };
|
||||||
|
|
||||||
scikits-odes = callPackage ../development/python-modules/scikits-odes { };
|
scikits-odes = callPackage ../development/python-modules/scikits-odes { };
|
||||||
|
@ -524,7 +524,7 @@ with self; with super; {
|
|||||||
|
|
||||||
scandir = callPackage ../development/python-modules/scandir { };
|
scandir = callPackage ../development/python-modules/scandir { };
|
||||||
|
|
||||||
scikitlearn = callPackage ../development/python-modules/scikitlearn/0.20.nix {
|
scikit-learn = callPackage ../development/python-modules/scikit-learn/0.20.nix {
|
||||||
inherit (pkgs) gfortran glibcLocales;
|
inherit (pkgs) gfortran glibcLocales;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user