linearboost 0.1.7__tar.gz → 0.1.9__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {linearboost-0.1.7 → linearboost-0.1.9}/PKG-INFO +3 -5
- linearboost-0.1.9/licenses/BSD-3-Clause.txt +29 -0
- {linearboost-0.1.7 → linearboost-0.1.9}/pyproject.toml +2 -3
- {linearboost-0.1.7 → linearboost-0.1.9}/requirements.txt +1 -0
- linearboost-0.1.9/src/linearboost/__init__.py +9 -0
- {linearboost-0.1.7 → linearboost-0.1.9}/src/linearboost/linear_boost.py +2 -0
- linearboost-0.1.9/uv.lock +486 -0
- linearboost-0.1.7/.github/social-preview.png +0 -0
- linearboost-0.1.7/.github/workflows/ci.yml +0 -39
- linearboost-0.1.7/.gitignore +0 -141
- linearboost-0.1.7/.pre-commit-config.yaml +0 -25
- linearboost-0.1.7/LICENSE +0 -21
- linearboost-0.1.7/notebooks/demo_linearboost_usage.ipynb +0 -530
- linearboost-0.1.7/src/linearboost/__init__.py +0 -6
- linearboost-0.1.7/tests/__init__.py +0 -0
- linearboost-0.1.7/tests/_utils.py +0 -19
- linearboost-0.1.7/tests/test_linearboost.py +0 -860
- linearboost-0.1.7/tests/test_sefr.py +0 -535
- linearboost-0.1.7/uv.lock +0 -920
- /linearboost-0.1.7/src/linearboost/licenses/BSD-3-Clause.txt → /linearboost-0.1.9/LICENSE.txt +0 -0
- {linearboost-0.1.7 → linearboost-0.1.9}/README.md +0 -0
- {linearboost-0.1.7 → linearboost-0.1.9}/SECURITY.md +0 -0
- {linearboost-0.1.7 → linearboost-0.1.9}/src/linearboost/_utils.py +0 -0
- {linearboost-0.1.7 → linearboost-0.1.9}/src/linearboost/sefr.py +0 -0
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: linearboost
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.9
|
|
4
4
|
Summary: LinearBoost Classifier is a rapid and accurate classification algorithm that builds upon a very fast, linear classifier.
|
|
5
5
|
Project-URL: Homepage, https://github.com/LinearBoost/linearboost-classifier
|
|
6
6
|
Project-URL: Documentation, https://linearboost.readthedocs.io
|
|
7
7
|
Project-URL: Repository, https://github.com/LinearBoost/linearboost-classifier
|
|
8
8
|
Project-URL: Issues, https://github.com/LinearBoost/linearboost-classifier/issues
|
|
9
9
|
Author-email: Hamidreza Keshavarz <hamid9@outlook.com>, Reza Rawassizadeh <rezar@bu.edu>
|
|
10
|
-
License-File: LICENSE
|
|
10
|
+
License-File: LICENSE.txt
|
|
11
11
|
Keywords: adaboost,boost,boosting,classification,classifier,linear
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
13
|
Classifier: Intended Audience :: Science/Research
|
|
14
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
15
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
16
14
|
Classifier: Programming Language :: Python :: 3.10
|
|
17
15
|
Classifier: Programming Language :: Python :: 3.11
|
|
18
16
|
Classifier: Programming Language :: Python :: 3.12
|
|
@@ -21,7 +19,7 @@ Classifier: Topic :: Scientific/Engineering
|
|
|
21
19
|
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
22
20
|
Classifier: Topic :: Scientific/Engineering :: Information Analysis
|
|
23
21
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
24
|
-
Requires-Python: <3.14,>=3.
|
|
22
|
+
Requires-Python: <3.14,>=3.10
|
|
25
23
|
Requires-Dist: scikit-learn>=1.2.2
|
|
26
24
|
Requires-Dist: typing-extensions>=4.1.0; python_full_version < '3.11'
|
|
27
25
|
Description-Content-Type: text/markdown
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
BSD 3-Clause License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2007-2024 The scikit-learn developers.
|
|
4
|
+
All rights reserved.
|
|
5
|
+
|
|
6
|
+
Redistribution and use in source and binary forms, with or without
|
|
7
|
+
modification, are permitted provided that the following conditions are met:
|
|
8
|
+
|
|
9
|
+
* Redistributions of source code must retain the above copyright notice, this
|
|
10
|
+
list of conditions and the following disclaimer.
|
|
11
|
+
|
|
12
|
+
* Redistributions in binary form must reproduce the above copyright notice,
|
|
13
|
+
this list of conditions and the following disclaimer in the documentation
|
|
14
|
+
and/or other materials provided with the distribution.
|
|
15
|
+
|
|
16
|
+
* Neither the name of the copyright holder nor the names of its
|
|
17
|
+
contributors may be used to endorse or promote products derived from
|
|
18
|
+
this software without specific prior written permission.
|
|
19
|
+
|
|
20
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
21
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
22
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
23
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
24
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
25
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
26
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
27
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
28
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
29
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
@@ -21,14 +21,12 @@ classifiers = [
|
|
|
21
21
|
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
|
22
22
|
"Topic :: Scientific/Engineering :: Information Analysis",
|
|
23
23
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
24
|
-
"Programming Language :: Python :: 3.8",
|
|
25
|
-
"Programming Language :: Python :: 3.9",
|
|
26
24
|
"Programming Language :: Python :: 3.10",
|
|
27
25
|
"Programming Language :: Python :: 3.11",
|
|
28
26
|
"Programming Language :: Python :: 3.12",
|
|
29
27
|
"Programming Language :: Python :: 3.13",
|
|
30
28
|
]
|
|
31
|
-
requires-python = ">=3.
|
|
29
|
+
requires-python = ">=3.10,<3.14"
|
|
32
30
|
dependencies = [
|
|
33
31
|
"scikit-learn>=1.2.2",
|
|
34
32
|
"typing-extensions>=4.1.0; python_full_version < '3.11'"
|
|
@@ -40,6 +38,7 @@ dev = [
|
|
|
40
38
|
"pre-commit>=3.5.0",
|
|
41
39
|
"pytest>=7.0.0",
|
|
42
40
|
"ruff>=0.9.2",
|
|
41
|
+
"filelock>=3.20.1", # <-- ADD THIS LINE
|
|
43
42
|
]
|
|
44
43
|
|
|
45
44
|
[project.urls]
|
|
@@ -863,6 +863,7 @@ class LinearBoostClassifier(_DenseAdaBoostClassifier):
|
|
|
863
863
|
# Store validation data (original features for kernel computation)
|
|
864
864
|
validation_data = (X_val_transformed, y_val, sample_weight_val)
|
|
865
865
|
y = y_train
|
|
866
|
+
assert y is not None
|
|
866
867
|
else:
|
|
867
868
|
# For linear or approximate kernels, split after transformation
|
|
868
869
|
n_samples = training_data.shape[0]
|
|
@@ -891,6 +892,7 @@ class LinearBoostClassifier(_DenseAdaBoostClassifier):
|
|
|
891
892
|
# Store validation data for checking
|
|
892
893
|
validation_data = (training_data_val, y_val, sample_weight_val)
|
|
893
894
|
y = y_train
|
|
895
|
+
assert y is not None
|
|
894
896
|
else:
|
|
895
897
|
y_train = y
|
|
896
898
|
|