Exact Soft Confidence-Weighted Learning
The algorithm
This is an online supervised learning algorithm which utilizes all the four salient properties:
Large margin training
Confidence weighting
Capability to handle non-separable data
Adaptive margin
The paper is here.
SCW has 2 formulations of its algorithm which are SCW-I and SCW-II. They can be accessed like below.
scw.SCW1(C, ETA) scw.SCW2(C, ETA)
C and ETA are hyperparameters.
Usage
from scw import SCW1, SCW2 scw = SCW1(C=1.0, ETA=1.0) scw.fit(X, y) y_pred = scw.perdict(X)
Note
This package performs only binary classification, not multiclass classification.
Training labels must be 1 or -1. No other labels allowed.
Metadata
Release files for scw 1.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| scw-1.1.2.tar.gz | 2.4 kB | Without provenance | Details for scw-1.1.2.tar.gz |
Release files / scw-1.1.2.tar.gz
| Download URL | scw-1.1.2.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9c7f9ad5fc5aa4e445b64a02d23b694758e6b51d61afefaaf7e9233c6515c415
|
|
BLAKE2b-256 checksum How to use checksums |
c0cda8be5ec0460a0b6c1f5260828615e9f8abe988967fc44d2f2feb89cf5933
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for scw 1.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.