pythonPackages.pygbm: init at 0.1.0
This commit is contained in:
parent
1765a678fb
commit
ceaf12fd6e
|
@ -0,0 +1,46 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, scipy
|
||||||
|
, numpy
|
||||||
|
, numba
|
||||||
|
, scikitlearn
|
||||||
|
, pytest
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pygbm";
|
||||||
|
version = "0.1.0";
|
||||||
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "ogrisel";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1qg2md86d0z5aa6jn8kj3rxsippsqsccx1dbraspdsdkycncvww3";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
scipy
|
||||||
|
numpy
|
||||||
|
numba
|
||||||
|
scikitlearn
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytest
|
||||||
|
];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
# numerical rounding error in test
|
||||||
|
pytest -k "not test_derivatives"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Experimental Gradient Boosting Machines in Python";
|
||||||
|
homepage = https://github.com/ogrisel/pygbm;
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = [ maintainers.costrouc ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -856,6 +856,8 @@ in {
|
||||||
|
|
||||||
pygame = callPackage ../development/python-modules/pygame { };
|
pygame = callPackage ../development/python-modules/pygame { };
|
||||||
|
|
||||||
|
pygbm = callPackage ../development/python-modules/pygbm { };
|
||||||
|
|
||||||
pygame_sdl2 = callPackage ../development/python-modules/pygame_sdl2 { };
|
pygame_sdl2 = callPackage ../development/python-modules/pygame_sdl2 { };
|
||||||
|
|
||||||
pygdbmi = callPackage ../development/python-modules/pygdbmi { };
|
pygdbmi = callPackage ../development/python-modules/pygdbmi { };
|
||||||
|
|
Loading…
Reference in New Issue