mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
skorch: init at 0.8.0
This commit is contained in:
parent
f59b843a3b
commit
710a48751a
42
pkgs/development/python-modules/skorch/default.nix
Normal file
42
pkgs/development/python-modules/skorch/default.nix
Normal file
@ -0,0 +1,42 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
, pytest
|
||||
, pytestcov
|
||||
, flaky
|
||||
, numpy
|
||||
, pandas
|
||||
, pytorch
|
||||
, scikitlearn
|
||||
, scipy
|
||||
, tabulate
|
||||
, tqdm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "skorch";
|
||||
version = "0.8.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1l576dws9drjakfsn0pfpbr48b21vpxv3vd3dz8lkbn8q71zs22r";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ numpy pytorch scikitlearn scipy tabulate tqdm ];
|
||||
checkInputs = [ pytest pytestcov flaky pandas pytestCheckHook ];
|
||||
|
||||
# on CPU, these expect artifacts from previous GPU run
|
||||
disabledTests = [
|
||||
"test_load_cuda_params_to_cpu"
|
||||
"test_pickle_load"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Scikit-learn compatible neural net library using Pytorch";
|
||||
homepage = "https://skorch.readthedocs.io";
|
||||
changelog = "https://github.com/skorch-dev/skorch/blob/master/CHANGES.md";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ bcdarwin ];
|
||||
};
|
||||
}
|
@ -1505,6 +1505,8 @@ in {
|
||||
|
||||
sklearn-deap = callPackage ../development/python-modules/sklearn-deap { };
|
||||
|
||||
skorch = callPackage ../development/python-modules/skorch { };
|
||||
|
||||
slackclient = callPackage ../development/python-modules/slackclient { };
|
||||
|
||||
slicedimage = callPackage ../development/python-modules/slicedimage { };
|
||||
|
Loading…
Reference in New Issue
Block a user