1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
{
stdenv,
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
scikit-learn,
numpy,
scipy,
colorama,
jupyter,
matplotlib,
nbconvert,
nbformat,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "bayesian-optimization";
version = "1.5.1";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "bayesian-optimization";
repo = "BayesianOptimization";
rev = "refs/tags/v${version}";
hash = "sha256-pDgvdQhlJ5aMRGdi2qXRXVCdJRvrOP/Nr0SSZyHH1WM=";
};
build-system = [ poetry-core ];
propagatedBuildInputs = [
scikit-learn
numpy
scipy
colorama
];
nativeCheckInputs = [
jupyter
matplotlib
nbconvert
nbformat
pytestCheckHook
];
pythonImportsCheck = [ "bayes_opt" ];
meta = with lib; {
broken = stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64;
description = ''
A Python implementation of global optimization with gaussian processes
'';
homepage = "https://github.com/bayesian-optimization/BayesianOptimization";
changelog = "https://github.com/bayesian-optimization/BayesianOptimization/releases/tag/v${version}";
license = licenses.mit;
maintainers = [ maintainers.juliendehos ];
};
}
|