b5f92a349c
GitOrigin-RevId: 7c9cc5a6e5d38010801741ac830a3f8fd667a7a0
47 lines
921 B
Nix
47 lines
921 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
, poetry-core
|
|
, dataprep-ml
|
|
, numpy
|
|
, pandas
|
|
, scikit-learn
|
|
, type-infer
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mindsdb-evaluator";
|
|
version = "0.0.11";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
# using PyPI as git repository does not have release tags or branches
|
|
src = fetchPypi {
|
|
pname = "mindsdb_evaluator";
|
|
inherit version;
|
|
hash = "sha256-pEfY+ocLEE8qcDjf6AzJxtXo1cqD2LhcBmlLjN0llTA=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
poetry-core
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
dataprep-ml
|
|
numpy
|
|
pandas
|
|
scikit-learn
|
|
type-infer
|
|
];
|
|
|
|
pythonImportsCheck = [ "mindsdb_evaluator" ];
|
|
|
|
meta = with lib; {
|
|
description = "Model evaluation for Machine Learning pipelines";
|
|
homepage = "https://pypi.org/project/mindsdb-evaluator/";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ mbalatsko ];
|
|
};
|
|
}
|