mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
parent
e0952cc595
commit
ffc63504f0
@ -26,6 +26,11 @@ buildPythonPackage rec {
|
||||
hash = "sha256-dpYOTwVf61Pom1AiODuvyHtj8lusYmWYSwozPRpX94E=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace lime/tests/test_scikit_image.py \
|
||||
--replace-fail "random_seed" "rng"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
matplotlib
|
||||
numpy
|
||||
@ -50,11 +55,11 @@ buildPythonPackage rec {
|
||||
"lime.lime_text"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Local Interpretable Model-Agnostic Explanations for machine learning classifiers";
|
||||
homepage = "https://github.com/marcotcr/lime";
|
||||
changelog = "https://github.com/marcotcr/lime/releases/tag/${version}";
|
||||
license = licenses.bsd2;
|
||||
license = lib.licenses.bsd2;
|
||||
maintainers = with lib.maintainers; [ khaser ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user