summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/mindsdb-evaluator/default.nix
blob: a90cf30825e5995b7914d45ea2872c2a6001340f (plain)
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
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  poetry-core,
  dataprep-ml,
  numpy,
  pandas,
  scikit-learn,
  type-infer,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "mindsdb-evaluator";
  version = "0.0.20";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "mindsdb";
    repo = "mindsdb_evaluator";
    tag = "v${version}";
    hash = "sha256-ZeJABMbyRdGrZGkWWXcjleOeDQBSicGR06hZAPUKvgI=";
  };

  build-system = [ poetry-core ];

  pythonRelaxDeps = [
    "dataprep-ml"
    "numpy"
    "scikit-learn"
  ];

  dependencies = [
    dataprep-ml
    numpy
    pandas
    scikit-learn
    type-infer
  ];

  pythonImportsCheck = [ "mindsdb_evaluator" ];

  nativeCheckInputs = [
    pytestCheckHook
  ];

  meta = {
    changelog = "https://github.com/mindsdb/mindsdb_evaluator/releases/tag/${src.tag}";
    description = "Model evaluation for Machine Learning pipelines";
    homepage = "https://github.com/mindsdb/mindsdb_evaluator";
    license = lib.licenses.gpl3Only;
    maintainers = [ ];
  };
}