python3Packages.skl2onnx: init at 1.13

This commit is contained in:
Frederik Rietdijk
2022-09-27 16:05:13 +02:00
committed by Jonathan Ringer
parent ee8ed3ea11
commit 9bcd37245f
2 changed files with 47 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
{ lib
, buildPythonPackage
, fetchPypi
, numpy
, scipy
, protobuf
, onnx
, scikit-learn
, onnxconverter-common
, onnxruntime
, pandas
}:
buildPythonPackage rec {
pname = "skl2onnx";
version = "1.13";
src = fetchPypi {
inherit pname version;
hash = "sha256-XzUva5uFX/rGMFpwfwLH1Db0Nok47pBJCSqVo1ZcJz0=";
};
propagatedBuildInputs = [
numpy
scipy
protobuf
onnx
scikit-learn
onnxconverter-common
];
checkInputs = [
onnxruntime
pandas
];
# Core dump
doCheck = false;
meta = {
description = "Convert scikit-learn models to ONNX";
maintainers = with lib.maintainers; [ fridh ];
license = with lib.licenses; [ asl20 ];
};
}

View File

@@ -9597,6 +9597,8 @@ in {
skidl = callPackage ../development/python-modules/skidl { };
skl2onnx = callPackage ../development/python-modules/skl2onnx { };
sklearn-deap = callPackage ../development/python-modules/sklearn-deap { };
skodaconnect = callPackage ../development/python-modules/skodaconnect { };