mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
pythonPackages.bayesian-optimization: init at 1.0.1
This commit is contained in:
parent
fdcb86de65
commit
60c4596dcb
2 changed files with 39 additions and 0 deletions
|
@ -0,0 +1,37 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, python
|
||||
, scikitlearn
|
||||
, scipy
|
||||
, pytest
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bayesian-optimization";
|
||||
version = "1.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fmfn";
|
||||
repo = "BayesianOptimization";
|
||||
rev = "v${version}";
|
||||
sha256 = "07sqymg6k5512k7wq4kbp7rsrkb4g90n0ck1f0b9s6glyfpcy4pq";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
scikitlearn
|
||||
scipy
|
||||
];
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
checkPhase = ''
|
||||
pytest tests
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Python implementation of global optimization with gaussian processes";
|
||||
homepage = "https://github.com/fmfn/BayesianOptimization";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.juliendehos ];
|
||||
};
|
||||
}
|
|
@ -484,6 +484,8 @@ in {
|
|||
|
||||
bashlex = callPackage ../development/python-modules/bashlex { };
|
||||
|
||||
bayesian-optimization = callPackage ../development/python-modules/bayesian-optimization { };
|
||||
|
||||
bayespy = callPackage ../development/python-modules/bayespy { };
|
||||
|
||||
beanstalkc = callPackage ../development/python-modules/beanstalkc { };
|
||||
|
|
Loading…
Reference in a new issue