2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
pythonOlder,
|
|
|
|
poetry-core,
|
|
|
|
dataprep-ml,
|
|
|
|
numpy,
|
|
|
|
pandas,
|
|
|
|
scikit-learn,
|
|
|
|
type-infer,
|
2023-10-09 19:29:22 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "mindsdb-evaluator";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "0.0.13";
|
2023-10-09 19:29:22 +00:00
|
|
|
pyproject = true;
|
|
|
|
|
2023-10-19 13:55:26 +00:00
|
|
|
disabled = pythonOlder "3.8";
|
2023-10-09 19:29:22 +00:00
|
|
|
|
|
|
|
# using PyPI as git repository does not have release tags or branches
|
|
|
|
src = fetchPypi {
|
|
|
|
pname = "mindsdb_evaluator";
|
|
|
|
inherit version;
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-SW3GYe9ykbs6ZViScdAgwiBAP9ix4v1VbSm/kJK2jDA=";
|
2023-10-09 19:29:22 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeBuildInputs = [ poetry-core ];
|
2023-10-09 19:29:22 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|