Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
99 lines (90 loc) · 2.19 KB
/
Copy pathpyproject.toml
File metadata and controls
99 lines (90 loc) · 2.19 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
[build-system]
requires = ["setuptools>=77", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "class-imbalance"
version = "0.2.0"
description = "Explicit utilities and credit-risk guidance for imbalanced binary classification."
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.10"
license = "MIT"
license-files = ["LICENSE"]
authors = [
{ name = "Ma Xiao" }
]
keywords = [
"class imbalance",
"credit risk",
"probability of default",
"cost-sensitive learning",
"fraud detection",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Financial and Insurance Industry",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"numpy>=1.23",
]
[project.optional-dependencies]
sklearn = [
"scikit-learn>=1.4",
]
sampling = [
"imbalanced-learn>=0.12",
"scikit-learn>=1.4",
]
boosting = [
"lightgbm>=4.0",
"xgboost>=2.0",
]
dev = [
"build>=1.2",
"imbalanced-learn>=0.12",
"pytest>=8",
"pytest-cov>=5",
"ruff>=0.6",
"scikit-learn>=1.4",
]
[project.urls]
Homepage = "https://github.com/albertsr/Class-Imbalance"
Repository = "https://github.com/albertsr/Class-Imbalance"
Documentation = "https://github.com/albertsr/Class-Imbalance#readme"
Issues = "https://github.com/albertsr/Class-Imbalance/issues"
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = [
"-ra",
"--strict-config",
"--strict-markers",
"--cov=class_imbalance",
"--cov-branch",
"--cov-report=term-missing",
"--cov-fail-under=90",
]
[tool.coverage.run]
branch = true
source = ["class_imbalance"]
[tool.coverage.report]
show_missing = true
skip_covered = true
exclude_also = [
"if TYPE_CHECKING:",
"pragma: no cover",
]
[tool.ruff]
line-length = 100
target-version = "py310"
extend-exclude = ["legacy"]
[tool.ruff.lint]
select = ["B", "E", "F", "I", "UP"]