mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
python3Packages.skl2onnx: init at 1.13
This commit is contained in:
committed by
Jonathan Ringer
parent
ee8ed3ea11
commit
9bcd37245f
45
pkgs/development/python-modules/skl2onnx/default.nix
Normal file
45
pkgs/development/python-modules/skl2onnx/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user