Uncorrelated Linear Discriminant Analysis
Project description
ulda
Uncorrelated Linear Discriminant Analysis (ULDA), modified based on Ye, J., & Yu, B. (2005).
Features
- Provide a more robust LDA module compared to one in
sklearn, especially when handling perfect separation in high-dimensional data. - Faster performance.
Installation
pip install ulda
Example
import numpy as np
from ulda import ULDA
X = np.array([[0, 0], [0,1], [1, 1], [1, 2], [2, 2], [2, 3]])
y = np.array(['A', 'A', 'B', 'B', 'C', 'C'])
lda = ULDA()
lda.fit(X, y)
print(lda.predict([[1, 3]]))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ulda-0.1.1.tar.gz
(5.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
ulda-0.1.1-py3-none-any.whl
(5.3 kB
view details)
File details
Details for the file ulda-0.1.1.tar.gz.
File metadata
- Download URL: ulda-0.1.1.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.1 Darwin/22.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df863a2f07a6f673cd9a12c304685634396fd4ecc5609ac0140d369dda08b50d
|
|
| MD5 |
61031c4708d26fd6e52467151d27a34d
|
|
| BLAKE2b-256 |
4edaab03f042f4a5566af7b8ff6316cd80e7128b1a5d28c0abe9165cf06f7729
|
File details
Details for the file ulda-0.1.1-py3-none-any.whl.
File metadata
- Download URL: ulda-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.1 Darwin/22.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c5a9ff110e24bd354b9ba60038b74309b64cba9d5792ce89699f2037897035a1
|
|
| MD5 |
ec98bff129c793841eef28b4ded21a05
|
|
| BLAKE2b-256 |
34202ffd93fe1c52247e802c3f24df8ad6a110eb28bfe06c70b9a1f32d42aa2a
|