5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
35 lines
670 B
Nix
35 lines
670 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, numpy
|
|
, scipy
|
|
, scikit-learn
|
|
, matplotlib
|
|
, unittestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "baycomp";
|
|
version = "1.0.3";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-MrJa17FtWyUd259hEKMtezlTuYcJbaHSXvJ3k10l2uw=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
numpy
|
|
scipy
|
|
matplotlib
|
|
];
|
|
|
|
nativeCheckInputs = [ unittestCheckHook ];
|
|
pythonImportsCheck = [ "baycomp" ];
|
|
|
|
meta = {
|
|
description = "A library for Bayesian comparison of classifiers";
|
|
homepage = "https://github.com/janezd/baycomp";
|
|
license = [ lib.licenses.mit ];
|
|
maintainers = [ lib.maintainers.lucasew ];
|
|
};
|
|
}
|